neovide: Unable to map in Neovide
Describe the bug
As Neovide is a GUI and not limited by terminal emulators, I would expect any combination of keys to be bindable. For example, <S-Space>
(Shift+Space) is a key combination I have used a lot in GVim, but it doesn’t appear to work in Neovide. Instead, the keybinding for <Space>
is executed.
To Reproduce Steps to reproduce the behavior:
- Open Neovide
nnoremap <S-Space> :echom "Test!"<CR>
- Press Shift+Space
Expected behavior
I would expect this to write the message “Test!”.
Screenshots
-
Desktop (please complete the following information):
- OS: Arch Linux
- Neovide Version Neovide 0.8.0
- Neovim Version 0.5.1
Please run neovide --log
and paste the contents of the .log
file here:
Additional context
<C-Space>
and<A-Space>
works fine<S-CR>
also doesn’t work (although<C-CR>
and<A-CR>
works fine)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (7 by maintainers)
This should be fixed by #1899, it would be great if you can test that.
It’s fixed in the next release (PR https://github.com/neovide/neovide/pull/1483, related comment). I built it locally as described in that last issue and it fixed it for me.
🤦🏻♂️ I had tried several variations and must have caught it at a bad time. I did confirm I reproduced with p vs P though. Updated original comment.