Repository navigation
|
Select texts with mouse, and Command-C to copy, nothing is copied. |
Answered by
adoyle-h
Jun 30, 2023
Replies: 2 comments
|
I think it is not a usual cases in vim. And I tried Reason
Also see neovim/neovim#14181 SolutionDo not create keymaps with ⌘. You can use |
0 replies
Answer selected by
x2c3z4
|
I don't create keymaps with ⌘, and I also use iTerm2 to ssh to remote server, Millions of thanks. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I think it is not a usual cases in vim. And I tried
<D-c>and<cmd>c, neither works. The ⌘ key does not trigger.Reason
<⌘-...>shortcuts never send key sequences to vim and nvim. Because these shortcuts are OS-level or App-level.For example, I use iTerm2 as a pseudo terminal. The
<⌘-c>is captured by iTerm2.Also see neovim/neovim#14181
Solution
Do not create keymaps with ⌘. You can use
<leader>yto copy current line into system clipboard. And<leader>Pto paste from system clipboard. Please see the keymaps.md#Copy and Paste.