[nvim] change "Go to..." mappings

This commit is contained in:
Dmytro Meleshko 2019-04-22 23:16:43 +03:00
parent 636ca786f2
commit 8543a17b11

View file

@ -32,10 +32,10 @@
nmap <silent> [c <Plug>(coc-diagnostic-prev) nmap <silent> [c <Plug>(coc-diagnostic-prev)
nmap <silent> ]c <Plug>(coc-diagnostic-next) nmap <silent> ]c <Plug>(coc-diagnostic-next)
nmap <silent> <leader>jd <Plug>(coc-definition) nmap <silent> <space>gd <Plug>(coc-definition)
nmap <silent> <leader>jt <Plug>(coc-type-definition) nmap <silent> <space>gt <Plug>(coc-type-definition)
nmap <silent> <leader>ji <Plug>(coc-implementation) nmap <silent> <space>gi <Plug>(coc-implementation)
nmap <silent> <leader>jr <Plug>(coc-references) nmap <silent> <space>gr <Plug>(coc-references)
nmap <silent> <F2> <Plug>(coc-rename) nmap <silent> <F2> <Plug>(coc-rename)
nmap <silent> <A-CR> <Plug>(coc-codeaction) nmap <silent> <A-CR> <Plug>(coc-codeaction)
vmap <silent> <A-CR> <Plug>(coc-codeaction-selected) vmap <silent> <A-CR> <Plug>(coc-codeaction-selected)