Skip to content

Instantly share code, notes, and snippets.

@MauricioCarneiro
Last active March 12, 2016 09:13
Show Gist options
  • Save MauricioCarneiro/9547864 to your computer and use it in GitHub Desktop.
Save MauricioCarneiro/9547864 to your computer and use it in GitHub Desktop.
C++11 vim development environment configuration (vimrc)
" Vundle configuration
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/vundle/ " set the runtime path to include Vundle and initialize
call vundle#begin()
" Plugins
Bundle 'gmarik/vundle'
Bundle 'Valloric/YouCompleteMe'
Bundle 'a.vim'
Bundle 'wincent/Command-T'
Bundle 'DoxygenToolkit.vim'
Bundle 'scrooloose/nerdtree'
Bundle 'godlygeek/tabular'
Bundle 'tpope/vim-sensible'
Bundle 'tpope/vim-unimpaired'
Bundle 'tpope/vim-endwise'
Bundle 'tpope/vim-fugitive'
Bundle 'jeffkreeftmeijer/vim-numbertoggle'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'Mizuchi/STL-Syntax'
Bundle 'tomtom/tcomment_vim'
Bundle 'majutsushi/tagbar'
Bundle 'julialang/julia-vim'
"Bundle 'SirVer/ultisnips'
" Vim environment options
syntax on
set nowrap
set expandtab
set number
set tabstop=2
set shiftwidth=2
set visualbell
set noerrorbells
set cursorline
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" GVim / MacVim config
colorscheme desert
" YouCompleteMe options
let g:ycm_confirm_extra_conf = 0
let g:ycm_autoclose_preview_window_after_completion = 1
let g:ycm_autoclose_preview_window_after_insertion = 1
" NerdTree options
map <C-t> :NERDTreeToggle<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment