Added automatic go-imports and new command to git

This commit is contained in:
Tony Grosinger 2015-02-02 15:42:58 -08:00
parent af9212a7ea
commit 6fbcc8fe51
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@
cr = difftool --dir-diff
type = cat-file -t
dump = cat-file -p
hist = log --pretty=format:\"%C(yellow)%h %C(blue)%ad %C(red)%d %C(reset)%s %C(green)[%an]\" --decorate --graph --date=short --all
[push]
default = simple
[core]

1
.vimrc
View File

@ -76,6 +76,7 @@ let g:undotree_SplitWidth = 30
NeoBundle 'fatih/vim-go'
au FileType go nmap <Leader>gb <Plug>(go-doc)
au FileType go nmap <Leader>gd <Plug>(go-def-tab)
let g:go_fmt_command = "goimports"
" Python Support
NeoBundle 'klen/python-mode'