Thursday, May 2, 2024
53
rated 0 times [  53] [ 0]  / answers: 1 / hits: 62163  / 2 Years ago, fri, february 11, 2022, 12:49:24

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):
enter image description here



I looked in setting and found keymap then typed copy in the search bar and this is what came up:
enter image description here


More From » shortcut-keys

 Answers
1

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.



how-to-enable-ctl-v-and-ctv-c-for-copy-paste-in-idea


[#21816] Friday, February 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ttarum

Total Points: 417
Total Questions: 101
Total Answers: 115

Location: Maldives
Member since Wed, Nov 4, 2020
4 Years ago
ttarum questions
Sat, Aug 20, 22, 12:42, 2 Years ago
Wed, Sep 28, 22, 18:07, 2 Years ago
Mon, Feb 7, 22, 20:23, 2 Years ago
;