VIMRC for Mac

Source: Internet
Author: User

"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

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.