fixed mappings

This commit is contained in:
2025-09-18 10:08:41 +02:00
parent cf833a3ab4
commit 99d482398c
3 changed files with 7 additions and 7 deletions

View File

@@ -1,13 +1,13 @@
-- Control + z : Annuler la dernière modification
vim.keymap.set("i", "<C-z>", "<C-o>:undo<CR>", {
desc = "Undo Last Edit",
desc = "Undo last edit",
noremap = true,
silent = true
})
-- Control + y : Rétablir la dernière modification
vim.keymap.set("i", "<C-y>", "<C-o>:redo<CR>", {
desc = "Redo Last Edit",
desc = "Redo last edit",
noremap = true,
silent = true
})