Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA 14 Copy and Paste not working with other applications

Couldn't find the simple solution on SO, so thought I would add this here for anyone looking in the future.

My symptom was that I could copy and paste within the IJ editor, but not from the editor to another application or from another app to the editor.

This was on Windows 10 with IntelliJ IDEA 14.1.6.

like image 352
Jeff Neet Avatar asked Mar 24 '16 22:03

Jeff Neet


People also ask

How do I copy and paste in IntelliJ?

Set the caret anywhere in the line to copy the whole line, or make a selection to copy. Press Ctrl+C or choose Edit | Copy from the main menu .

How do I copy from terminal in IntelliJ?

Then click Command + A or Ctrl + A to select all the text and then click Cmnd + c or Ctrl + c to copy.

How do I fix my IntelliJ IDEA?

From the main menu, select File | Repair IDE. IntelliJ IDEA will automatically launch the first recovery step and refresh the virtual file system. IntelliJ IDEA will display a notification that you can use to continue or complete the recovery process.


1 Answers

To make copy/paste through shortcut keys working with Vim Plugin you need to change some settings of Intellij IDE's editor regarding vim emulation, you need to follow these steps for it:

  1. Click Menu File > Settings... (or use shortcut Ctrl + Alt + S)
  2. Select Editor -> Vim Emulation and find the shortcuts and change their Handler column value to IDE as shown in the screenshot below.

enter image description here

The Shortcuts will start working, happy coding :)

like image 184
Hassan Jamil Avatar answered Sep 29 '22 07:09

Hassan Jamil