Closed ZhiruiLi closed 3 years ago
Because getchar
can't use with paste, read :h coc-list-mappings-custom
h coc-list-mappings-custom
But coc-list-mappings-custom
can't accept cmd key mapping which starts with <D-
:
Note: you should only use mappings that start with <C- or <A- for insert mappings.
It's terminal vim that can't make use of <D-
, there's a prompt action to paste text from clipboard.
It's terminal vim that can't make use of
<D-
, there's a prompt action to paste text from clipboard.
Even if I use VimR, I still can't map <D-
.
I don't understand, is it impossible to paste by cmd-v?
By the way, cmd-v works well when using FZF.
You can't, I have said getchar
can't work with paste mode, it's vim issue.
Emm... I just wonder why other plugins like FZF can support this?
FZF runs in terminal, it not using getchar
Thanks
It's possible to paste text by <cmd-v>
in terminal, you can remap <cmd-v>
to send <ctrl-v>
to vim in your terminal profile, and remap <C-v>
to prompt:paste
in list.normalMappings
of settings file.
Oh, I should give it a try
It's bad idea since you can't paste in your teminal shell by using <cmd-v>
any more.
That's right, I've tried it and found it not suit to me
So sad
When using vim under macOS, it is normal to use cmd-v to paste text. It works for vim buffer, vim command, but not work for CocList. Any idea for solving this?
Environment info: