nvim: Add a LC key binding & remove a conflicting one
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
4a18370609
commit
f1ba148d9d
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,6 @@ noremap <silent><expr> ? incsearch#go(<SID>incsearch_config({'command': '?'}))
|
||||||
noremap <silent><expr> g/ incsearch#go(<SID>incsearch_config({'is_stay': 1}))
|
noremap <silent><expr> g/ incsearch#go(<SID>incsearch_config({'is_stay': 1}))
|
||||||
|
|
||||||
" Tag helpers
|
" Tag helpers
|
||||||
nnoremap gd :exec("tag ".expand("<cword>"))<CR>
|
|
||||||
nnoremap <C-\> :vsp <CR>:exec("tag ".expand("<cword>"))<CR>
|
nnoremap <C-\> :vsp <CR>:exec("tag ".expand("<cword>"))<CR>
|
||||||
nnoremap <A-]> :sp <CR>:exec("tag ".expand("<cword>"))<CR>
|
nnoremap <A-]> :sp <CR>:exec("tag ".expand("<cword>"))<CR>
|
||||||
|
|
||||||
|
@ -711,6 +710,7 @@ function! SetLspKeybindings()
|
||||||
nnoremap gr :call LanguageClient#textDocument_rename()<CR>
|
nnoremap gr :call LanguageClient#textDocument_rename()<CR>
|
||||||
nnoremap gx :call LanguageClient#textDocument_references()<CR>
|
nnoremap gx :call LanguageClient#textDocument_references()<CR>
|
||||||
nnoremap K :call LanguageClient#textDocument_hover()<CR>
|
nnoremap K :call LanguageClient#textDocument_hover()<CR>
|
||||||
|
nnoremap ge :call LanguageClient#explainErrorAtPoint()<CR>
|
||||||
|
|
||||||
nnoremap lcs :LanguageClientStart<CR>
|
nnoremap lcs :LanguageClientStart<CR>
|
||||||
nnoremap lch :LanguageClientStop<CR>
|
nnoremap lch :LanguageClientStop<CR>
|
||||||
|
|
Loading…
Reference in a new issue