Vim Navigation

h j k l
Basic navigation

0(zero)
Go to the start of current line

^
Go to the first non blank character of current line

$
Go to the end of current line

g_
Go to the last non blank character of current line

nG
Jump to line n

Ctrl f
Jump forward one full screen.

Ctrl b
Jump backwards one full screen

Ctrl d
Jump forward (down) a half screen

Ctrl u
Jump back (up) one half screen

Ctrl o
Jump backwards (out) through the jump list

Ctrl i
Jump forward (in) through the jump list

L
Jump to bottom of screen (low)

M
Jump to middle of screen (middle)

H
Jump to top of screen (“high”)

zt
put this line at the top of the screen

zb
Put this line at the bottom of the screen

zz
Put this line at the middle of the screen

More: http://www.thegeekstuff.com/2009/03/8-essential-vim-editor-navigation-fundamentals/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

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