Add settings for nerdtree and jshint
This commit is contained in:
parent
52a5db38ac
commit
c16ceb0b6c
8
vimrc
8
vimrc
@ -46,12 +46,15 @@ map <F12> ggVGg? " apply rot13 for people snooping over shoulder, good fun
|
|||||||
" snipMate Settings
|
" snipMate Settings
|
||||||
let g:snips_author = "Buddy Sandidge <buddysandidge@gmail.com>"
|
let g:snips_author = "Buddy Sandidge <buddysandidge@gmail.com>"
|
||||||
|
|
||||||
|
" Nerdtree settings
|
||||||
|
let NERDTreeDirArrows=1
|
||||||
|
|
||||||
" Prep some variables for use with syntastic syntax checker
|
" Prep some variables for use with syntastic syntax checker
|
||||||
let g:syntastic_phpcs_disable=1
|
let g:syntastic_phpcs_disable=1
|
||||||
let g:syntastic_auto_loc_list=0
|
let g:syntastic_auto_loc_list=0
|
||||||
let g:syntastic_stl_format = '[%E{Err: %fe #%e}%B{, }%W{Warn: %fw #%w}]'
|
let g:syntastic_stl_format = '[%E{Err: %fe #%e}%B{, }%W{Warn: %fw #%w}]'
|
||||||
let g:syntastic_javascript_checker = "jslint"
|
let g:syntastic_javascript_checker = "jshint"
|
||||||
let g:syntastic_jslint_conf = ""
|
let g:syntastic_jslint_conf = "~/.jshintrc"
|
||||||
|
|
||||||
" Close all open buffers on entering a window if the only
|
" Close all open buffers on entering a window if the only
|
||||||
" buffer that's left is the NERDTree buffer
|
" buffer that's left is the NERDTree buffer
|
||||||
@ -77,7 +80,6 @@ map <leader>tl :tablast<cr>
|
|||||||
map <leaderctm :tabmove
|
map <leaderctm :tabmove
|
||||||
|
|
||||||
" Tabs
|
" Tabs
|
||||||
"set noexpandtab " expandtab converts tabs to spaces. For tabs, set noexpandtab
|
|
||||||
set expandtab " expandtab converts tabs to spaces. For tabs, set noexpandtab
|
set expandtab " expandtab converts tabs to spaces. For tabs, set noexpandtab
|
||||||
set shiftwidth=4 " unify
|
set shiftwidth=4 " unify
|
||||||
set softtabstop=4 " Pressing backspace works like tabs
|
set softtabstop=4 " Pressing backspace works like tabs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user