Skip to content

Instantly share code, notes, and snippets.

@mtomwing
Forked from anonymous/.vimrc
Last active August 29, 2015 13:56
Show Gist options
  • Save mtomwing/8874639 to your computer and use it in GitHub Desktop.
Save mtomwing/8874639 to your computer and use it in GitHub Desktop.
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'scrooloose/syntastic'
Bundle 'bitc/vim-bad-whitespace'
Bundle 'Valloric/YouCompleteMe'
filetype plugin indent on
" YouCompleteMe
let g:ycm_autoclose_preview_window_after_completion = 1
let g:ycm_filepath_completion_use_working_dir = 1
nnoremap <leader>jd :YcmCompleter GoToDefinitionElseDeclaration<CR>
" Syntastic
let g:syntastic_python_checkers=['flake8']
noremap <F1> :SyntasticCheck<CR>
" Various Stuff
set tabstop=4
set shiftwidth=4
set expandtab
set autoindent
set smarttab
set hlsearch
set number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment