Timeline for How can I copy text to the system clipboard from Vim?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 30, 2018 at 15:49 | comment | added | Quincy Bowers |
If you are on Linux, and Vim has been compiled with the +X11 feature, and you have clipboard=unnamedplus set, then you should be able yank a line in one instance of vim and paste it in another instance of vim. You should also be able to paste it into any other application with CTRL+V or SHIFT+INSERT. You can use :version within Vim to see if +X11 appears in the list of included features. You can also check if the 'unnamedplus' feature is available with :if has('unnamedplus')⏎ echo 'yes'⏎ endif If you are not on Linux then you should use unnamed instead of unnamedplus.
|
|
Nov 30, 2018 at 9:43 | comment | added | thinwybk | Why does this not work for me when yank&paste between vim instances (each in a separate terminator terminal)? | |
Feb 3, 2017 at 17:16 | history | edited | Rich | CC BY-SA 3.0 |
Even with muru's edit, this was still misleading. If you set `unnamedplus` you don't need to specify the `+` register in every command.
|
Feb 2, 2017 at 6:39 | history | edited | muru | CC BY-SA 3.0 |
added 835 characters in body
|
Feb 7, 2015 at 17:08 | history | edited | muru | CC BY-SA 3.0 |
code formatting
|
S Feb 7, 2015 at 13:56 | history | suggested | niekas | CC BY-SA 3.0 |
"+y copies text, not pastes
|
Feb 7, 2015 at 11:12 | review | Suggested edits | |||
S Feb 7, 2015 at 13:56 | |||||
Feb 3, 2015 at 18:23 | review | First posts | |||
Feb 3, 2015 at 18:56 | |||||
Feb 3, 2015 at 18:22 | history | answered | Quincy Bowers | CC BY-SA 3.0 |