0

I would like to map the menu key (aka application key) on my keyboard to various behaviors in Vim, but in Neovim-Qt on Windows 7, Vim does not recognize presses of the menu button. For example, when I type <ctrl-v><menu>, Vim does not respond to <menu> being pressed. I would like to remap the menu key to something Vim recognizes, but only within Neovim-Qt. This is possible with AutoHotkey, but using AHK seems like overkill for a single remapping.

Is there some mixture of settings in Neovim, Neovim-Qt, and Windows that would allow me to take advantage of the menu key in Vim while retaining its normal behavior elsewhere?

5
  • Sounds like a duplicate of this or this to me
    – statox
    Jul 7, 2020 at 18:42
  • I think the circumstances of my question are different from those linked, since Vim seems to not even be receiving the key events for the menu key. I modified my question to clarify.
    – Etherian
    Jul 7, 2020 at 19:17
  • 1
    Vim may never see the menu key, making it impossible to map. The nvim/qt devs may have more insight
    – D. Ben Knoble
    Jul 8, 2020 at 0:35
  • Yes, I think Vim isn't receiving key events for the menu key (Neovim-Qt doesn't seem to handle it explicitly, at least). Could you suggest a better place to ask Neovim-Qt devs this question?
    – Etherian
    Jul 8, 2020 at 2:38
  • @Etherian Their issue tracker is probably the best place to reach the devs.
    – statox
    Jul 8, 2020 at 7:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.