nix/prog/nvim: add mappings for coclist
This commit is contained in:
parent
566a3e2c7a
commit
0850b4fd02
1 changed files with 6 additions and 1 deletions
|
@ -27,7 +27,7 @@ nmap <silent> ]c <Plug>(coc-diagnostic-next)
|
|||
|
||||
" Remap keys for gotos
|
||||
nmap <silent> gd <Plug>(coc-definition)
|
||||
nmap <silent> gt <Plug>(coc-type-definition)
|
||||
nmap <silent> gy <Plug>(coc-type-definition)
|
||||
nmap <silent> gi <Plug>(coc-implementation)
|
||||
nmap <silent> gr <Plug>(coc-references)
|
||||
|
||||
|
@ -37,3 +37,8 @@ nmap <localleader>a <Plug>(coc-codeaction)
|
|||
" Remap for rename current word
|
||||
nmap <localleader>n <Plug>(coc-rename)
|
||||
|
||||
" Mappings for CocList
|
||||
nnoremap <localleader>cl :CocList<CR>
|
||||
nnoremap <localleader>cd :CocList diagnostics<CR>
|
||||
nnoremap <localleader>cc :CocList commands<CR>
|
||||
|
||||
|
|
Loading…
Reference in a new issue