diff --git a/core/prelude-global-keybindings.el b/core/prelude-global-keybindings.el index b04a539..fee0df7 100644 --- a/core/prelude-global-keybindings.el +++ b/core/prelude-global-keybindings.el @@ -68,6 +68,10 @@ ;; A complementary binding to the apropos-command (C-h a) (define-key 'help-command "A" 'apropos) +;; a complement to the zap-to-char command, that doesn't eat up the target character +(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) + ;; Activate occur easily inside isearch (define-key isearch-mode-map (kbd "C-o") (lambda () (interactive)