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