My VIM configuration

Source: Internet
Author: User

"VundleSetNocompatible"Be improved, requiredFileType off"Required"set the runtime path to include Vundle and initializeSetrtp+=~/.vim/bundle/vundle.vimcall vundle#begin ()"Alternatively, pass a path where vundle should install plugins"Call vundle#begin (' ~/some/path/here ')"Let Vundle manage Vundle, requiredPlugin'Gmarik/vundle.vim'"The following is examples of different formats supported."Keep Plugin commands between vundle#begin/end."plugin on GitHub repoPlugin'tpope/vim-fugitive'"plugin from http://vim-scripts.org/vim/scripts.htmlPlugin'L9'"Git plugin not hosted on GitHub"Plugin ' Git://git.wincent.com/command-t.git '"git repos on your local machine (i.e. when working on your own plugin)"Plugin ' File:///home/gmarik/path/to/plugin '"The sparkup vim script is in a subdirectory of this repo called Vim."Pass The path to set the Runtimepath properly.Plugin'Rstacruz/sparkup', {'RTP':'vim/'}plugin'Scrooloose/nerdtree'Plugin'Chiel92/vim-autoformat'Plugin'Valloric/youcompleteme'"All of your Plugins must is added before the following lineCall Vundle#end ()"RequiredFileType plugin indent on"Required"to ignore plugin indent changes, instead use:"filetype plugin on""Brief Help":P luginlist-lists configured plugins":P lugininstall-installs plugins, append '! ' to update or just:P luginupdate":P luginsearch foo-searches for foo, append '! ' to refresh local cache":P luginclean-confirms removal of unused plugins; Append '! ' to auto-approve removal""see:h Vundle For more details or wiki for FAQ"Put your non-plugin stuff after this line"Normal SettingsSetNobackupSetNoswapfileSetHlsearchSetIncsearchSetNumber"Show Line NumbersSetAutoindent"Set auto indent: The indent value for each line is equal to the previous line; Use Noautoindent to cancel the settingSetCindent"set up automatic indentation using C + + languageSetsmartindentSetShiftwidth=4  "sets the number of spaces for indentation to 4Settabstop=4 "set (Soft) tab width to 4:Setsofttabstop=4  "NedtreeMap <F4>:nerdtreemirror<cr>Map<F4>:nerdtreetoggle<cr>"Vim-autoformatNoremap <F3>:autoformat<cr><cr>

My VIM 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.