Vim Help system and function settings

Source: Internet
Author: User
Tags set background

Help on viewing Help in System 1.vim
    • Press F1 vim to open your own preset help document in normal mode
    • Enter :h shiftwidth shiftwidth The open Help file in command line mode
    • Input :ver display version and parameters in command line mode
function setting of 1.vim function

Can be set when editing the file function settings, such as the command line mode input :set nu (display number of lines), set value exit Vim will not be saved. To permanently save the configuration, you need to modify the Vim configuration file. Vim configuration file ~/.vimrc , you can open the file for modification, but be careful not to affect the normal use of vim

2. Get the current settings
    • Enter :set or :se display all modified configurations in command line mode
    • command-line mode input :set all displays all the SetPoint values
    • Command-line mode :set option? to enter a setting value that displays option
    • Command line mode to enter the :set nooption cancel current set value
Description of the 3.set function
    • :set autoindent(ai)automatic indentation of input settings in command line mode
    • Command line mode input :set autowrite(aw) set AutoArchive, default not open
    • Enter or in command line :set background=dark mode light , set the background style
    • Command line mode input :set backup(bk) set automatic backup, default not open
    • Command line mode input : set cindent(cin) set C language style indent

For more detailed parameters, please refer to the VIM manual

Vim Help system and function settings

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.