1. Splitting panes
Ctrl-w n
:
split horizontal pane (editing new buffer)Ctrl-w s
or ":spit" : split horizontal pane (editing current buffer) Ctrl-w v
or ":vsplit" :
split vertical pane (editing current buffer)2. Closing panes
Ctrl-w c
or ":q": close pane Ctrl-w o
:
close all panes, only current pane opened3. Navigating panes
Ctrl-w w
: switch to next pane Ctrl-w p
:
switch to previous paneCtrl-w Up
: switch to up pane Ctrl-w Down
:
switch to down paneCtrl-w Left
: switch to left pane Ctrl-w Right
:
switch to right paneRefer to
http://codeincomplete.com/posts/split-windows-and-tabs-in-vim/
沒有留言:
張貼留言