Skip to content

Commit

Permalink
support <C-LeftMouse> as well
Browse files Browse the repository at this point in the history
  • Loading branch information
lilydjwg committed Apr 18, 2017
1 parent b4936d8 commit 2cedbb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ftplugin/go.vim
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ 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-LeftMouse> :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>
Expand Down

0 comments on commit 2cedbb9

Please sign in to comment.