feat: ideavim-compatible keystrokes

This commit is contained in:
2025-08-16 14:17:31 +08:00
parent 578651c8c4
commit 0cab7571ba
3 changed files with 31 additions and 27 deletions
+3
View File
@@ -1,3 +1,6 @@
-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
-- map ctrl + . to code actions
vim.keymap.set("n", "<C-.>", vim.lsp.buf.code_action, { desc = "Code Action" })
+1
View File
@@ -4,6 +4,7 @@ return {
opts = {
mappings = {
replace = "cs",
delete = "ds",
},
},
},