From b43998e615cfff774e8ebeb8499e96422458794a Mon Sep 17 00:00:00 2001 From: Ravi R Kiran Date: Sat, 28 Jun 2014 13:19:19 -0700 Subject: More useful zap-to-char 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 "" 'newline-and-indent prog-mode-map) (bind-key "" '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) -- cgit v0.10.1