vimrc: update Go shortcuts
This commit is contained in:
parent
cdd45b74d4
commit
91381a8431
|
@ -17,8 +17,10 @@ nmap <silent> <leader>gD :GoDeclsDir<cr>
|
||||||
" mnemonic: match
|
" mnemonic: match
|
||||||
nmap <silent> <leader>gm :GoSameIds<cr>
|
nmap <silent> <leader>gm :GoSameIds<cr>
|
||||||
|
|
||||||
nmap <silent> <leader>gv <esc>:vsplit<bar>:GoAlternate!<cr>
|
nmap <silent> <leader>gv :vsplit<bar>:GoAlternate!<cr>
|
||||||
nmap <silent> <leader>gs <esc>:split<bar>:GoAlternate!<cr>
|
nmap <silent> <leader>gV <c-w><c-o>:vsplit<bar>:GoAlternate!<cr>
|
||||||
|
nmap <silent> <leader>gs :split<bar>:GoAlternate!<cr>
|
||||||
|
nmap <silent> <leader>gS <c-w><c-o>:split<bar>:GoAlternate!<cr>
|
||||||
nmap <silent> <leader>gt <esc>:up<bar>:GoTest<cr>
|
nmap <silent> <leader>gt <esc>:up<bar>:GoTest<cr>
|
||||||
nmap <silent> <leader>gf <esc>:up<bar>:GoTestFunc<cr>
|
nmap <silent> <leader>gf <esc>:up<bar>:GoTestFunc<cr>
|
||||||
nmap <silent> <leader>gat <esc>:GoAddTags<cr>
|
nmap <silent> <leader>gat <esc>:GoAddTags<cr>
|
||||||
|
|
Loading…
Reference in New Issue