Vim configuration example

Source: Internet
Author: User

The following is a record of VIM configurations that I am used ~ _~

"File encoding set fileencoding = utf-8set encoding = utf-8set termencoding = UTF-8" enable syntax highlighting syntax enable "prevents adding a Line Break Set noendoflineset binary" tabulation width set softtabstop = 4 set tabstop = 4 set shiftwidth = 4 set expandtab "auto indent alignment set autoindent" display row number "set nu" Set background, the "set BG = Dark" code folding "set foldmethod = indent" backspace function set backspace = indent, EOL, start "is always displayed on the tab bar, vim7 "set showtabline = 2" highlight search term set hlsearch "show the row where the cursor is located set r133" is required to disable F1's help function, prevent misoperation: "NMAP <F1> <ESC>" imap <F1> <ESC> "sets nerdtreemap <F3>: nerdtreemirror <CR> Map <F3>: nerdtreetoggle <CR>

 

Vim configuration example

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.