I have the following lines in my init.vim:
xnoremap <c-c> "+y
which makes "Ctrl-C" in visual mode copy the selected text.
This works in neovim. I added the following to vscode keybindings.json:
{ "key": "ctrl+c", "command": "vscode-neovim.send", "when": "neovim.mode == visual" },
hoping it would send Ctrl-C to neovim and do the copy. However, pressing "Ctrl-C" in visual mode inside vscode has no effect.
you need to unbind <C-c> from escape key first - escape keys are treated specially:
{
"command": "-vscode-neovim.escape",
"key": "ctrl+c",
},
I do have this already. In fact I also tried <C-a> and got the same outcome.
Ah, you forgot "args": "<C-c>" in your vscode-neovim.send keybinding
Thanks a lot! That addresses the issue.
Btw, I got my original settings by clicking "copy" here:

Copying this shortcut does not give me the "args" part so I didn't realize this.
Thanks again for your time
Most helpful comment
Thanks a lot! That addresses the issue.
Btw, I got my original settings by clicking "copy" here:

Copying this shortcut does not give me the "args" part so I didn't realize this.
Thanks again for your time