feat: add lsp rename keymap

This commit is contained in:
Youwen Wu 2024-11-19 15:35:46 -08:00
parent b2a0b99943
commit 68c46a3c3d
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -27,3 +27,5 @@ vim.keymap.set("v", "<C-a>", "<C-a>gv")
vim.keymap.set("v", "<C-x>", "<C-x>gv") vim.keymap.set("v", "<C-x>", "<C-x>gv")
vim.keymap.set("v", "g<C-a>", "g<C-a>gv") vim.keymap.set("v", "g<C-a>", "g<C-a>gv")
vim.keymap.set("v", "g<C-x>", "g<C-x>gv") vim.keymap.set("v", "g<C-x>", "g<C-x>gv")
vim.keymap.set("n", "<leader>cr", vim.lsp.buf.rename)