From 4ae076e5fa9f7533c40b2dfd77440fd0e38e32c7 Mon Sep 17 00:00:00 2001 From: Patrick Cao Huu Thien Date: Wed, 17 Dec 2025 22:45:39 +0100 Subject: [PATCH] vim: add \t for GoTestFunc --- .vimrc_vundle | 4 ++++ 1 file changed, 4 insertions(+) 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'