waveterm
waveterm copied to clipboard
[Feature]: Comprehensive keyboard handling in terminals
Feature description
otherwise Ctrl+Shift key combinations are not transmitted to Neovim, in ghostty, it call tell different between
-- minimal_repro.lua
vim.keymap.set("n", "<C-p>", function()
print("Success: Ctrl-P was detected!")
end)
-- When in Normal mode, if Ctrl-Shift-P is pressed, print a success message.
vim.keymap.set("n", "<C-S-p>", function()
print("Success: Ctrl-Shift-P was detected!")
end)
it can detected both
https://discord.com/channels/977384027629690900/977384027629690903/1417326192884846622
Implementation Suggestion
Anything else?
- https://sw.kovidgoyal.net/kitty/keyboard-protocol/
I'm on a mac and having issues getting alt + n or alt + f to work correctly as well.