[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to expertly fold perl or other scripting code.
From: |
Wang Lei |
Subject: |
Re: How to expertly fold perl or other scripting code. |
Date: |
Mon, 21 Sep 2009 06:31:17 +0800 |
On 9/21/09, Harry Putnam <reader@newsguy.com> wrote:
> [...]
>
> Changing: C-c @ c-s to C-c s (hs-show-block)
> C-c @ c-h to C-c h (hs-hide-block)
>
> Seems not to collide with anything when in cperl-mode at least.
> Buy maybe it will be a problem somewhere else.
>
I use these key too.
(define-key hs-minor-mode-map [?\C-c ?h] 'hs-hide-block)
(define-key hs-minor-mode-map [?\C-c ?s] 'hs-show-block)
(define-key hs-minor-mode-map [?\C-c ?\C-\M-h] 'hs-hide-all)
(define-key hs-minor-mode-map [?\C-c ?\C-\M-s] 'hs-show-all)
--
Regards,
Lei