diff --git a/.vimrc_vundle b/.vimrc_vundle index 75cd20c..89a789b 100755 --- a/.vimrc_vundle +++ b/.vimrc_vundle @@ -338,6 +338,10 @@ autocmd FileType go nmap m (go-test) autocmd FileType go nmap a :GoAlternate autocmd FileType go nmap gd (go-def) autocmd FileType go set foldmethod=syntax +" go test +autocmd FileType go nmap t :GoTestFunc +let g:go_test_show_name = 1 +let g:go_test_timeout = '2s' " :Refactor extract newfunc " Plugin 'godoctor/godoctor.vim'