aboutsummaryrefslogtreecommitdiff
path: root/conf/keymaps.vim
diff options
context:
space:
mode:
Diffstat (limited to 'conf/keymaps.vim')
-rw-r--r--conf/keymaps.vim43
1 files changed, 0 insertions, 43 deletions
diff --git a/conf/keymaps.vim b/conf/keymaps.vim
index 066dd21..351520d 100644
--- a/conf/keymaps.vim
+++ b/conf/keymaps.vim
@@ -145,46 +145,3 @@ noremap <leader>sa zg
" show the list of alternatives for the word
noremap <leader>s? z=
-
-"""""""""""""""""""
-" LSP
-"""""""""""""""""""
-inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
-
-" Make <CR> to accept selected completion item or notify coc.nvim to format
-" <C-g>u breaks current undo, please make your own choice
-inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm() :
- \"\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
-let g:coc_snippet_next = '<tab>'
-
-nmap <silent> gp <Plug>(coc-diagnostic-prev)
-nmap <silent> gn <Plug>(coc-diagnostic-next)
-
-" GoTo code navigation
-nmap <silent> gd <Plug>(coc-definition)
-nmap <silent> gy <Plug>(coc-type-definition)
-nmap <silent> gi <Plug>(coc-implementation)
-nmap <silent> gr <Plug>(coc-references)
-
-" Use K to show documentation in preview window
-nnoremap <silent> gh :call ShowDocumentation()<CR>
-
-function! ShowDocumentation()
- if CocAction('hasProvider', 'hover')
- call CocActionAsync('doHover')
- else
- call feedkeys('K', 'in')
- endif
-endfunction
-
-" Highlight the symbol and its references when holding the cursor
-autocmd CursorHold * silent call CocActionAsync('highlight')
-
-" Symbol renaming
-nmap <leader>gR <Plug>(coc-rename)
-
-" Formatting selected code
-xmap <leader>gf <Plug>(coc-format-selected)
-nmap <leader>gf <Plug>(coc-format-selected)
-
-nmap <leader>qf <Plug>(coc-fix-current)
ArKa projects. All rights to me, and your next child right arm.