diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-06-13 21:46:02 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-06-13 21:46:02 -0400 |
commit | b5912e0ac5f2b041c4f798f1596c846146927566 (patch) | |
tree | 4ae7396d22a27d528a75ae78b5ef51d0a7b050db | |
parent | 662ae39a01f46a2d8c32741811f635bc5da279e2 (diff) | |
download | emacs.d-b5912e0ac5f2b041c4f798f1596c846146927566.tar.gz |
Install narrow-indirect
Needed to install 'subr+ to avoid void variable
`filter-buffer-subtring-function'.
-rw-r--r-- | lisp/init-editing.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/init-editing.el b/lisp/init-editing.el index 4f2cf80..fad7a07 100644 --- a/lisp/init-editing.el +++ b/lisp/init-editing.el @@ -1,6 +1,8 @@ (require-package 'multiple-cursors) (require-package 'expand-region) (require-package 'wrap-region) +(require-package 'subr+) +(require-package 'narrow-indirect) (global-set-key (kbd "C-x \\") 'align-regexp) @@ -23,6 +25,10 @@ try-complete-lisp-symbol-partially try-complete-lisp-symbol)) +(define-key ctl-x-4-map "nd" 'ni-narrow-to-defun-other-window) +(define-key ctl-x-4-map "nn" 'ni-narrow-to-region-other-window) +(define-key ctl-x-4-map "np" 'ni-narrow-to-page-indirect-other-window) + ;; http://www.emacswiki.org/emacs/UnfillParagraph (defun unfill-paragraph () "Takes a multi-line paragraph and makes it into a single line of text." |