Formatting

This commit is contained in:
2025-07-29 00:49:35 +09:00
parent e9ffdfe393
commit 1e57770242
+2 -1
View File
@@ -5,7 +5,8 @@ vim.keymap.set("x", "<leader>p", "\"_dP")
if package.config:sub(1, 1) == "\\" then if package.config:sub(1, 1) == "\\" then
vim.keymap.set("n", "<leader>oe", ":!explorer .<CR><CR>", { desc = "[O]pen [E]xplorer in current working directory" }) vim.keymap.set("n", "<leader>oe", ":!explorer .<CR><CR>", { desc = "[O]pen [E]xplorer in current working directory" })
vim.keymap.set("n", "<leader>ot", ":!wt -w 0 nt -d .<CR><CR>", { desc = "[O]pen Windows [T]erminal in current working directory" }) vim.keymap.set("n", "<leader>ot", ":!wt -w 0 nt -d .<CR><CR>",
{ desc = "[O]pen Windows [T]erminal in current working directory" })
vim.keymap.set("n", "<leader>oce", function() vim.keymap.set("n", "<leader>oce", function()
local path = vim.api.nvim_buf_get_name(0) local path = vim.api.nvim_buf_get_name(0)
local dir = path:sub(1, path:find('\\[^\\]*$')) local dir = path:sub(1, path:find('\\[^\\]*$'))