question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Paste with CTRL+V while in edit mode does not work

See original GitHub issue

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

What happened:

  1. Got to any app and press CTRL+C to put some text in your clipboard.
  2. Got to VSCode, press i to enter edit mode
  3. press CTRL+V, nothing happens

What did you expect to happen: while in edit mode, CTRL+V pastes the content of the clipboard

If I disable VSCode Vim, CTRL+V works as usual.

  • Extension (VsCodeVim) version: 0.12.0
  • VSCode Version: 1.23.1 d0182c3417d225529c6d5ad24b7572815d0de9ac x64
  • OS Version: Windows 10 version 1803

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

16reactions
scalpelxcommented, Jun 6, 2018

You can set vim.useCtrlKeys to false, or set

"vim.handleKeys": {
    "<C-c>": false,
    "<C-v>": false,
}
5reactions
hnracommented, Jun 17, 2018

Any reason why this can’t work?

"vim.insertModeKeyBindings": [
    {
        "before": ["<C-v>"],
        "after": [],
        "commands": "editor.action.clipboardPasteAction",
        
    }
]

Would be nice to have <C-v> as paste in insert mode without giving up visual block because of useCtrlKeys or handleKeys.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it possible to paste in edit mode? - Blender Stack Exchange
You can invoke copy and paste using the Spacebar menu (it shows Ctrl V as shortcut for paste, but as you said that...
Read more >
control-C and control-V don't work - Microsoft Community
Go to File>Options>Customize Ribbon and click on the Keyboard shortcuts: Customize button. Then press Ctrl+V when the selection is in the Press ...
Read more >
Why am I unable to use Copy (Ctrl+C) and Paste (Ctrl+V ...
I am using MATLAB 7.8 (R2009a) on Windows XP to write my code. However, I am not able to use Ctrl+C, Ctrl+V keyboard...
Read more >
Excel CTRL-V not working properly - Super User
When you copy a CELL, whole, Excel will only paste it whole, not inside a cell as part of that cell's contents. Excel...
Read more >
Bug #496793 “ctrl c ctrl v of text in edit mode crashes inkscape...”
select the text as an object, and copy & paste it using ctrl C, ctrl V. ... Open the text using the text...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found