summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)