Introduction to the installation of a force artifact vim

Source: Internet
Author: User
The command vim can start the VIM editor normally we use Vim in the form of a vim target file path   if the target file exists, use VIM to open the file if the destination file does not exist, then create and open the file. Vim has three modes: 1, Command mode  ESC2, Insert mode  i3, ex mode   : After Vim starts, it enters command mode by default, and any mode can be returned to command mode by pressing ESC. Common commands for Command mode are as follows: I    insert text before the cursor o    insert a new line below the current line  (into insert mode) DD   Delete entire line yy put   the contents of the current line into the buffer (copy) n + yy  Place n rows from the line into the buffer p place the    contents of the buffer in the position of the cursor  (sticky) u    undo the last action R    replace the current character/    find keyword    (click n Move) ex mode : Press the: Key in the mode of the command to enter the EX mode. You can save changes and exits in this mode. : W     Save current changes: Q     exit (there will be a hint when not saved): q!    Force exit does not save: X     Save and exit: Set    number displays line numbers:!     System command: SH    switch to command line  (use CTRL + D to switch to VIM)

Introduction to the installation of a force artifact vim

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.