Tuesday, June 10, 2014

Vi ---> Moving around

     h         move the cursor one character to
               the left
     j         move the cursor one character down
     k         move the cursor one character up
     l         move the cursor one character to
               the right
     0         move to the beginning of a line
     $         move to the end of a line
     G         move to the end of a file
     1G        move to the first line of a file
     <ctrl-F>  move down one screen
     <ctrl-B>  move up one screen

No comments:

Post a Comment