Term-keys – Lossless keyboard input for Emacs
11 days ago
- #keyboard-input
- #Emacs
- #terminal-emulators
- term-keys package enables Emacs and terminal emulators to handle complex keyboard inputs with custom encodings.
- Installation involves adding a custom ELPA package archive and installing term-keys via M-x package-install.
- Configuration is a three-part process: Emacs setup, optional term-keys configuration, and terminal emulator setup.
- term-keys-mode can be enabled globally or per frame, with extensive customization via Emacs' customize interface.
- Terminal emulator configuration varies by type (urxvt, xterm, kitty, wezterm, Alacritty, Konsole, Linux console, st, Terminal.app, Windows Terminal).
- Some terminals like PuTTY, GNOME Terminal, and mintty lack direct support for term-keys due to customization limitations.
- term-keys improves upon similar tools like xterm-keybinder with broader terminal support and better efficiency.