Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Visual Studio Code Ctrl+V is not working

In Visual Studio Code Ctrl+V is not working on editor.

However from the command palette Ctrl+Shift+V is working.

like image 348
Ishwar Chandra Tiwari Avatar asked Jul 25 '18 14:07

Ishwar Chandra Tiwari


People also ask

How do I enable Ctrl in VS Code?

VS Code provides two powerful commands to navigate in and across files with easy-to-use key bindings. Hold Ctrl and press Tab to view a list of all files open in an editor group. To open one of these files, use Tab again to pick the file you want to navigate to, then release Ctrl to open it.

Why Ctrl C is not working in VS Code?

It turns out the shortcut for copy was removed. To fix i just went to Options -> Environment -> Keyboard and re added ctrl + c as a short cut for Edit. Copy.

How do I enable copy and paste in Visual Studio?

There is a shortcut of Ctrl +( Supr or Ins ) that also work to copy and paste.


2 Answers

Open the keyboard shortcuts preferences by pressing CTRL + SHIFT + P and search for open keyboard shortcuts file.

Then, search for the editor.action.clipboardPasteAction property. In your case, it might be CTRL+SHIFT+V. Try changing it to Ctrl + V. Like so:

enter image description here

like image 112
WebD Avatar answered Sep 16 '22 13:09

WebD


I´ve had this problem when I enabled the "VIM" plugin for VSCode.

After uninstalling it, the problem was fixed.

like image 32
Leandro Bresolin Avatar answered Sep 16 '22 13:09

Leandro Bresolin