Vim split Screen

Source: Internet
Author: User

When using VIM to split the screen, you can enter directly at the terminal

vim-on 1.php 2.php 3.php

Vertical split screen three files

What if you want to open another file in a window?

Press ESC, and then press the colon to enter

Enter to get

Of course I got a horizontal window here, and I want a vertical window to do that.

Same VI 1.php

Enter and then press the ESC colon, input vspli 2.php

Get

Use Ctrl+w+l and ctrl+w+h to switch around or up or down

Split screen does give people a very mysterious feeling, be able to preview several files at the same time, this is not the other editor can not do, in front of others to try Sledgehammer, ha haha (cover face ...) )

Vim split Screen

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.