Add recommended mappings for common LSP operations
This commit is contained in:
parent
6cb72c1dc8
commit
db3019386f
1 changed files with 6 additions and 1 deletions
|
@ -98,5 +98,10 @@ g:mucomplete#can_complete = {
|
|||
}
|
||||
|
||||
import "./lsp.vim"
|
||||
set keywordprg=:LspHover
|
||||
lsp.LazyConfigure()
|
||||
|
||||
set keywordprg=:LspHover
|
||||
nnoremap gd <Cmd>LspGotoDefinition<CR>
|
||||
nnoremap gi <Cmd>LspGotoImpl<CR>
|
||||
xnoremap <silent> <Leader>e <Cmd>LspSelectionExpand<CR>
|
||||
xnoremap <silent> <Leader>s <Cmd>LspSelectionShrink<CR>
|
||||
|
|
Loading…
Reference in a new issue