Skip to content

Instantly share code, notes, and snippets.

@dbrent-amazon
Created April 21, 2016 22:40
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 dbrent-amazon/f98548ed1181893a51cde4e067d59368 to your computer and use it in GitHub Desktop.
Save dbrent-amazon/f98548ed1181893a51cde4e067d59368 to your computer and use it in GitHub Desktop.
filetype off
execute pathogen#infect()
set nocompatible
filetype indent plugin on
syntax on
colo fraket
set modeline
set number
set tabstop=4
set expandtab
set shiftwidth=4
set softtabstop=4
set background=dark
set backspace=indent,eol,start
set autoread
set ruler
map <C-j> <C-W>j
map <C-k> <C-W>k
map <C-h> <C-W>h
map <C-l> <C-W>l
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_python_python_exec = '/usr/local/bin/python3'
let g:EnErrorStyle='EnError'
let g:autopep8_disable_show_diff=1
set laststatus=2
au BufNewFile,BufRead *.py
\ set textwidth=79
au BufNewFile,BufRead *.html,*.htm,*.shtml,*.stm set ft=jinja
let mapleader="\<Space>"
noremap <leader>1 1gt
noremap <leader>2 2gt
noremap <leader>3 3gt
noremap <leader>4 4gt
noremap <leader>5 5gt
noremap <leader>6 6gt
noremap <leader>7 7gt
noremap <leader>8 8gt
noremap <leader>9 9gt
set undodir=~/.vim/undodir
set undofile
set undolevels=1000 "maximum number of changes that can be undone
set undoreload=10000 "maximum number lines to save for undo on a buffer reload
au VimEnter * RainbowParenthesesToggle
au Syntax * RainbowParenthesesLoadRound
au Syntax * RainbowParenthesesLoadSquare
au Syntax * RainbowParenthesesLoadBraces
let g:airline_theme='wombat'
set guifont=Cousine\ for\ Powerline
let g:airline_powerline_fonts = 1
let g:jedi#force_py_version = 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment