Added au for json, git alias

+ added git alias for showing the files that were changed/added/removed
for a specific commit
+ added au for json to make it show as JavaScript in vim
This commit is contained in:
Nick Nisi
2012-05-30 15:02:55 -05:00
parent fb55bd7128
commit 8a240bb218
2 changed files with 3 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ if has("autocmd")
"autocmd BufWritePost .vimrc source $MYVIMRC
" save all files on focus lost, ignoring warnings about untitled buffers
autocmd FocusLost * silent! wa
autocmd BufNewFile,BufRead *.json set filetype=javascript
autocmd BufNewFile,BufRead *.ejs set filetype=html
endif