Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Syncing IdeaVim with the System Clipboard

til vim #ideavim #jetbrains #clipboard #configuration

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