summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ravi-init-appearance.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/ravi-init-appearance.el b/ravi-init-appearance.el
index 7e8d152..2147234 100644
--- a/ravi-init-appearance.el
+++ b/ravi-init-appearance.el
@@ -99,6 +99,11 @@
(bind-key "<return>" 'newline-and-indent prog-mode-map)
(bind-key "<return>" 'newline-and-indent emacs-lisp-mode-map)
+;; 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)
+
;; Automatic indentation of yanked text
(dolist (command '(yank yank-pop))
(eval `(defadvice ,command (after indent-region activate)