Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neovim incompatible keybindings #881

Closed
scippio opened this issue Feb 4, 2024 · 2 comments
Closed

Neovim incompatible keybindings #881

scippio opened this issue Feb 4, 2024 · 2 comments

Comments

@scippio
Copy link

scippio commented Feb 4, 2024

Describe the bug
When I set the keymap for Super/Win key in my neovim Lua config like that (Win+n):

vim.keymap.set('n','<D-n>','<cmd>echo "it works!"<cr>')

To Reproduce
Add above config into init.lua ...

Expected behavior
:]

Desktop (please complete the following information):

  • Archlinux
  • Display Technology: Wayland

Additional context
It working in kitty terminal without any problems.

@mattrose
Copy link
Member

mattrose commented Feb 9, 2024

It looks like vte is not handling the super (Windows) key the same way that kitty does. This looks like a vte bug. I'll try and diagnose it and open an upstream bug, but I probably won't be able to do it until Monday at the earliest.

@mattrose
Copy link
Member

mattrose commented Feb 12, 2024

Opened https://gitlab.gnome.org/GNOME/vte/-/issues/2738 and have some interesting input from @egmontkob in there.

The short answer is, there's really no agreement on what to do with <super>-<letter> key combinations, so if you want that key combination to work, the best answer right now is to stick with kitty, as that seems to do what you want in that situation. Not to say that we won't work on it, but it'll probably be a slow process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants