mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feat(tty): add kitty keyboard protocol support
This commit is contained in:
@ -11,6 +11,7 @@ This module configures Emacs for use in the terminal, by providing:
|
||||
- Cursor-shape changing across evil states (requires a terminal that supports
|
||||
it).
|
||||
- Mouse support in the terminal.
|
||||
- Support for the [[https://sw.kovidgoyal.net/kitty/keyboard-protocol/][Kitty keyboard protocol]] in supported terminals.
|
||||
|
||||
** Maintainers
|
||||
/This module has no dedicated maintainers./ [[doom-contrib-maintainer:][Become a maintainer?]]
|
||||
@ -25,6 +26,7 @@ This module configures Emacs for use in the terminal, by providing:
|
||||
** Packages
|
||||
- [[doom-package:clipetty]] if [[doom-module:+osc]]
|
||||
- [[doom-package:evil-terminal-cursor-changer]] if [[doom-module::editor evil]]
|
||||
- [[doom-package:kkp]]
|
||||
- [[doom-package:xclip]] unless [[doom-module:+osc]]
|
||||
|
||||
** Hacks
|
||||
|
@ -42,3 +42,7 @@
|
||||
;; https://github.com/saitoha/mouseterm-plus/releases. That makes to support
|
||||
;; VT's DECSCUSR sequence.
|
||||
(add-hook 'tty-setup-hook #'evil-terminal-cursor-changer-activate)
|
||||
|
||||
;; Add support for the Kitty keyboard protocol.
|
||||
(use-package! kkp
|
||||
:hook (after-init . global-kkp-mode))
|
||||
|
@ -11,3 +11,5 @@
|
||||
;; NOTE Despite the evil-* prefix, evil-terminal-cursor-changer does not depend
|
||||
;; on evil (anymore).
|
||||
(package! evil-terminal-cursor-changer :pin "2358f3e27d89128361cf80fcfa092fdfe5b52fd8")
|
||||
|
||||
(package! kkp :pin "ed9214329f11b095fc7bad06feb329b9f232258d")
|
||||
|
Reference in New Issue
Block a user