aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nvim/.config
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/.config')
-rw-r--r--nvim/.config/nvim/lua/tobyvin/keymaps.lua15
1 files changed, 7 insertions, 8 deletions
diff --git a/nvim/.config/nvim/lua/tobyvin/keymaps.lua b/nvim/.config/nvim/lua/tobyvin/keymaps.lua
index 562c43c..ace2223 100644
--- a/nvim/.config/nvim/lua/tobyvin/keymaps.lua
+++ b/nvim/.config/nvim/lua/tobyvin/keymaps.lua
@@ -13,14 +13,13 @@ vim.keymap.set("v", "<a-j>", ":move '>+1<cr>gv=gv", { desc = "move +" })
vim.keymap.set("t", "<c-w>", [[<c-\><c-n><c-w>]], { desc = "CTRL-W" })
--- TODO: remove once default binds are established
--- Ref: https://github.com/neovim/neovim/issues/28634
--- Ref: https://github.com/neovim/neovim/pull/28649
-vim.keymap.set("n", "crn", vim.lsp.buf.rename, { desc = "vim.lsp.buf.rename()" })
-vim.keymap.set("n", "crr", vim.lsp.buf.code_action, { desc = "vim.lsp.buf.code_action()" })
-vim.keymap.set("x", "<C-R>r", vim.lsp.buf.code_action, { desc = "vim.lsp.buf.code_action()" })
-vim.keymap.set("x", "<C-R><C-R>", vim.lsp.buf.code_action, { desc = "vim.lsp.buf.code_action()" })
-vim.keymap.set("n", "gr", vim.lsp.buf.references, { desc = "vim.lsp.buf.references()" })
+-- TODO: remove once default binds are established (again?)
+-- Ref: https://github.com/neovim/neovim/issues/28634 (old)
+-- Ref: https://github.com/neovim/neovim/pull/28649 (old)
+-- Ref: https://github.com/neovim/neovim/pull/28650
+vim.keymap.set("n", "grn", vim.lsp.buf.rename, { desc = "vim.lsp.buf.rename()" })
+vim.keymap.set("n", "gra", vim.lsp.buf.code_action, { desc = "vim.lsp.buf.code_action()" })
+vim.keymap.set("n", "grr", vim.lsp.buf.references, { desc = "vim.lsp.buf.references()" })
vim.keymap.set("i", "<C-S>", vim.lsp.buf.signature_help, { desc = "vim.lsp.buf.signature_help()" })
vim.keymap.set("o", "o", function()