Intellij IDEA with ideavim. Cannot copy text from another source

前端 未结 1 1281
我寻月下人不归
我寻月下人不归 2021-01-30 15:26

I tried to copy text from IDEA with ideavim plugin, using default vim keybindings (y). But this text isn\'t copied in global buffer and i can paste it only in I

相关标签:
1条回答
  • 2021-01-30 16:16

    Vim's yank command doesn't yank to the system clipboard by default; it yanks to the unnamed register. You can use the * or + register to access the system clipboard; also see this wiki article for more information. Or just set this option in your ~/.ideavimrc:

    set clipboard+=unnamed

    This ~/.ideavimrc setting has been supported in IdeaVim since VIM-476 was implemented in version 0.38. If the file does not exist create it in your user/home directory.

    Note also that this is all standard Vim behavior; none of it is specific to IdeaVim except for the name of the config file.

    0 讨论(0)
提交回复
热议问题