summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/thesiahxyz/core/keymaps.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-16 13:31:36 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-16 13:31:36 +0900
commit055de475a5ef23ecee61673bd744754ad9fef089 (patch)
tree36f05f7bfb4550f70ea2aa0a863a4c65239a7cb1 /ar/.config/TheSiahxyz/lua/thesiahxyz/core/keymaps.lua
parentee4a4a0094df8286cdce176bcce70af85626266c (diff)
modified core/keymaps.lua, modified plugins/keys.lua, modified plugins/macro.lua
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/core/keymaps.lua')
-rw-r--r--ar/.config/TheSiahxyz/lua/thesiahxyz/core/keymaps.lua2
1 files changed, 1 insertions, 1 deletions
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" }, "<leader>wq", "<cmd>wq<cr>", { desc = "Save current
vim.keymap.set({ "n", "v" }, "<leader>WQ", "<cmd>wqa<cr>", { desc = "Save all buffers and quit" })
vim.keymap.set({ "n", "v" }, "<leader>qq", "<cmd>q!<cr>", { desc = "Force quit" })
vim.keymap.set({ "n", "v" }, "<leader>QQ", "<cmd>qa!<cr>", { desc = "Force quit all" })
-vim.keymap.set("n", "<leader>rn", function()
+vim.keymap.set("n", "<leader>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