Vim Note (5)

Source: Internet
Author: User

Settings for the. VIMRC

$HOME General settings for/.VIMRC, such as the following.

Set nocompatible "" Not Compatible with VI "" Encodings and Fontsset Encoding=utf-8set Fileencoding=utf-8set fileencodings =ucs-bom,gb18030,gbk,gb2312,cp936set Termencoding=utf-8set LANGMENU=ZH_CN. Utf-8language messages ZH_CN. Utf-8set guifontset=wenquanyi,-*-16-*-*-* "" tab and Backspaceset sw=2set tabstop=4set shiftwidth=4set cindentset Smartindentset autoindentset Backspace=indent,eol,start "set backspace" "Displayset number" "Show line Numberse T ruler "always show Positionset cursorline" "Highlight the current Lineset showcmd" "Searchingset I  Gnorecase "" Search Settingset incsearchset hlsearchset showmatchset history=100highlight Search Term=reverse ctermbg=4 Ctermfg=7 "" Syntax and color schemesyntax enablefiletype plugin indent on "ColorScheme tortecolorscheme defaulthighlight C  Omment ctermfg=greyhighlight Normal Ctermfg=grey ctermbg=darkblue "" "" "" "" "" "" "" "" "" "" "Autocmd Filetype C Set   Omnifunc=ccomplete#completeautocmd Filetype HTMLSet Omnifunc=htmlcomplete#completetagsautocmd Filetype XML set Omnifunc=xmlcomplete#completetagsautocmd Filetype Python set Omnifunc=pythoncomplete#completetagsautocmd Filetype Tex set Omnifunc=syntaxcomplete#complete "" "" "" "" English spelling checker, "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "." Set spell spelllang=en_ussetlocal spell Spelllang=en_ushighlight Clear Spellbadhighlight Spellbad term=standout ctermfg=1 term=underline cterm= Underlinehighlight Clear Spellcaphighlight spellcap term=underline cterm=underlinehighlight Clear SpellRarehighlight Spellrare term=underline cterm=underlinehighlight Clear spelllocalhighlight spelllocal term=underline cterm=underline "" "" "" "" "" "" "" "" "" "" "" "" ""

Vim Note (5)

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.