Categories

 

April 2007
M T W T F S S
« Mar   Aug »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

What I'm Doing...

PlaytimePriya and KunalIMG00015.jpgIMG00017.jpgFallColors.jpgSpring

Copy and paste in Vi/Vim

This is a neat trick to know and saves a lot of time:

Go to the beginning of the line where you want to start copying.
Make sure you are in the command mode. (Hit ESC).
Type “ma”. Which means, you are marking the spot with “a”.
Go to the line till where you want to copy.
type y`a (yank [...]

Share