vim routine use

vim stuck

  When using vim, press the Ctrl + s, you can not enter anything, like a dead general, in fact vim and did not die, then just stop vim to the output terminal only, in order to exit this state, just press Ctrl + q to return to normal.

 

: E filename jump vim file

: open file
can then open a file

Display multiple files (split screen): :
Split
: vsplit

File switching between
Ctrl + 6- next file
: bn- a next file
: a file on bp-

In the method of switching between the panes
Ctrl + w + arrow key - before switching to the up / down / up / rear pane
Ctrl + w + h / j / k / l - Ibid
Ctrl + ww-- sequentially switched back to the next pane

Guess you like

Origin www.cnblogs.com/plxm/p/12146228.html