From 577b9e0f6f55b661edede1eb072c8576014afec9 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 10 May 2019 23:28:02 +0200 Subject: ftplugin/go.vim: Add a few mappings to Vim-Go Mappings to build projects and run tests. --- ftplugin/go.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ftplugin/go.vim') 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 O O " Comment string setlocal commentstring=//\ %s + + +nmap Zr (go-run) +nmap Zb (go-build) +nmap z (go-test) +nmap Z (go-test-func) -- cgit v1.2.3