From bed990a747b0cc6d9d91ca08afc84473642f8cb3 Mon Sep 17 00:00:00 2001 From: Susanne Oberhauser Date: Wed, 24 Feb 2016 15:13:41 +1100 Subject: Add hideshow bindings analogous to outline mode * lisp/progmodes/hideshow.el (hs-minor-mode-map): Add bindings analogous to outline mode bindings (bug#15324). Copyright-paperwork-exempt: yes --- lisp/progmodes/hideshow.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lisp') diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el index e5460009a56..cabdf45458a 100644 --- a/lisp/progmodes/hideshow.el +++ b/lisp/progmodes/hideshow.el @@ -351,6 +351,10 @@ Use the command `hs-minor-mode' to toggle or set this variable.") (define-key map "\C-c@\C-\M-s" 'hs-show-all) (define-key map "\C-c@\C-l" 'hs-hide-level) (define-key map "\C-c@\C-c" 'hs-toggle-hiding) + (define-key map "\C-c@\C-a" 'hs-show-all) + (define-key map "\C-c@\C-t" 'hs-hide-all) + (define-key map "\C-c@\C-d" 'hs-hide-block) + (define-key map "\C-c@\C-e" 'hs-toggle-hiding) (define-key map [(shift mouse-2)] 'hs-mouse-toggle-hiding) map) "Keymap for hideshow minor mode.") -- cgit v1.2.1