Vim builds the IDE for development

Source: Internet
Author: User
Tags git clone

Personal plugins and configurations

SetNocompatible"To Remove the VI consistency, you must addFileType off"you have to add"Advanced Keys": qa! Close all the tabsSetCursorlineSetNu"parameter for CtagsSetAutochdirSettags=tags;"parameter for Nerdtree"autocmd vimenter * Nerdtree"Let Nerdtreeshowbookmarks=1Let nerdtreeshowlinenumbers=1Map<F2>:nerdtreetoggle<cr>Map<F3>:tlist<cr>Map<F4>:ctrlp<cr>Map<F9>: mksession! ~/vim_session <CR>Map<F10>: Source ~/vim_session <CR>"parameter for airlineLet g:airline_powerline_fonts=1Let g:airline#extensions#tabline#enabled=1SetGuifont=sauce\ code\ powerline\ Regular"parameter for CTRLPLet G:ctrlp_map ='c-p' "Hotkey Ctrl+p Open CTRLP pluginLet G:ctrlp_cmd ='CTRLP'Let g:ctrlp_working_path_mode='0' "Disable work Path modeSetWildignore+=*/tmp/*, *.so,*.swp,*.zip "setting includes Vundle and initialization related runtime Pathset Rtp+=~/.vim/bundle/vundle.vimcall vundle#begin ()" "Another option, Specify a path for the Vundle installation plug-in "" Call Vundle#begin (' ~/some/path/here ') "" to let Vundle manage the plug-in version, must be "Make-p ~/.vim/bundle" CD ~/.vim/bundle " git cloneHttps://github.com/VundleVim/Vundle.vim.git"Cmd:bundleinstallplugin ' Vundlevim/vundle.vim '" "The following example is used to support plug-in installation in different formats." "Please place the command to install the plug-in between Vundle#begin and Vundle#end." "Plugin on GitHub" "Format Plugin ' username/plugin repository name '" Plugin ' tpope/vim-fugitive ' "[cmd]: Nerdtree" <: nerdtree > Open or Close th e function "< O > Open all the Folders" < X > Close all the Foldersplugin ' Scrooloose/nerdtree ' "Plugin ' Lokal Tog/vim-powerline ' Plugin ' airblade/vim-gitgutter ' Plugin ' kien/ctrlp.vim ' "Plugin ' yggdroot/leaderf ' Plugin ' Vim-airline/vim-airline ' Plugin ' szw/vim-tags ' Plugin ' Vim-scripts/taglist.vim ' "" fromhttp://vim-scripts.org/vim/scripts.htmlthe plugin "" Plugin ' plugin name ' is actually Plugin ' vim-scripts/plugin repository name ' "Just here the user name can be omitted" Plugin ' L9 ' "" Git supported but no longer github on the plugin repository Plugin ' git Clone the address ' "Plugin ' git://git.wincent.com/command-t.git '" "Local Git repository (for example your own plugin) Plugin ' file:///+ local plugin repository absolute path '" Plugin ' File:///home/gmarik/path/to/plugin ' "" plugin is in a subdirectory of the repository. " "Specify the path correctly to set the Runtimepath. The following example plugin in the Sparkup/vim directory "Plugin ' Rstacruz/sparkup ', {' RTP ': ' vim/'}" "Install L9, if you have installed this plugin, you can use the following format to avoid naming conflicts" Plugin "Ascenator /l9 ', {' name ': ' NewL9 '} "all your plugins need to be in this line before call Vundle#end ()" must filetype plugin indent on "must be" loaded vim comes with the appropriate syntax and file type related scripts for the plugin " "Ignore plugin change indentation, you can use the following substitution:" "filetype plugin on" "" "" "" "Common Command" ":P luginlist-List all configured plugins" ":P lugininstall-Install plugin, append '! ' to update or use :P luginupdate "":P luginsearch foo-search foo; Append '! ' clears local cache "":P Luginclean-clears unused plugins and needs confirmation; Append '! ' automatically approve remove unused plugin "" "Lookup: H vundle get more details and wiki and FAQ" "After you put your own non-plug-in fragments on this line

Vim builds the IDE for development

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.