diff options
author | Teddy Wing | 2019-05-17 00:15:15 +0200 |
---|---|---|
committer | Teddy Wing | 2019-05-17 00:15:15 +0200 |
commit | 374c5af58460f437cfaef093ed9f7347b210a5da (patch) | |
tree | 31cc99311be488ffd5bd71474af2f1d37f75b4c2 | |
parent | 6bc32d71c17defab3610c2a112839cbf72fbbc61 (diff) | |
download | dotvim-374c5af58460f437cfaef093ed9f7347b210a5da.tar.bz2 |
ftplugin/go.vim: Add mapping to `:GoTestCompile`
Make it faster to compile tests without running them.
-rw-r--r-- | ftplugin/go.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ftplugin/go.vim b/ftplugin/go.vim index bef148e..fef741b 100644 --- a/ftplugin/go.vim +++ b/ftplugin/go.vim @@ -28,5 +28,6 @@ setlocal commentstring=//\ %s nmap <buffer> Zr :GoRun .<CR> nmap <buffer> Zb <Plug>(go-build) +nmap <buffer> Zc <Plug>(go-test-compile) nmap <buffer> <leader>z <Plug>(go-test) nmap <buffer> <leader>Z <Plug>(go-test-func) |