vim copy and paste outside terminal

When you want to copy, cut, and paste line outside terminal. Please follow me.

1. Put set clipboard=unnamed on .vimrc
2. restart your vim
3. write v and select what line that you want
4. press p on another file

I hope you can success.
Thank


Note: for the first point, you can put set using gedit or nano.
      for instance: nano ~/.vimrc
      do not forget save this file.





Komentar

Postingan populer dari blog ini

EPrT English Proficiency Test Soal - soal

cara memunculkan dan menyembunyikan icon date, time, clock, volume, network, power battery, action center pada taskbar pada Windows 7