From: Anthony Minessale Date: Thu, 23 Apr 2009 04:04:36 +0000 (+0000) Subject: add cool hise show to .emacs X-Git-Tag: v1.0.4~1069 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5770dbebbd4c603ba5903b30a35cafdf03aa1b73;p=thirdparty%2Ffreeswitch.git add cool hise show to .emacs git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13128 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/support-d/.emacs b/support-d/.emacs index d29041b8f9..0a4120bba9 100644 --- a/support-d/.emacs +++ b/support-d/.emacs @@ -27,6 +27,15 @@ +(add-hook 'c-mode-common-hook + (lambda() + (local-set-key (kbd "C-c ") 'hs-show-block) + (local-set-key (kbd "C-c ") 'hs-hide-block) + (local-set-key (kbd "C-c ") 'hs-hide-all) + (local-set-key (kbd "C-c ") 'hs-show-all) + (hs-minor-mode t))) + + ;; replace C-s with C-\ in a much more general way so that C-\ can be typed ;; for every instance of C-s. It is at such a low level that emacs even thinks ;; that you typed a C-s. replace C-s with C-\ , globally