NyaoVim icon indicating copy to clipboard operation
NyaoVim copied to clipboard

On OSX/macOS, Nyaovim captures CMD hotkeys as CTRL hotkeys

Open gwerbin opened this issue 9 years ago • 4 comments

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
  • nvim version: v0.1.6-254-gfbd6b10
  • Electron version: 1.4.3
  • Chrome version: 53.0.2785.113
  • Keyboard layout: US English QWERTY

gwerbin avatar Nov 04 '16 22:11 gwerbin

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.

threewordphrase avatar Nov 13 '16 09:11 threewordphrase

@gwerbin actually just stumbled on the solution in https://github.com/rhysd/neovim-component/issues/32, enjoy!

threewordphrase avatar Nov 13 '16 10:11 threewordphrase

I think @rhysd should make the behavior default.

haifengkao avatar Nov 14 '16 05:11 haifengkao

I think the main issue right now is that the nyaovimrc options are not documented.

gwerbin avatar Nov 14 '16 05:11 gwerbin