Make binds silend

This commit is contained in:
buffet 2022-08-17 11:59:21 +00:00
parent 0055835f9e
commit 7fc427b407

View file

@ -55,10 +55,10 @@
config = '' config = ''
lua require 'lspsaga'.init_lsp_saga() lua require 'lspsaga'.init_lsp_saga()
nnoremap ${leader}a :Lspsaga code_action<cr> nnoremap <silent> ${leader}a :Lspsaga code_action<cr>
nnoremap ${leader}r :Lspsaga rename<cr> nnoremap <silent> ${leader}r :Lspsaga rename<cr>
nnoremap gd :lua vim.lsp.buf.definition()<cr> nnoremap <silent> gd :lua vim.lsp.buf.definition()<cr>
nnoremap gD :lua vim.lsp.buf.declaration()<cr> nnoremap <silent> gD :lua vim.lsp.buf.declaration()<cr>
''; '';
} }
@ -85,10 +85,10 @@
{ {
plugin = telescope-nvim; plugin = telescope-nvim;
config = '' config = ''
nnoremap ${leader}f :Telescope find_files<cr> nnoremap <silent> ${leader}f :Telescope find_files<cr>
nnoremap ${leader}g :Telescope live_grep<cr> nnoremap <silent> ${leader}g :Telescope live_grep<cr>
nnoremap ${leader}b :Telescope buffers<cr> nnoremap <silent> ${leader}b :Telescope buffers<cr>
nnoremap ${leader}: :Telescope commands<cr> nnoremap <silent> ${leader}: :Telescope commands<cr>
''; '';
} }