rhysd / NyaoVim

Web-enhanced Extensible Neovim Frontend
Other
2.22k stars 57 forks source link

`cmd+v` Paste not working in the command mode #125

Closed zhujinxuan closed 7 years ago

zhujinxuan commented 7 years ago

When I try to paste a vim command after :, I find cmd+v does not work. In the vim command line, cmd+v only insert a v in the command line.

Also cmd+v does not work in the insert mode. When I type cmd+v in the insert mode, it will insert a text as <D-v>

Thanks a lot for developing NyaoVim

skjorrface commented 7 years ago

Have you tried with <cmd+shift+v>?

zhujinxuan commented 7 years ago

I tried. But it does not work

On Wed, Sep 6, 2017 at 11:58 AM skjorrface notifications@github.com wrote:

Have you tried with <cmd+shift+v>?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rhysd/NyaoVim/issues/125#issuecomment-327530330, or mute the thread https://github.com/notifications/unsubscribe-auth/AAtir0kZECl6lNTSn33991i8bl_VNLEOks5sfsEKgaJpZM4PJtBN .

rhysd commented 7 years ago

Could you try out disable-meta-key attribute of <neovim-editor> element? This is a problem who handles key input.

  1. Application window (for handling OS native shortcut like Cmd+v)
  2. Neovim

By default, NyaoVim passes all inputs to Neovim (selecting 2.). By specifying the attribute, NyaoVim will choose 1. as its behavior.

https://github.com/rhysd/neovim-component#neovim-editor-properties

zhujinxuan commented 7 years ago

It works. Thank you.