Strictly Programming

VI Notes

Posted in General by sqllyw on 12/08/2008

I was hoping I can use some other editors, my job requires me to be in different platforms and I have used quite a number of editors: edln, edit, qe, ultraEdit, TextMate, TextEdit, Pico and Vi, from time to time I still have to go back to VI the editor I tried to avoid, but it seems vi is not going away, it will be here to stay, rather than avoiding I might as well learn a few VI commands and get the job done, hence this note is kept to include some commands I used often.


Reference link
Duplicate a line
yyp
Go to end of file
G
Delete up to end of line
D

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: