]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add cool hise show to .emacs
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 23 Apr 2009 04:04:36 +0000 (04:04 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 23 Apr 2009 04:04:36 +0000 (04:04 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13128 d0543943-73ff-0310-b7d9-9358b9ac24b2

support-d/.emacs

index d29041b8f9d52d82257921ee01353c3fa453b367..0a4120bba97d0ac7ea7e1473855b94338e9be8ab 100644 (file)
 
 
 
+(add-hook 'c-mode-common-hook
+  (lambda()
+    (local-set-key (kbd "C-c <right>") 'hs-show-block)
+    (local-set-key (kbd "C-c <left>")  'hs-hide-block)
+    (local-set-key (kbd "C-c <up>")    'hs-hide-all)
+    (local-set-key (kbd "C-c <down>")  '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