Comnfigure new plugin, tweak jsx support, and make pasting code samples saner.
This commit is contained in:
parent
27eae4d6ce
commit
4d14ba77da
1 changed files with 8 additions and 0 deletions
8
vimrc
8
vimrc
|
@ -34,6 +34,12 @@ set sbr=+
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
" configure airline, advanced status line plugin
|
" configure airline, advanced status line plugin
|
||||||
let g:airline#extensions#tagbar#enabled = 1
|
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 up folding preferences
|
||||||
set fde=1
|
set fde=1
|
||||||
set fdm=syntax
|
set fdm=syntax
|
||||||
|
@ -52,6 +58,8 @@ set smartcase
|
||||||
" disable outdated data loss protections
|
" disable outdated data loss protections
|
||||||
set nobackup
|
set nobackup
|
||||||
set noswapfile
|
set noswapfile
|
||||||
|
" make pastemode more accessible
|
||||||
|
set pastetoggle=<F2>
|
||||||
|
|
||||||
" quickly toggle a right, vsplit for viewing, navigating whatever structure easy
|
" quickly toggle a right, vsplit for viewing, navigating whatever structure easy
|
||||||
" tags/tagbar can figure out for the current buffer
|
" tags/tagbar can figure out for the current buffer
|
||||||
|
|
Loading…
Reference in a new issue