summaryrefslogtreecommitdiffstats
path: root/ravi-init-appearance.el
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2015-02-09 17:36:33 (GMT)
committerRavi R Kiran <aine.marina@gmail.com>2015-02-09 17:36:33 (GMT)
commita315e3eddcabaa8d210d3e3cb8e8dffd18eb959b (patch)
tree0ec4393cfa94a963a01fa9ee6be5bfe3100e3742 /ravi-init-appearance.el
parentd77dc5d02a6b07235c44b976b0fba2fa0688f224 (diff)
downloaddotemacs-a315e3eddcabaa8d210d3e3cb8e8dffd18eb959b.zip
dotemacs-a315e3eddcabaa8d210d3e3cb8e8dffd18eb959b.tar.gz
dotemacs-a315e3eddcabaa8d210d3e3cb8e8dffd18eb959b.tar.bz2
Better zap-to-char
Diffstat (limited to 'ravi-init-appearance.el')
-rw-r--r--ravi-init-appearance.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/ravi-init-appearance.el b/ravi-init-appearance.el
index 8ed039a..44fb30f 100644
--- a/ravi-init-appearance.el
+++ b/ravi-init-appearance.el
@@ -186,9 +186,10 @@ Delete all whitespace on a successive key press."
(bind-key "M-l" 'oremacs/upcase-word-toggle)
;; Zap up to char is more useful than zap-char
-(autoload 'zap-up-to-char "misc" "Kill up to, but not including ARGth occurrence of CHAR.")
-(bind-key "M-z" 'zap-up-to-char)
-(bind-key "M-Z" 'zap-to-char)
+(use-package zop-to-char
+ :bind (("M-z" . zop-up-to-char)
+ ("M-Z" . zop-to-char))
+ :ensure t)
;; Automatic indentation of yanked text
(dolist (command '(yank yank-pop))