Quantcast
Viewing latest article 7
Browse Latest Browse All 39

Answer by Deepam Gupta for How can I make Vim paste from (and copy to) the system's clipboard?

What simply worked for me in Linux (Ubuntu 20.04)

  • Copying to system clipboard:

    1. Select what you want to copy in Visual mode.
    2. Type "+y
    3. Press Enter
  • Paste something form system's clipboard:

    1. Move to the place where you want to paste the copied text in vim.
    2. Just type
      • "+P to paste before cursor OR
      • "+p to paste after cursor.

To know more how this works: Copy and Paste to/from Vim from/to Other Programs!


Viewing latest article 7
Browse Latest Browse All 39

Trending Articles



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