On OSX/macOS, Nyaovim captures CMD hotkeys as CTRL hotkeys
Expected Behavior
CMD+H hides Nyaovim
Actual Behavior
CMD+H acts like CTRL+H. Must use the "Hide" item from the menu to hide the Nyaovim window.
Steps to Reproduce (including precondition)
Open Nyaovim on OSX/macOS, insert some text, then press CMD+H
Your Environment
- OS: Mac OSX 10.11.6 "El Capitan"
- NyaoVim version: 0.0.22
nvimversion: v0.1.6-254-gfbd6b10- Electron version: 1.4.3
- Chrome version: 53.0.2785.113
- Keyboard layout: US English QWERTY
Also for paste (cmd-v), and every other one I've tried. Seems like a bug or some modifier should be added to target nyao or system. This kind of OS integration is one of the bigger reasons I've looking for a vim GUI wrapper.
@gwerbin actually just stumbled on the solution in https://github.com/rhysd/neovim-component/issues/32, enjoy!
I think @rhysd should make the behavior default.
I think the main issue right now is that the nyaovimrc options are not documented.