Skip to content

Commit

Permalink
add nnoremap <buffer> <silent> <C-w><C-]> :<C-u>call go#def#Jump(spli… (
Browse files Browse the repository at this point in the history
#838)

* add nnoremap <buffer> <silent> <C-w><C-]> :<C-u>call go#def#Jump(split)<CR>
* add nnoremap <buffer> <silent> <C-w>] :<C-u>call go#def#Jump(split)<CR>
  • Loading branch information
roxma authored and fatih committed May 9, 2016
1 parent 2d9124f commit 927e31a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ftplugin/go.vim
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ if get(g:, "go_def_mapping_enabled", 1)
" useful again for Go source code
nnoremap <buffer> <silent> gd :GoDef<cr>
nnoremap <buffer> <silent> <C-]> :GoDef<cr>
nnoremap <buffer> <silent> <C-w><C-]> :<C-u>call go#def#Jump("split")<CR>
nnoremap <buffer> <silent> <C-w>] :<C-u>call go#def#Jump("split")<CR>
nnoremap <buffer> <silent> <C-t> :<C-U>call go#def#StackPop(v:count1)<cr>
endif

Expand Down

0 comments on commit 927e31a

Please sign in to comment.