This commit is contained in:
2025-11-21 14:07:10 +01:00
parent f0f7dbee41
commit 2cab6e6d83
2 changed files with 4 additions and 4 deletions

View File

@@ -20,13 +20,13 @@ vim.opt.clipboard = "unnamedplus"
local mappings = config.mappings
vim.keymap.set("i", mappings.undo, "<C-o>:undo<CR>", {
vim.keymap.set({ "n", "v", "i" }, mappings.undo, "<C-o>:undo<CR>", {
desc = "Undo last edit",
noremap = true,
silent = true
})
vim.keymap.set("i", mappings.redo, "<C-o>:redo<CR>", {
vim.keymap.set({ "n", "v", "i" }, mappings.redo, "<C-o>:redo<CR>", {
desc = "Redo last edit",
noremap = true,
silent = true