About Me

My photo

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/B d-- s:++>: a-- C++(++++) UL++ P! L++ E--- W+++ N+++ w PS+ PE- !tv
b+++ G++ e++ h
------END GEEK CODE BLOCK------

Thursday, May 13, 2004

copy and paste in vim

Now, this was stupid. I had not figured out how to do copy-paste in vim editor.
At last now, I got it. Thanks to google and Linux Novice
HOWTO Copy and Paste in VIM Editor.
These Steps Assume you are in the Command Mode.
Step 1: Move your Cursor to the Starting Point of the text tobe Copied .
Step 2: Press v. The Mode changes to Visual.
Step 3: Move your Cursor now to the Ending point of the text tobe Copied.
Step 4: Press y This will copy the text in the buffer and lead to the starting point again.
Step 5: Move your Cursor to the position where you want to paste the text.
Step 6: Press p

YO!

No comments: