From c2797b2f2f9af2111e911c37fd7779ab347f4baf Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 16 Jan 2014 22:29:58 -0500 Subject: Autoload and bind zap-up-to-char --- init/00-km-general.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init/00-km-general.el b/init/00-km-general.el index 7743008..1b21c2b 100644 --- a/init/00-km-general.el +++ b/init/00-km-general.el @@ -79,3 +79,8 @@ (define-key view-mode-map "a" 'ace-jump-mode))) (setq shell-command-switch "-ic") + +;; http://irreal.org/blog/?p=1536 +(autoload 'zap-up-to-char "misc" + "Kill up to, but not including ARGth occurrence of CHAR.") +(global-set-key (kbd "M-z") 'zap-up-to-char) -- cgit v1.2.3