From 8fd5b0db531e00154a04531fd579fabaee0fe78c Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Sat, 7 Feb 2015 12:46:05 +0200 Subject: [PATCH] Add the zop-to-char package --- core/prelude-global-keybindings.el | 6 +++--- core/prelude-packages.el | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/core/prelude-global-keybindings.el b/core/prelude-global-keybindings.el index 3801933..396d5b9 100644 --- a/core/prelude-global-keybindings.el +++ b/core/prelude-global-keybindings.el @@ -76,9 +76,9 @@ (define-key 'help-command (kbd "C-i") 'info-display-manual) -;; 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) +;; replace zap-to-char functionaity with the more powerful zop-to-char +(global-set-key (kbd "M-z") 'zop-to-char) +(global-set-key (kbd "M-Z") 'zop-up-to-char) ;; kill lines backward (global-set-key (kbd "C-") (lambda () diff --git a/core/prelude-packages.el b/core/prelude-packages.el index ead95da..39873a5 100644 --- a/core/prelude-packages.el +++ b/core/prelude-packages.el @@ -71,7 +71,8 @@ smartrep undo-tree volatile-highlights - zenburn-theme) + zenburn-theme + zop-to-char) "A list of packages to ensure are installed at launch.") (defun prelude-packages-installed-p ()