Skip to content

Instantly share code, notes, and snippets.

@shawngustaw
Last active April 19, 2018 14:47
Show Gist options
  • Save shawngustaw/6c3b1b86fa60cdeec9daa917458d5b7a to your computer and use it in GitHub Desktop.
Save shawngustaw/6c3b1b86fa60cdeec9daa917458d5b7a to your computer and use it in GitHub Desktop.
let g:neocomplete#enable_at_startup = 1
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Plugin 'gmarik/vundle'
Plugin 'scrooloose/nerdtree.git'
Plugin 'davidhalter/jedi-vim.git'
Plugin 'ervandew/supertab'
Plugin 'MarcWeber/vim-addon-mw-utils'
Plugin 'tomtom/tlib_vim'
Plugin 'garbas/vim-snipmate'
Plugin 'honza/vim-snippets'
Plugin 'sjl/gundo.vim.git'
Plugin 'scrooloose/syntastic'
Plugin 'Buffergator'
Plugin 'fatih/vim-go'
Plugin 'editorconfig/editorconfig-vim'
" Now we can turn our filetype functionality back on
filetype plugin indent on
let g:SuperTabDefaultCompletionType = "<c-n>"
set tabstop=4
set shiftwidth=4
set expandtab
set autoindent
set wildmode=list:longest,full
set hlsearch
syntax on
set background=dark
set number
set laststatus=2
set statusline=[%n]\ %<%f%h%m
set backspace=indent,eol,start
set foldmethod=indent
set foldlevel=99
set mouse=nicr
set mouse=r
" for syntastic
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 0
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_exit_checks = 0
" Add the virtualenv's site-packages to vim path
py << EOF
import os.path
import sys
import vim
if 'VIRTUAL_ENV' in os.environ:
project_base_dir = os.environ['VIRTUAL_ENV']
sys.path.insert(0, project_base_dir)
activate_this = os.path.join(project_base_dir,
'bin/activate_this.py')
execfile(activate_this, dict(__file__=activate_this))
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment