vimrc(go): add navigation,alternate commands
This commit is contained in:
parent
267acdf057
commit
870f104638
@ -669,6 +669,13 @@ augroup vimgo
|
||||
au FileType go nmap <Leader>gi <Plug>(go-info)
|
||||
au FileType go nmap <Leader>ge <Plug>(go-rename)
|
||||
au FileType go nmap <Leader>gd <Plug>(go-doc)
|
||||
" Navigation commands
|
||||
au FileType go nmap <Leader>ds <Plug>(go-def-split)
|
||||
au FileType go nmap <Leader>dv <Plug>(go-def-vertical)
|
||||
" Alternate commands
|
||||
au FileType go nmap <Leader>ae <Plug>(go-alternate-edit)
|
||||
au FileType go nmap <Leader>av <Plug>(go-alternate-vertical)
|
||||
" Use new vim 8.2 popup windows for Go Doc
|
||||
augroup END
|
||||
|
||||
" go_tags
|
||||
|
Loading…
Reference in New Issue
Block a user