From e158f7f14b061eb731ea44ddac1f09f1008380de Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 5 Apr 2015 16:25:25 -0400 Subject: Install iedit --- Cask | 1 + lisp/init-editing.el | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Cask b/Cask index 02ad5f7..2ff6279 100644 --- a/Cask +++ b/Cask @@ -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) -- cgit v1.2.3