feat: rename with leader-r

main
mandlm 2022-04-02 10:52:07 +02:00
parent cc4da2fb2d
commit 492be2d390
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ local function custom_on_attach(client, buffer_nr)
bufnnoremap("ga", "<Cmd>Telescope lsp_code_actions theme=cursor<CR>")
-- Rename all references of symbol
bufnnoremap("<leader>R", "<Cmd>lua vim.lsp.buf.rename()<CR>")
bufnnoremap("<leader>r", "<Cmd>lua vim.lsp.buf.rename()<CR>")
-- Format buffer
bufnnoremap("<leader>F", "<Cmd>lua vim.lsp.buf.formatting_sync()<CR>")