Permalink
Browse files

Add fold-this.el

  • Loading branch information...
1 parent 2bc1f39 commit c231ffacca26464949370b03f6a97ac2cd356aad @magnars committed Dec 20, 2012
Showing with 11 additions and 0 deletions.
  1. +3 −0 .gitmodules
  2. +2 −0 .mc-lists.el
  3. +5 −0 key-bindings.el
  4. +1 −0 site-lisp/fold-this
View
@@ -109,3 +109,6 @@
[submodule "site-lisp/tagedit"]
path = site-lisp/tagedit
url = https://github.com/magnars/tagedit.git
+[submodule "site-lisp/fold-this"]
+ path = site-lisp/fold-this
+ url = https://github.com/magnars/fold-this.el.git
View
@@ -19,6 +19,7 @@
dired-back-to-start-of-files
duplicate-current-line-or-region
eval-and-replace
+ fold-this
forward-paragraph
html-wrap-in-tag
js2-beginning-of-line
@@ -53,5 +54,6 @@
'(
js2r-extract-var
js2r-rename-var
+ smex
wgrep-change-to-wgrep-mode
))
View
@@ -215,6 +215,11 @@
(global-set-key (kbd "<C-S-down>") 'move-line-down)
(global-set-key (kbd "<C-S-up>") 'move-line-up)
+;; Fold the active region
+(global-set-key (kbd "C-c C-f") 'fold-this-all)
+(global-set-key (kbd "C-c C-F") 'fold-this)
+(global-set-key (kbd "C-c M-f") 'fold-this-unfold-all)
+
;; Yank and indent
(global-set-key (kbd "C-S-y") 'yank-unindented)
Submodule fold-this added at 0973a2

0 comments on commit c231ffa

Please sign in to comment.