|
|
|
@ -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,7 +80,6 @@ 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 shiftwidth=4 " unify
|
|
|
|
|
set softtabstop=4 " Pressing backspace works like tabs
|
|
|
|
|