From 99d482398c32624393adf4cfa98593ac801398ca Mon Sep 17 00:00:00 2001 From: Valentin GHIRARDI Date: Thu, 18 Sep 2025 10:08:41 +0200 Subject: [PATCH] fixed mappings --- lua/mappings.lua | 4 ++-- lua/plugins/nvim-tree.lua | 4 ++-- lua/plugins/telescope.lua | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lua/mappings.lua b/lua/mappings.lua index fc771bb..73bf37b 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -1,13 +1,13 @@ -- Control + z : Annuler la dernière modification vim.keymap.set("i", "", ":undo", { - desc = "Undo Last Edit", + desc = "Undo last edit", noremap = true, silent = true }) -- Control + y : Rétablir la dernière modification vim.keymap.set("i", "", ":redo", { - desc = "Redo Last Edit", + desc = "Redo last edit", noremap = true, silent = true }) diff --git a/lua/plugins/nvim-tree.lua b/lua/plugins/nvim-tree.lua index d998ecc..bc44480 100644 --- a/lua/plugins/nvim-tree.lua +++ b/lua/plugins/nvim-tree.lua @@ -34,9 +34,9 @@ return { } }) - -- Leader + e : Ouvrir l'explorateur de fichiers + -- Leader + e : Ouvrir/fermer l'explorateur de fichiers vim.keymap.set("n", "e", ":NvimTreeToggle", { - desc = "Toggle File Explorer", + desc = "Toggle file explorer", noremap = true, silent = true }) diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 73da8ce..b63442e 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -16,14 +16,14 @@ return { -- Leader + f : Ouvrir la recherche de fichiers vim.keymap.set("n", "f", telescope_builtin.find_files, { - desc = "Find Files", + desc = "Find files", noremap = true, silent = true }) - -- Leader + g : Ouvre la recherche textuelle + -- Leader + g : Ouvrir la recherche textuelle vim.keymap.set("n", "g", telescope_builtin.live_grep, { - desc = "Live Grep", + desc = "Live grep", noremap = true, silent = true })