aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/go.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/go.vim')
-rw-r--r--ftplugin/go.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/ftplugin/go.vim b/ftplugin/go.vim
index 4ea991b..a49cab3 100644
--- a/ftplugin/go.vim
+++ b/ftplugin/go.vim
@@ -24,3 +24,9 @@ nnoremap <buffer> O O
" Comment string
setlocal commentstring=//\ %s
+
+
+nmap <buffer> Zr <Plug>(go-run)
+nmap <buffer> Zb <Plug>(go-build)
+nmap <buffer> <leader>z <Plug>(go-test)
+nmap <buffer> <leader>Z <Plug>(go-test-func)