diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-04-05 16:25:25 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-04-05 16:27:04 -0400 |
commit | e158f7f14b061eb731ea44ddac1f09f1008380de (patch) | |
tree | 66fb55b7b877d239c507c6117f11cbd58c447196 | |
parent | 8fda96da3cb2c4f34fcf4baf318fd2e151646ce1 (diff) | |
download | emacs.d-e158f7f14b061eb731ea44ddac1f09f1008380de.tar.gz |
Install iedit
-rw-r--r-- | Cask | 1 | ||||
-rw-r--r-- | lisp/init-editing.el | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -30,6 +30,7 @@ (depends-on "ido-at-point") (depends-on "ido-ubiquitous") (depends-on "ido-vertical-mode") +(depends-on "iedit") (depends-on "jedi") (depends-on "key-chord") (depends-on "less-css-mode") diff --git a/lisp/init-editing.el b/lisp/init-editing.el index ca7573b..5b943a2 100644 --- a/lisp/init-editing.el +++ b/lisp/init-editing.el @@ -14,6 +14,9 @@ (setq flyspell-auto-correct-binding (kbd "C-c e ;")) +;; This is bound separately in `km/editing-map'. +(setq iedit-toggle-key-default nil) + ;; http://www.emacswiki.org/emacs/UnfillParagraph (defun km/unfill-paragraph () "Convert a multi-line paragraph to a single line of text." @@ -173,8 +176,9 @@ touches." (define-prefix-command 'km/editing-map) (global-set-key (kbd "C-c e") 'km/editing-map) +(define-key km/editing-map (kbd "C-i") 'indent-relative) (define-key km/editing-map "f" 'km/fill-surrounding-indented) -(define-key km/editing-map "i" 'indent-relative) +(define-key km/editing-map "i" 'iedit-mode) (electric-indent-mode -1) (whole-line-or-region-mode) |