summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-08-17 23:39:35 -0400
committerKyle Meyer <kyle@kyleam.com>2015-08-17 23:39:35 -0400
commitf885d280a254181f79e0a1453e13d234b2731d43 (patch)
tree746f8e895b4238da1677a9771a87020a04bd74f8
parent1f66bf201dded51f6a0d598a8e3df67887ebe523 (diff)
downloademacs.d-f885d280a254181f79e0a1453e13d234b2731d43.tar.gz
Install easy-kill
-rw-r--r--Cask1
-rw-r--r--lisp/init-editing.el2
2 files changed, 3 insertions, 0 deletions
diff --git a/Cask b/Cask
index c7354e4..e318c4a 100644
--- a/Cask
+++ b/Cask
@@ -12,6 +12,7 @@
(depends-on "diminish")
(depends-on "dired-narrow")
(depends-on "dired-subtree")
+(depends-on "easy-kill")
(depends-on "ess")
(depends-on "expand-region")
(depends-on "flx")
diff --git a/lisp/init-editing.el b/lisp/init-editing.el
index dcd7cea..f8b1469 100644
--- a/lisp/init-editing.el
+++ b/lisp/init-editing.el
@@ -153,6 +153,8 @@ touches."
(global-set-key (kbd "C-.") 'er/expand-region)
+(global-set-key [remap kill-ring-save] 'easy-kill)
+
;; Overrides `suspend-emacs' (which is also bound to C-x C-z).
(global-set-key (kbd "C-z") 'zap-to-char)
(global-set-key (kbd "M-z") 'zap-up-to-char)