Added goto code navigation
This commit is contained in:
parent
f3fc624863
commit
6ad3ba0679
@ -109,6 +109,16 @@ inoremap <silent><expr> <TAB>
|
|||||||
\ coc#refresh()
|
\ coc#refresh()
|
||||||
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
|
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
|
||||||
|
|
||||||
|
" GoTo code navigation.
|
||||||
|
nmap <leader>gd <Plug>(coc-definition)
|
||||||
|
nmap <leader>gy <Plug>(coc-type-definition)
|
||||||
|
nmap <leader>gi <Plug>(coc-implementation)
|
||||||
|
nmap <leader>gr <Plug>(coc-references)
|
||||||
|
nmap <leader>rr <Plug>(coc-rename)
|
||||||
|
nmap <silent> <leader>gp <Plug>(coc-diagnostic-prev)
|
||||||
|
nmap <silent> <leader>gn <Plug>(coc-diagnostic-next)
|
||||||
|
nnoremap <leader>cr :CocRestart
|
||||||
|
|
||||||
" Status-line
|
" Status-line
|
||||||
set statusline=
|
set statusline=
|
||||||
set statusline+=%#IncSearch#
|
set statusline+=%#IncSearch#
|
||||||
|
Loading…
Reference in New Issue
Block a user