Ctrl-W with a direction key moves to the next window in that direction. Ctrl-W c closes the current window. Ctrl-W o closes everything except the current window.
Ctrl-W is the window prefix. After it, h/j/k/l jump to the window in that direction. c closes; o keeps only this one.
Window to the left
Key
Note
Ctrl-W
h
Window below
Key
Note
Ctrl-W
j
Window above
Key
Note
Ctrl-W
k
Window to the right
Key
Note
Ctrl-W
l
Close current window
Key
Note
Ctrl-W
c
Close all other windows
Key
Note
Ctrl-W
o
Cycle through windows
Key
Note
Ctrl-W
w
Switch to previous window
Key
Note
Ctrl-W
p
Ctrl-W h/j/k/l โ move betweenCtrl-W c โ close windowCtrl-W o โ only this one