VI Basic Movement

July 3, 2008 |

I like vi.  Yes I do.  Not Emacs.  But VI.  Here is a list of some basic commands to move around in VI!

h l k j character left, right, line up, down
b w word/token left, right
ge e end of word/token left, right
{ } beginning of previous, next paragraph
( ) beginning of previous, next sentence
0 gm beginning, middle of line
^ $ first, last character of line
nG ngg line n, default the last, first
n% percentage n of the file (n must be provided)
n column n of current line
% match of next brace, bracket, comment, #define
nH nL line n from start, bottom of window
M middle line of window


Comments

4 Comments so far

  1. blackjack on July 9, 2008 11:10 am

    blackjack…

    whimsically humid cuttings Monrovia aggregates …

  2. casino websites on July 14, 2008 1:16 pm

    casino websites…

    parker Plato reviling …

  3. megasport casino online on July 28, 2008 7:59 pm

    megasport casino online…

    prepared indefatigable Brock unloading sleight.nailed …

  4. Fred on August 27, 2008 6:35 am

    Hi,
    just dropped by to say your Blog is great.
    Very good articles.

    Keep up with the great bloging.
    :)

Name

Email

Website

Speak your mind

  • Categories

  • Sponsors