|
From: | drain |
Subject: | Re: Is any extension in Emacs can shrink and expand a block of code |
Date: | Fri, 10 Aug 2012 09:48:23 -0700 (PDT) |
Add this to your .emacs: ;; collapsible code (global-set-key "\C-x\M-h" 'hs-minor-mode) (global-set-key "\C-c\C-h" 'hs-toggle-hiding) (global-set-key "\C-c\M-h" 'hs-hide-all) (global-set-key "\C-c\M-s" 'hs-show-all) I suggest adjusting the particular bindings to your taste and style. -- View this message in context: http://emacs.1067599.n5.nabble.com/Is-any-extension-in-Emacs-can-shrink-and-expand-a-block-of-code-tp261127p261142.html Sent from the Emacs - Help mailing list archive at Nabble.com.
[Prev in Thread] | Current Thread | [Next in Thread] |