From 055de475a5ef23ecee61673bd744754ad9fef089 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Mon, 16 Jun 2025 13:31:36 +0900 Subject: modified core/keymaps.lua, modified plugins/keys.lua, modified plugins/macro.lua --- ar/.config/TheSiahxyz/lua/thesiahxyz/core/keymaps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/core/keymaps.lua') diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/core/keymaps.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/core/keymaps.lua index d2bc5bb..56e0727 100644 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/core/keymaps.lua +++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/core/keymaps.lua @@ -26,7 +26,7 @@ vim.keymap.set({ "n", "v" }, "wq", "wq", { desc = "Save current vim.keymap.set({ "n", "v" }, "WQ", "wqa", { desc = "Save all buffers and quit" }) vim.keymap.set({ "n", "v" }, "qq", "q!", { desc = "Force quit" }) vim.keymap.set({ "n", "v" }, "QQ", "qa!", { desc = "Force quit all" }) -vim.keymap.set("n", "rn", function() +vim.keymap.set("n", "rnf", function() local current_name = vim.fn.expand("%:p") -- Get the full path of the current file local directory = vim.fn.expand("%:p:h") -- Get the directory of the current file local new_name = vim.fn.input("New filename: ", directory .. "/") -- Prompt for the new name -- cgit v1.2.3