From 7c6f3f5255d5b21da13ae089392bce806507d636 Mon Sep 17 00:00:00 2001 From: roxma Date: Sat, 7 May 2016 11:18:37 +0800 Subject: [PATCH 1/2] add nnoremap :call go#def#Jump(split) --- ftplugin/go.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/ftplugin/go.vim b/ftplugin/go.vim index e9d2b00ca4..ec6d177c47 100644 --- a/ftplugin/go.vim +++ b/ftplugin/go.vim @@ -33,6 +33,7 @@ if get(g:, "go_def_mapping_enabled", 1) " useful again for Go source code nnoremap gd :GoDef nnoremap :GoDef + nnoremap :call go#def#Jump("split") nnoremap :call go#def#StackPop(v:count1) endif From 6029580e59cef5a5c786b0fa5d28adbcd67772c6 Mon Sep 17 00:00:00 2001 From: roxma Date: Mon, 9 May 2016 09:53:59 +0800 Subject: [PATCH 2/2] add nnoremap ] :call go#def#Jump(split) --- ftplugin/go.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/ftplugin/go.vim b/ftplugin/go.vim index ec6d177c47..f322ea3984 100644 --- a/ftplugin/go.vim +++ b/ftplugin/go.vim @@ -34,6 +34,7 @@ if get(g:, "go_def_mapping_enabled", 1) nnoremap gd :GoDef nnoremap :GoDef nnoremap :call go#def#Jump("split") + nnoremap ] :call go#def#Jump("split") nnoremap :call go#def#StackPop(v:count1) endif