Vim Tips Wiki
Advertisement

A new tip that can be useful. I named it paste that line :) I don't know may be somewhere such tip already exists but i made my own, so :

Whould you like to paste in the current cursor position the line: 10 contents ? No problem : type 10_ that;s it  :) .

Write this code to your .vimrc file : map _ ggy$``P .

Of course you can change "_" to any available keys like : \p or any .

If you have better solution please write me an email to jabberroid @ gmail dot com


Enjoy!

Advertisement