Skip to content

Instantly share code, notes, and snippets.

@gabber12
Created October 18, 2015 14:44
Show Gist options
  • Save gabber12/8995015c3885cfc28002 to your computer and use it in GitHub Desktop.
Save gabber12/8995015c3885cfc28002 to your computer and use it in GitHub Desktop.
execute pathogen#infect()
syntax on
set number
set autoread
nnoremap tl :tabnext<CR>
nnoremap th :tabprev<CR>
nnoremap tn :tabnew<CR>
filetype plugin on
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_python_python_exec = '/usr/local/bin/python3'
set background=dark
colorscheme solarized
let g:solarized_termcolors=256
map <C-n> :NERDTreeToggle<CR>
autocmd InsertLeave * if pumvisible() == 0|pclose|endif
set pastetoggle=<F2>
"let g:syntastic_python_checkers = ['pylint','python','flake8','pep8']
"let g:syntastic_always_populate_loc_list = 1
"let g:syntastic_auto_loc_list = 1
"let g:syntastic_check_on_open = 1
"let g:syntastic_check_on_wq = 0
"
"" size of a hard tabstop
set tabstop=4
"size of an "indent"
set shiftwidth=4
" a combination of spaces and tabs are used to simulate tab stops at a width
" other than the (hard)tabstop
" make "tab" insert indents instead of tabs at the beginning of a line
set smarttab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment