Skip to content

Instantly share code, notes, and snippets.

@sdamian
Created May 17, 2015 20:57
Show Gist options
  • Save sdamian/0b6e2ce85d1ee6470561 to your computer and use it in GitHub Desktop.
Save sdamian/0b6e2ce85d1ee6470561 to your computer and use it in GitHub Desktop.
execute pathogen#infect()
syntax on
filetype on
filetype plugin on
filetype plugin indent on
set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab
set hlsearch " highlight search terms
set incsearch " show search matches as you type
nnoremap <CR> :noh<CR><CR>
set mouse=a " enable the mouse
"SYNTASTIC
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
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
let g:syntastic_python_checkers = ['pylint']
let g:syntastic_json_checkers = ['jsonlint']
" Better :sign interface symbols
let g:syntastic_error_symbol = '✗'
let g:syntastic_warning_symbol = '!'
" make sure we have filetype for json files
au BufRead,BufNewFile *.json set filetype=json
" NERDTREE
map <C-n> :NERDTreeToggle<CR>
" autocmd vimenter * NERDTree
" AIRLINE
set t_Co=256
let g:airline#extensions#tabline#enabled = 1
set laststatus=2
let g:airline_powerline_fonts = 1
"ctrl+p
set runtimepath^=~/.vim/bundle/ctrlp.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment