Mercurial > vim
comparison plugins/coc @ 1:47fe251d5ce0
minor fixes for hotkeys
| author | luka |
|---|---|
| date | Wed, 23 Apr 2025 07:48:17 -0400 |
| parents | a4ec03f77554 |
| children |
comparison
equal
deleted
inserted
replaced
| 0:a4ec03f77554 | 1:47fe251d5ce0 |
|---|---|
| 144 " provide custom statusline: lightline.vim, vim-airline | 144 " provide custom statusline: lightline.vim, vim-airline |
| 145 set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')} | 145 set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')} |
| 146 | 146 |
| 147 " Mappings for CoCList | 147 " Mappings for CoCList |
| 148 " Show all diagnostics | 148 " Show all diagnostics |
| 149 nnoremap <silent><nowait> <space>a :<C-u>CocList diagnostics<cr> | 149 nnoremap <silent><nowait> <Leader>ca :<C-u>CocList diagnostics<cr> |
| 150 " Manage extensions | 150 " Manage extensions |
| 151 nnoremap <silent><nowait> <space>e :<C-u>CocList extensions<cr> | 151 nnoremap <silent><nowait> <Leader>ce :<C-u>CocList extensions<cr> |
| 152 " Show commands | 152 " Show commands |
| 153 nnoremap <silent><nowait> <space>c :<C-u>CocList commands<cr> | 153 nnoremap <silent><nowait> <Leader>cc :<C-u>CocList commands<cr> |
| 154 " Find symbol of current document | 154 " Find symbol of current document |
| 155 nnoremap <silent><nowait> <space>o :<C-u>CocList outline<cr> | 155 nnoremap <silent><nowait> <Leader>co :<C-u>CocList outline<cr> |
| 156 " Search workspace symbols | 156 " Search workspace symbols |
| 157 nnoremap <silent><nowait> <space>s :<C-u>CocList -I symbols<cr> | 157 nnoremap <silent><nowait> <Leader>cs :<C-u>CocList -I symbols<cr> |
| 158 " Do default action for next item | 158 " Do default action for next item |
| 159 nnoremap <silent><nowait> <space>j :<C-u>CocNext<CR> | 159 nnoremap <silent><nowait> <Leader>cj :<C-u>CocNext<CR> |
| 160 " Do default action for previous item | 160 " Do default action for previous item |
| 161 nnoremap <silent><nowait> <space>k :<C-u>CocPrev<CR> | 161 nnoremap <silent><nowait> <Leader>ck :<C-u>CocPrev<CR> |
| 162 " Resume latest coc list | 162 " Resume latest coc list |
| 163 nnoremap <silent><nowait> <space>p :<C-u>CocListResume<CR> | 163 nnoremap <silent><nowait> <Leader>cp :<C-u>CocListResume<CR> |
