From f339ca24297c9749d7371efd76131ef842abc5c4 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 17 Feb 2020 23:01:20 +0100 Subject: ftplugin/go.vim: Add mapping to show alternate file Use `z` to swap between test and implementation files. Gives me a faster way to navigate. --- ftplugin/go.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'ftplugin') diff --git a/ftplugin/go.vim b/ftplugin/go.vim index 7f85703..307ba6b 100644 --- a/ftplugin/go.vim +++ b/ftplugin/go.vim @@ -31,3 +31,4 @@ nmap Zc (go-test-compile) nmap Zf (go-imports) nmap z (go-test) nmap Z (go-test-func) +nmap z (go-alternate-edit) -- cgit v1.2.3