Posted on :: Tags: , , ,

I began using the IdeaVim plugin for Android Studio some time ago. It is a great tool, but as a Vim newbie, I was not aware that Vim does not use the system clipboard (Windows, macOS, Linux, etc.) for copy and paste operations by default. As a result, when you use the y (yank) command in IdeaVim, the text is not available to paste into other applications.

The solution is simple: add the following line to your ~/.ideavimrc file:

set clipboard+=unnamed