vim copy and paste outside terminal

17.18 Muhamad Akbar Bin Widayat 0 Comments

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.

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

0 komentar:

terimakasih komentarnya