Ctrl + V and Ctrl + C doesn't work in Intellij IDEA 14.0.2
I can't copy and paste code in Intellij. I've been googling for a couple hours now. Every forum where there is a solution does not work.
Ctrl+X works. Ctrl+Z works. Ctrl+V does not work. Ctrl+C does not work.
I'm using the latest version of Intellij Idea (14.0.2), I'm running Linux lite - posted here because Linux lite is based off Ubuntu and it will be similar.
Here is what happens when I right click (I don't have enough rep to post images apparently):
I looked in setting and found keymap then typed copy in the search bar and this is what came up:
I had this problem and it was driving me absolutely insane.
If you want to keep using the vim plugin, and have ^c and ^v work for copy / paste like it does in other applications, then you need to go to your settings, and select Other Settings / Vim Emulation (as shown below).... Then make sure that both ^c and ^v are set to be handled by the IDE (not Vim!) and everything should work fine.
- You can disable vim from the tools menu (instead of uninstalling it)
- For those who actually use vim (which is awesome) - there is an issue with copying from the run console and other outputs (this is how I stumbled onto this question), ctrl-c doesn't work there. The issue is that vim is wrapping those panels too, so you can just highlight and press 'y' :)
From File -> Settings -> Plugins search for ideavim plugin. When found click on it. On the right panel you will see an Uninstall button. If you click it, you can uninstall the plugin without uninstalling all of IntelliJ IDEA.
Either disable the ideavim plugin, or use the Vim shortcuts.
The Vim shortcuts are d
, y
, P
/p
in command mode
to cut, copy and paste before/after the cursor. This clipboard is different than the clipboard in your OS. If you use Shift+Delete
, Ctrl+Insert
and Shift+Insert
, the cut, copied or pasted content will be placed to the system's clipboard.
See http://vim.wikia.com/wiki/Copy,_cut_and_paste. (You can use movement command (like w
) or the mouse to move the cursor around while selecting.)