msgbartop
Of Linux, Programming, and Singaporean Ramblings
msgbarbottom

03 Sep 09 Tips on Using VI Editor (cont’d)

More on VI…

H – position the cursor at the top of the screen (left most position)

M – position the cursor in the middle of the screen (left most position)

L – position the cursor in the bottom of the screen (left most position)

G – position the cursor at the bottom of the file (left most position); last line in file

gg – position the cursor at the top of the file (left most position); first line in file

:n – position the cursor at line n of the file

Tags:

Leave a Comment