From 927e31ad24517395274def740d49a2bc840d4a7e Mon Sep 17 00:00:00 2001 From: rox Date: Mon, 9 May 2016 20:17:12 +0800 Subject: [PATCH] =?UTF-8?q?add=20nnoremap=20=20=20=20:call=20go#def#Jump(spli=E2=80=A6=20(#838)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add nnoremap :call go#def#Jump(split) * add nnoremap ] :call go#def#Jump(split) --- ftplugin/go.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ftplugin/go.vim b/ftplugin/go.vim index e9d2b00ca4..f322ea3984 100644 --- a/ftplugin/go.vim +++ b/ftplugin/go.vim @@ -33,6 +33,8 @@ 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#Jump("split") nnoremap :call go#def#StackPop(v:count1) endif