Friday, June 27, 2008

Vim Movements - Some Common , Some Not so much

ESC + H Moves to the line at the top of the screen.
ESC + M Moves to the line in the middle of the screen.
ESC + L Moves to the line at the bottom of the screen.


[Ctrl-F] Move forwards one page.
[Ctrl-B] Move backwards one page.
[Ctrl-D] Move forwards by half a page.
[Ctrl-U] Move backwards by half a page.
[Ctrl-E] Display one more line at the bottom of the screen.
[Ctrl-Y] Display one more line at the top of the screen.

Reference : http://en.wikibooks.org/wiki/Learning_the_vi_editor/vi_Reference#Movement

No comments: