mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
Fix input-decode-map binds in emacsclient frames
This commit is contained in:
@ -748,12 +748,13 @@
|
|||||||
;; This section is dedicated to "fixing" certain keys so that they behave
|
;; This section is dedicated to "fixing" certain keys so that they behave
|
||||||
;; sensibly (and consistently with similar contexts).
|
;; sensibly (and consistently with similar contexts).
|
||||||
|
|
||||||
(if window-system
|
;; Fix MacOS shift+tab
|
||||||
(define-key! input-decode-map
|
(when IS-MAC
|
||||||
[S-iso-lefttab] [backtab] ;; Fix MacOS shift+tab
|
(define-key input-decode-map [S-iso-lefttab] [backtab]))
|
||||||
(kbd "ESC") [escape])
|
|
||||||
;; Fix TAB in terminal
|
(defun +default|setup-input-decode-map ()
|
||||||
(define-key input-decode-map (kbd "TAB") [tab]))
|
(define-key input-decode-map (kbd "TAB") [tab]))
|
||||||
|
(add-hook 'tty-setup-hook #'+default|setup-input-decode-map)
|
||||||
|
|
||||||
(after! tabulated-list
|
(after! tabulated-list
|
||||||
(define-key tabulated-list-mode-map "q" #'quit-window))
|
(define-key tabulated-list-mode-map "q" #'quit-window))
|
||||||
|
Reference in New Issue
Block a user