diff --git a/remap.lua b/remap.lua index 36ad17a..d137389 100644 --- a/remap.lua +++ b/remap.lua @@ -3,6 +3,11 @@ vim.keymap.set("v", "K", ":m '<-2gv=gv") vim.keymap.set("x", "p", "\"_dP") +if package.config:sub(1,1) == "\\" then + vim.keymap.set("n", "oe", ":!explorer .", { desc = "[O]pen [E]xplorer in current working directory" }) + vim.keymap.set("n", "ot", ":!wt -w 0 nt -d .", { desc = "[O]pen Windows [T]erminal in current working directory" }) +end + -- Telescope local builtin = require("telescope.builtin") if builtin then