We often have to open multiple files, different Windows operation of multiple files, split screen is very useful.
1 Command mode:: New, new file and split screen, shortcut keys, ctrl+w, and then immediately press N: Spilt horizontal split screen, the current screen is divided into two, horizontal. Ctrl + W, s:vsplit vertical split screen, the current screen is divided into two, vertical. Ctrl + W, v:only cancel the split screen, cancel the current screen, the current screen refers to the cursor screen.
2 Close the current screen: Ctrl+w,c. 3. How do I switch focus? CTRL + W, w after a CTRL + W, p previous Ctrl + W, h Four Directions Ctrl + W, Ictrl + W, Kctrl + W, l 4. How do I close other windows? Ctrl + W, o 5. Load file: vs file path/filename Open file in new vertical split screen: SV file path/filename Open file in new horizontal split screen
This article is from the "Orangleliu Notebook" blog, reproduced please be sure to keep this source http://blog.csdn.net/orangleliu/article/details/41745933
Author Orangleliu using Attribution-NonCommercial-sharing protocol in the same way
[Vim]vim Use Notes-split screen operation