Skip to content

Instantly share code, notes, and snippets.

@gnthibault
Last active May 2, 2018 06:40
Show Gist options
  • Save gnthibault/b341d9d1caba3b200d861704899714c5 to your computer and use it in GitHub Desktop.
Save gnthibault/b341d9d1caba3b200d861704899714c5 to your computer and use it in GitHub Desktop.
Google vimrc for python
"dein Scripts-----------------------------
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=/home/gnthibault/.vim/bundle/repos/github.com/Shougo/dein.vim
" Required:
if dein#load_state('/home/gnthibault/.vim/bundle')
call dein#begin('/home/gnthibault/.vim/bundle')
" Let dein manage dein
" Required:
call dein#add('/home/gnthibault/.vim/bundle/repos/github.com/Shougo/dein.vim')
" Add or remove your plugins here:
call dein#add('Shougo/neosnippet.vim')
call dein#add('Shougo/neosnippet-snippets')
call dein#add('scrooloose/nerdtree')
call dein#add('nvie/vim-flake8') "Type F7 to run format analysis
" You can specify revision/branch/tag.
" call dein#add('Shougo/vimshell', { 'rev': '3787e5' })
" Required:
call dein#end()
call dein#save_state()
endif
" Required:
syntax enable
" Indent with 2 spaces
"filetype plugin indent on
set autoindent
set expandtab
set shiftwidth=2
set softtabstop=2
" Line numbering enabled
set number
" 80 char limit
if exists('+colorcolumn')
set colorcolumn=80
else
au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1)
endif
" Starts NerdTree by default.
autocmd vimenter * NERDTree
let g:NERDTreeWinSize=21
" If you want to install not installed plugins on startup.
if dein#check_install()
call dein#install()
endif
"End dein Scripts-------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment