Browse files

Add vim commands for go

  • Loading branch information...
1 parent 2d0b176 commit 89ad92455545c7e89185a25210c84919ec1a1203 @ascarter committed Jul 21, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/vimrc
@@ -93,6 +93,9 @@ autocmd FileType go compiler go
autocmd BufNewFile,BufReadPost *.coffee setl foldmethod=indent
autocmd BufNewFile,BufReadPost *.coffee setl shiftwidth=2 expandtab
+autocmd FileType go autocmd BufWritePre <buffer> Fmt
+autocmd FileType go compiler go
" Don't create extra files
"set nobackup
"set nowritebackup

0 comments on commit 89ad924

Please sign in to comment.