vimrc: Update Go mappings
This commit is contained in:
parent
fe84eabb40
commit
e6246f54fd
|
@ -1,13 +1,17 @@
|
|||
nmap <Leader>gb :GoBuild<CR>
|
||||
nmap <leader>gc :GoCallers<CR>
|
||||
nmap <Leader>i :GoImplements<CR>
|
||||
nmap <Leader>^ :GoAlternate<CR>
|
||||
nmap <Leader>d :GoDoc<CR>
|
||||
nmap <leader>gb :GoBuild<cr>
|
||||
nmap <leader>gc :GoCallers<cr>
|
||||
nmap <leader>gi :GoImplements<cr>
|
||||
nmap <leader>^ :GoAlternate<cr>
|
||||
nmap <leader>gk :GoDocBrowser<cr>
|
||||
nmap <leader>gd :GoDecls<cr>
|
||||
nmap <leader>gD :GoDeclsDir<cr>
|
||||
|
||||
map <leader>gv <esc>:vsplit<bar>:GoAlternate!<cr>
|
||||
map <leader>gs <esc>:split<bar>:GoAlternate!<cr>
|
||||
map <leader>gt <esc>:w <bar> :GoTest<cr>
|
||||
map <leader>gf <esc>:w <bar> :GoTestFunc<cr>
|
||||
nmap <leader>gv <esc>:vsplit<bar>:GoAlternate!<cr>
|
||||
nmap <leader>gs <esc>:split<bar>:GoAlternate!<cr>
|
||||
nmap <leader>gt <esc>:w <bar> :GoTest<cr>
|
||||
nmap <leader>gf <esc>:w <bar> :GoTestFunc<cr>
|
||||
nmap <leader>gat <esc>:GoAddTags<cr>
|
||||
nmap <leader>grt <esc>:GoRemoveTags<cr>
|
||||
|
||||
nnoremap <silent> dr :GoDebugBreakpoint<cr>
|
||||
nnoremap <silent> d! :GoDebugStart<cr>
|
||||
|
|
Loading…
Reference in New Issue