Linux Vim Common options

Source: Internet
Author: User

  • Vim command
      • Three different modes
        • Command mode
        • Insert mode
        • Last Linemode Bottom line mode
      • Bottom-line mode common commands
        • : W Save
        • : Q exit
        • :! + command
          • :! Ls
            • Represents a temporary departure from vim to the command line mode to execute the LS command
          • : LS
            • Indicates that the result of the LS command is displayed without leaving vim directly
        • : N
          • : 15 means jump to line 15th
        • /XXX indicates backward search
        • ? XXX indicates a forward search
        • Set Nu sets line number
      • Command mode common directives
        • -H cursor shifts left
        • -J cursor Move Down
        • -K cursor Move up
        • -L Cursor Right shift
        • CTRL + F PAGE DOWN (front)
        • CTRL + B PAGE UP (back)
        • CTRL + D turn down half page (down)
        • CTRL + U Upside down Half page (UP)
        • DD Delete the line where the cursor is located
        • o Insert a row below the line where the cursor is located and switch to input mode
        • YY the line where the cursor is copied
        • P paste at the bottom of the line where the cursor is located
        • P paste above the line where the cursor is located
        • N jumps to the next search result
        • N jumps to the previous search result

Linux Vim Common options

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.