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 | 2364 | December 5, 2021 | |
Unable to map Ctrl-` | 1 | 490 | June 21, 2022 | |
How NeoVim interpret the CSI keybindings? | 5 | 799 | May 22, 2023 | |
Keeping terminal (kitty) colorscheme consistent with Neovim colorscheme | 1 | 2832 | April 12, 2021 | |
Insert digraph in terminal mode | 0 | 337 | July 21, 2022 |