switch windows in vimdiff

8,867 views
Skip to first unread message

kevi...@gmail.com

unread,
Oct 27, 2006, 2:44:20 PM10/27/06
to bash tips
To switch windows in vimdiff or
to navigate windows in vimdiff or
to change windows in vimdiff try the following:

The ":vertical" command can be inserted before another command that
splits a window.

MOVING BETWEEN WINDOWS

CTRL-W h move to the window on the left
CTRL-W j move to the window below
CTRL-W k move to the window above
CTRL-W l move to the window on the right

CTRL-W t move to the TOP window
CTRL-W b move to the BOTTOM window

Moving windows
=====

CTRL-W K move window to the upper
CTRL-W H move window to the far left
CTRL-W J move window to the bottom
CTRL-W L move window to the far right

=====================

I post this info because I has so much trouble finding it.

Reply all
Reply to author
Forward
0 new messages