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