I’m trying to write a quick little plugin for interacting with kitty from neovim. Sending usual text works fine but I want to try sending arbitrary keycodes, either by translating “” to “^[[A” or perhaps even mirroring all keypresses until or . Through experimentation I’ve found nvim_replace_termcodes is not the correct function to use for the first one, unless I’m missing something. Is there a builtin function that can do this for me? Any libraries?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Nitty-gritty questions on terminal nvim and keyboard events
|
2 | 2349 | December 5, 2021 | |
Unable to map Ctrl-` | 1 | 485 | June 21, 2022 | |
How NeoVim interpret the CSI keybindings? | 5 | 789 | May 22, 2023 | |
Upgrading neovim from 0.7 to 0.9.5 broke some hotkeys | 3 | 229 | February 19, 2024 | |
How can I map Ctrl+Shift+F5, Ctrl+Shift+b, Ctrl+. and Alt+Enter | 2 | 7812 | May 29, 2024 |