legacy-dotfiles/emacs.d/20-folding.el
2011-04-13 16:56:46 +02:00

26 lines
438 B
EmacsLisp

;;{{{ Load
(autoload 'folding-mode "folding" "Folding mode" t)
;;}}}
;;{{{ Settings
;;{{{ Startup
(add-hook 'folding-mode-hook
(lambda ()
(local-set-key [C-Tab] 'folding-toggle-show-hide)))
;;}}}
;;}}}
;;{{{ Hooks
;;{{{ C
(add-hook 'c-mode-hook
(lambda ()
(folding-mode)))
;;}}}
;;{{{ Emacs Lisp
(add-hook 'emacs-lisp-mode-hook
(lambda ()
(folding-mode)))
;;}}}
;;}}}