Comnfigure new plugin, tweak jsx support, and make pasting code samples saner.

This commit is contained in:
Thomas Gideon 2015-03-27 11:27:36 -04:00
parent 27eae4d6ce
commit 4d14ba77da

8
vimrc
View file

@ -34,6 +34,12 @@ set sbr=+
set laststatus=2
" configure airline, advanced status line plugin
let g:airline#extensions#tagbar#enabled = 1
" configure syntastic, advanced syntax checker
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_javascript_checkers = ['jsxhint']
" set up folding preferences
set fde=1
set fdm=syntax
@ -52,6 +58,8 @@ set smartcase
" disable outdated data loss protections
set nobackup
set noswapfile
" make pastemode more accessible
set pastetoggle=<F2>
" quickly toggle a right, vsplit for viewing, navigating whatever structure easy
" tags/tagbar can figure out for the current buffer