From 4d14ba77da24c65dea8f039e8846cd72671cc2bc Mon Sep 17 00:00:00 2001 From: Thomas Gideon Date: Fri, 27 Mar 2015 11:27:36 -0400 Subject: [PATCH] Comnfigure new plugin, tweak jsx support, and make pasting code samples saner. --- vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vimrc b/vimrc index 4f943c2..e79d338 100644 --- a/vimrc +++ b/vimrc @@ -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= " quickly toggle a right, vsplit for viewing, navigating whatever structure easy " tags/tagbar can figure out for the current buffer