Skip to content

Instantly share code, notes, and snippets.

@seanh
Created December 6, 2013 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanh/7832126 to your computer and use it in GitHub Desktop.
Save seanh/7832126 to your computer and use it in GitHub Desktop.
" I manage my vim plugins using vundle:
"
" https://github.com/gmarik/vundle
"
" This file contains my vundle config settings, and also any
" plugin-specific config settings that won't work (and might
" cause vim to complain) if the plugins aren't installed.
"
" To install all the plugins (or any newly added plugins) on a new machine,
" do :BundleInstall in vim or on the command line:
"
" vim -u ~/.vim/bundles.vim +BundleInstall +q
"
" To install *and update* plugins, do :BundleInstall! with a bang.
"
" Note:
" After adding a bundle to this file, if you don't restart vim,
" you need to do :source ~/.vim/bundles.vim before :BundleInstall will see it.
"
" Note:
" Some GitHub users have capital letters in their user names or repo names,
" these capitals need to be included in the Bundle commands below.
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" GitHub repos.
Bundle 'gmarik/vundle'
" Fuzzy file, buffer, most recently used files, and tag finder.
Bundle 'kien/ctrlp.vim'
" vim-addon-mw-utils is needed for SnipMate.
Bundle 'MarcWeber/vim-addon-mw-utils'
" Some of TextMate's snippets features in Vim.
Bundle 'garbas/vim-snipmate'
" Adds some UNIX commands to vim: :Remove, :Move, :Chmod, :SudoWrite, etc.
Bundle 'tpope/vim-eunuch'
" A git wrapper.
Bundle 'tpope/vim-fugitive'
" Add the current git branch to the status line.
set statusline=%<%f\ %h%m%r%{fugitive#statusline()}\ %{SyntasticStatuslineFlag()}%=%-14.(%l,%c%V%)\ %P
" Make the statusline always visible, needed for the fugitive statusline.
set laststatus=2
" Syntax checking.
Bundle 'scrooloose/syntastic'
" Make vim use a different cwd for each tab.
Bundle 'kana/vim-tabpagecd'
" Code-completion engine.
" After installing YouCompleteMe with Vundle, you still need to do:
"
" sudo apt-get install cmake python-dev
" mkdir /tmp/ycm_build
" cd /tmp/ycm_build
" cmake -G "Unix Makefiles" . ~/.vim/bundle/YouCompleteMe/cpp
" make ycm_support_libs
"
" See <http://valloric.github.io/YouCompleteMe/>
Bundle 'Valloric/YouCompleteMe'
" Adds the :Bdelete command that closes a file without closing and split
" windows the file happens to be showing in.
Bundle 'moll/vim-bbye'
" gist-vim requires webapi-vim.
Bundle 'mattn/webapi-vim'
" Post go GitHub Gist from Vim with :Gist
Bundle 'mattn/gist-vim'
let g:gist_browser_command = 'firefox %URL%'
filetype plugin indent on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment