mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
bump: :os
benjaminor/kkp@ed9214329f -> benjaminor/kkp@ad23d961c3 purcell/ns-auto-titlebar@60273e764b -> purcell/ns-auto-titlebar@1205ac67b7 Ref: benjaminor/kkp@4f7993a657 Ref: benjaminor/kkp@dd85d46dbb
This commit is contained in:
@@ -48,22 +48,11 @@
|
||||
(use-package! kkp
|
||||
:hook (after-init . global-kkp-mode)
|
||||
:config
|
||||
;; HACK: Emacs falls back to RET, TAB, and/or DEL if [return], [tab], and/or
|
||||
;; [backspace] are unbound, but this isn't the case for all input events,
|
||||
;; like these, which don't fall back to M-RET, M-TAB, etc. Therefore making
|
||||
;; these keybinds inaccessible in KKP supported terminals.
|
||||
;; REVIEW: See benjaminor/kkp#13.
|
||||
(define-key! local-function-key-map
|
||||
[M-return] (kbd "M-RET")
|
||||
[M-tab] (kbd "M-TAB")
|
||||
[M-backspace] (kbd "M-DEL")
|
||||
[M-delete] (kbd "M-DEL"))
|
||||
|
||||
;; HACK: Allow C-i to function independently of TAB in KKP-supported
|
||||
;; terminals. Requires the `input-decode-map' entry in
|
||||
;; lisp/doom-keybinds.el.
|
||||
(define-key! key-translation-map
|
||||
[?\C-i] (cmd! (if-let* (((kkp--terminal-has-active-kkp-p))
|
||||
[?\C-i] (cmd! (if-let* (((kkp--this-terminal-has-active-kkp-p))
|
||||
(keys (this-single-command-raw-keys))
|
||||
((> (length keys) 2))
|
||||
((equal (cl-subseq keys -3) [27 91 49])))
|
||||
|
Reference in New Issue
Block a user