Vim Common Configuration

Source: Internet
Author: User
Tags eol

"is more compatible with Viset NOCP" set the BACKSPACE key to work "indent: Set auto indent, want to use backspace key to indent the field by deleting" EOL: If the insertion mode starts at the beginning of the row, you want to merge two rows by backspace: "Start to delete the previous input set Backspace=indent,eol,start "Show line Numbers set number" in the edit process, the lower-right corner of the cursor appears in the row and column message set ruler "When a line of text procedure does not wrap the set nowrap" in the status bar displays the command set being entered ShowCmd "Set History bar Number set history=1000" Cancel backup set Nobackup "Prevent temporary files from generating set Noswapfile" highlight current row set Cursorline "Highlight current column (not recommended)" set Cursorcolumn "Set match mode is similar when entering an opening parenthesis that matches the appropriate closing parenthesis set Showmatch" set the C + + mode to automatically align set autoindentset cindent "setting syntax highlighting syntax Enablesyntax on "Specify color scheme for 256 color set t_co=256" When searching ignores case set ignorecase "Enable mouse set Mouse=a" Set tab width (several spaces) set tabstop=4 " Sets the number of spaces that are automatically set shiftwidth=4 "sets the number of spaces that are deleted when you press BACKSPACE set SOFTTABSTOP=4" sets the number of spaces that are deleted at a time by the backspace set smarttab the TAB key is automatically changed to a space set Expandtab Set encoding format set Encoding=utf-8 "Automatically determine the encoding, then try encoding set FILEENCODINGS=UCS-BOM,UTF-8,CP936,GB18030,BIG5" detect file type filetype on " Different indentation schemes for different files filetype indent on "Allow plug-in filetype plugin on" Start smart completion filetype plugin indent on "must configure set using Vundle Nocompatiblefiletype offset Rtp+=~/.vim/bundle/vundle/call VUNDLE#RC () "Use Vundle to manage Vundlebundle ' Gmarik/vundle '" Status bar Enhanced display bundle ' LokAltog/vim-powerline ' "C + + auto complement" bundle ' valloric/youcompleteme ' bundle ' yankring.vim ' bundle ' showpairs ' Set Laststatus=2set t_co=256let g:powerline_symbols= ' fancy ' filetype plugin indent on

Vim Common Configuration

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.