commit 9ed0665acb72853590a54cabef3cf2265d484ce7
parent cd98c83e5f887cf2b736431f1ee68f13ea8e448f
Author: Anton Konyahin <me@konyahin.xyz>
Date: Wed, 5 Apr 2023 13:53:20 +0300
emacs: bind zap-up-to-char
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
@@ -57,6 +57,8 @@
;; custom functions and key bindings
(global-set-key (kbd "M-f") 'forward-to-word)
+(global-set-key (kbd "M-z") 'zap-up-to-char)
+
(defun knh-new-line-below ()
"Insert new line below, without breaking current line"
(interactive)