Laurent M. said:
Could you give us a hint on the packages and settings you're using for vim?
Some of the bundles I have installed for Javascript (using Vundle):
Bundle 'maksimr/vim-jsbeautify'
Bundle 'einars/js-beautify'
Bundle 'elzr/vim-json'
Bundle 'Shutnik/jshint2.vim'
Bundle 'othree/yajs'
Bundle 'JavaScript-Indent'
And for git (I keep my development work in a private BitBucket Repo):
Bundle 'tpope/vim-fugitive'
And then in my .vimrc for updating lastUpdate:
augroup javascript
function! UpdateTimestamp ()
let l:winview = winsaveview()
silent! execute "%s/\\<lastUpdate\\s*=\\s*\\zs\\d\\+\\ze[,;]$/\\= " . localtime() . "/"
call winrestview(l:winview)
endfunction
autocmd BufWritePre,FileWritePre,FileAppendPre *.js :call UpdateTimestamp()
autogroup END
PM me if you wanna talk VIM in greater detail. =D