"Configuration file for Vimset modelines=0" cve-2007-2438 "Normally we use vim-extensions. If you want true vi-compatibility ' remove change the following Statementsset nocompatible ' use Vim defaults instead of 100 % VI compatibilityset backspace=2 "more powerful backspacingsyntax on" syntax highlighting autocmd insertleave * SE noculautocmd InsertEnt ER * se cul "highlight current line set Smartindent with light color" smart align set autoindent "Auto align set confirm" when working with unsaved or read-only files, pop-up Confirm set tabstop=4 "TAB key width set so Fttabstop=4set shiftwidth=4 "Unified indentation for 4set Noexpandtab" do not use spaces instead of tab set number "Show line number set history=50" History set Hlsearchset INCSE Arch "search verbatim Fugauliang set Gdefault" in-line replace set Encoding=utf-8set fileencodings=utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936 , utf-16,big5,euc-jp,latin1 "Encoding settings ColorScheme torte" Set the color theme "Set Guifont=menlo:h16:cansi" set the font set LANGMENU=ZN_CN. Utf-8set HELPLANG=CN "language setting set cmdheight=2" command line (in the status line) of the height, default to 1, here is 2set ruler "in the bottom right corner of the editing process, the status line of the cursor position set laststatus=2" Always show status line set ShowCmd "displays the currently executed command in the status line, and the unfinished instruction fragment will also be displayed set scrolloff=3" cursor moves to the top of buffer andAt the bottom, keep 3 lines distance set Showmatch "highlight corresponding parentheses set matchtime=5" corresponds to the time in parentheses highlighting (in the case of a second) set Autowrite "Automatically save the current file set Wildmenu when switching buffer" Command-line AutoComplete in enhanced mode set linespace=2 "Don T write backup file if Vim is being called by" crontab-e "au Bufwrite/private/tmp/cro ntab.* set Nowritebackup nobackup "Don T write backup file if Vim is being called by" chpass "au bufwrite/private/etc/pw.* Set Nowritebackup Nobackup
VIMRC for Mac