summaryrefslogtreecommitdiff
path: root/basic.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-02-26 11:48:01 +0800
committerJSDurand <mmemmew@gmail.com>2021-02-26 11:48:01 +0800
commit9e48aae2523b75c7913a1b665310fb35155fea76 (patch)
tree2558cf6c35ab6cc97b89830cc2254c282da55d33 /basic.el
parent54fc2884baaf68a8bf5ab8033c64512056215a82 (diff)
Bind zap-up-to-char and a key to conveniently exit elfeed.
* basic.el (global-map): Bind zap-up-to-char. * elfeed-conf.el (elfeed-search-mode-map): (elfeed-search-exit): Bind a key to conveniently exit elfeed.
Diffstat (limited to 'basic.el')
-rw-r--r--basic.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/basic.el b/basic.el
index eb7ab1e..84c358c 100644
--- a/basic.el
+++ b/basic.el
@@ -198,6 +198,10 @@ window, then also delete the selected window."
(define-key global-map (vector ?\s-k) #'durand-kill-current-buffer)
+;;; zap-up-to-char and zap-to-char are both useful.
+
+(define-key global-map (vector (logior (ash 1 27) #x5a)) #'zap-up-to-char)
+
;;; Repeating pops
;;;###autoload