nvim: Add a LC key binding & remove a conflicting one

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-01-19 20:05:52 +05:30
parent 4a18370609
commit f1ba148d9d

View file

@ -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>