#split the same file
:split or vsplit or nsplit or nvsplit // n is a number to define the window lines
#create new window
:new or vnew or knew or nvnew // n is a number to define the window lines
#switch to next window
:ctrl+w w
#open file or dir
:open path_or_file_name
#close current window
:close
#close all other window
:only
#jump to top of the current window
:gg
#jump to bottom of the current window
:GG
// jump around windows
ctrl-w h/j/k/l/t/b // jump to left/below/up/right/top/bottom window
CTRL-W h 跳转到左边的窗口
CTRL-W j 跳转到下面的窗口
CTRL-W k 跳转到上面的窗口
CTRL-W l 跳转到右边的窗口
CTRL-W t 跳转到最顶上的窗口
CTRL-W b 跳转到最底下的窗口
#move window
ctrl-w H/L/J/K // move window to left/right/below/up
#quit windows
:qall
:wall
:wqall
:qall!
阅读(1304) | 评论(2) | 转发(0) |