From 5770dbebbd4c603ba5903b30a35cafdf03aa1b73 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 23 Apr 2009 04:04:36 +0000 Subject: [PATCH] add cool hise show to .emacs git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13128 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- support-d/.emacs | 9 +++++++++ 1 file changed, 9 insertions(+) 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