vimrc: Add GoDecls shortcuts

This commit is contained in:
Rob Watson 2021-04-05 21:56:07 +02:00
parent b44a5c3b21
commit 0a66f9f541
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ nmap <silent> <leader>gt :up<bar>:GoTest!<cr>
nmap <silent> <leader>gT :up<bar>:GoTest<cr> nmap <silent> <leader>gT :up<bar>:GoTest<cr>
nmap <silent> <leader>gf :up<bar>:GoTestFunc!<cr> nmap <silent> <leader>gf :up<bar>:GoTestFunc!<cr>
nmap <silent> <leader>gF :up<bar>:GoTestFunc<cr> nmap <silent> <leader>gF :up<bar>:GoTestFunc<cr>
nmap <silent> <leader>gj :GoDecls<cr>
nmap <silent> <leader>gJ :GoDeclsDir<cr>
nmap <silent> K <plug>(lsp-hover) nmap <silent> K <plug>(lsp-hover)
nmap <silent> <leader>gk :GoDocBrowser<cr> nmap <silent> <leader>gk :GoDocBrowser<cr>