summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-01-16 22:29:58 -0500
committerKyle Meyer <kyle@kyleam.com>2014-01-16 22:29:58 -0500
commitc2797b2f2f9af2111e911c37fd7779ab347f4baf (patch)
tree28591d9819ba8ae372453f4b527f8225c15d6827 /init
parent0f0b2754c5b5ca1c27bca866de40ae0141b8fbe1 (diff)
downloademacs.d-c2797b2f2f9af2111e911c37fd7779ab347f4baf.tar.gz
Autoload and bind zap-up-to-char
Diffstat (limited to 'init')
-rw-r--r--init/00-km-general.el5
1 files changed, 5 insertions, 0 deletions
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)