|
From: | Andreas Röhler |
Subject: | Re: Arbitrary folding in emacs |
Date: | Mon, 31 Mar 2014 10:02:27 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Am 28.03.2014 10:06, schrieb C K Kashyap:
I am trying to go-over a huge c++ file. In vim, I can collapse a huge set of lines by simply highlighting it an then doing a zf. I was wondering if I can do something similar in emacs - rather how I can do it in emacs. I tried hs-minor-mode but it appears to have pre-defined notions of "foldable" blocks. Regards, Kashyap
If hs-minor-mode is on, you could use ar-hide-region-atpt, which is provided here: https://launchpad.net/s-x-emacs-werkstatt Load thingatpt-utils-base.el thing-at-point-utils.el
[Prev in Thread] | Current Thread | [Next in Thread] |