Add lspsaga keybinds
This commit is contained in:
parent
f38b64fb51
commit
0055835f9e
1 changed files with 6 additions and 2 deletions
|
@ -52,9 +52,13 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
plugin = lspsaga-nvim;
|
plugin = lspsaga-nvim;
|
||||||
# TODO: lspsaga keybinds
|
|
||||||
config = ''
|
config = ''
|
||||||
lua require 'lspsaga'.init_lsp_saga()
|
lua require 'lspsaga'.init_lsp_saga()
|
||||||
|
|
||||||
|
nnoremap ${leader}a :Lspsaga code_action<cr>
|
||||||
|
nnoremap ${leader}r :Lspsaga rename<cr>
|
||||||
|
nnoremap gd :lua vim.lsp.buf.definition()<cr>
|
||||||
|
nnoremap gD :lua vim.lsp.buf.declaration()<cr>
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,7 +86,7 @@
|
||||||
plugin = telescope-nvim;
|
plugin = telescope-nvim;
|
||||||
config = ''
|
config = ''
|
||||||
nnoremap ${leader}f :Telescope find_files<cr>
|
nnoremap ${leader}f :Telescope find_files<cr>
|
||||||
nnoremap ${leader}r :Telescope live_grep<cr>
|
nnoremap ${leader}g :Telescope live_grep<cr>
|
||||||
nnoremap ${leader}b :Telescope buffers<cr>
|
nnoremap ${leader}b :Telescope buffers<cr>
|
||||||
nnoremap ${leader}: :Telescope commands<cr>
|
nnoremap ${leader}: :Telescope commands<cr>
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue