Vim: Is there a way to make yank use system clipboard

Created on 20 Oct 2016  路  4Comments  路  Source: VSCodeVim/Vim

Please _thumbs-up_ 馃憤 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.


What did you do?

hit yy

What did you expect to happen?

copy to clipboard

What happened instead?

just copied inside the very vscode instance itself

Technical details:

Most helpful comment

Set useSystemClioboard to true. From our readme:

useSystemClipboard

Enable yanking to the system clipboard by default
Type: Boolean (Default: false)
Note: Linux users must have xclip installed

All 4 comments

Set useSystemClioboard to true. From our readme:

useSystemClipboard

Enable yanking to the system clipboard by default
Type: Boolean (Default: false)
Note: Linux users must have xclip installed

Unfortunately, Vim does not copy to clipboard by default, which is why this setting is off by default. But hey, it's a setting! Do whatever you want with it. :)

thank you its great :)

Be careful, there is a typo in first line of @jpoon's comment, it's 'useSystemClipboard' not 'useSystemClioboard' he metioned. 馃槀

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gerardmrk picture gerardmrk  路  3Comments

triztian picture triztian  路  3Comments

elithrar picture elithrar  路  3Comments

stefanoio picture stefanoio  路  3Comments

Jimmy-Z picture Jimmy-Z  路  3Comments