[Vim]vim Use Notes-split screen operation

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.