Quantcast
Viewing latest article 37
Browse Latest Browse All 39

Answer by Todd A. Jacobs for How can I make Vim paste from (and copy to) the system's clipboard?

Linux

On my Linux system, the + and * registers map to an X11 selection, which can be pasted with the middle mouse button. When :set clipboard=unnamed and :set clipboard=unnamedplus are used, then the registers map to the clipboard, and can be pasted with CTRL-V.

The specifics seem to be somewhat configuration and system dependent, so your mileage will definitely vary. It should definitely get you pointed in the right direction, though.

See Also

http://vim.wikia.com/wiki/Accessing_the_system_clipboard


Viewing latest article 37
Browse Latest Browse All 39

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>