summaryrefslogtreecommitdiff
path: root/tab-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2024-03-01 13:18:44 +0800
committerJSDurand <mmemmew@gmail.com>2024-03-01 13:18:44 +0800
commitad946996f619c264b1527598abf4ecdc8ad4bd57 (patch)
treec061a80af7574df5535db388e0f9039403ab4f15 /tab-conf.el
parentd0c58e5c37b6b9da7efaa69ff3a16766190e0a93 (diff)
tab: add an alias
* tab-conf.el (tab-prefix-map): Bind 'à' to the same function as that of '0', so that it is easier to type on a keyboard with French layout.
Diffstat (limited to 'tab-conf.el')
-rw-r--r--tab-conf.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/tab-conf.el b/tab-conf.el
index 6062abc..afe5047 100644
--- a/tab-conf.el
+++ b/tab-conf.el
@@ -8,6 +8,7 @@
(define-key tab-switcher-mode-map (vector ?p) #'tab-switcher-prev-or-last)
(define-key tab-prefix-map (vector 'tab) #'tab-switcher)
(define-key tab-prefix-map (vector ?c) #'durand-tab-list)
+(define-key tab-prefix-map (vector ?à) #'tab-close)
(define-key global-map (vector ?\s-t) #'durand-switch-tab-dwim)
(define-key global-map (vector ?\s-T) #'tab-switcher)