Vim -- split screen shortcut

Source: Internet
Author: User
Vim -- split screen shortcut: horizontal cutting: split: splitxxx (file name to open): new (create file in new window) & lt; CTRL + W & gt; k: jump to the window above (if it is capital K, it is to adjust the current window to the top) & lt; CTRL + W & gt; j: Jump to the window below (similar to the top )... vim -- split screen shortcut horizontal cut: split xxx (file name to open): new (create file in new window) K: Jump to the window above (if it is capital K, it is to adjust the current window to the top) J: Jump to the following window (similar to the above) vertical cut: vsplit xxx (name of the file to be opened): vnew (create a file in the new window ): only to cancel the split screen, you can use ctrl + press w twice to switch between the three files H: Jump to the left window (if it is uppercase H, it is to adjust the current window to the left) L: Jump to the right window (similar to the top) W: jump between Windows +: Expand the window (or at the current window location, enter the command: res + 9) -: How do I close other windows when the window is reduced? Ctrl + w, o close the current screen: Ctrl + w, c Ctrl + w, w after Ctrl + w, p before the switch focus? Ctrl + w, h four direction Ctrl + w, iCtrl + w, kCtrl + w, l in a window, open three files. Open one, vim + file name, and then enter the path and file name of another file in the vi command input state so that three files can be opened in one window.
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.