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:

  1. Open Neovide
  2. nnoremap <S-Space> :echom "Test!"<CR>
  3. 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:

https://gist.githubusercontent.com/Hubro/24b1a455ef1d12401614c96d5e7101ee/raw/5a73005b3c0582ac53a0b6240d8536f1a12d23f0/neovide_rCURRENT.log

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)

Most upvoted comments

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.