Some VIM configuration variables

Source: Internet
Author: User

The meanings of related variables in some configuration variables of VIM: the abbreviation of the variable name (no) autoindent ai automatic indent means that the new line automatically adds the same indentation as the current line. (No) cindent ci is similar to C language program indentation (no) smartindent si some improved variable name abbreviations Based on autoindent meaning tabstop = X ts when editing how many spaces a TAB character occupies. Shiftwidth = X sw uses the number of spaces Indented by each layer. (No) Whether expandtab (no) et automatically expands the input TAB into spaces. Enter a TAB after enabling. Ctrl-V <TAB> softtabstop = X sts is required to use the backspace key after et is enabled. Each time you exit, X spaces (no) are deleted) when the smarttab (no) sta is enabled, press TAB at the beginning of the line to add sw spaces. Otherwise, add ts spaces.

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.