Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lua/keymaps/normal-keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ vim.keymap.set("n", "<C-e>", function()
local cwd = vim.fn.expand("%:p:h")
local path = vim.fn.expand("%:p")
if string.match(cwd, "oil") then
vim.cmd("!dolphin " .. " . ")
vim.cmd("!open " .. " . ")
else
vim.cmd("!dolphin --select" .. " " .. path)
vim.cmd("!open " .. path)
end
end, {
desc = "Open the current working directory in the file explorer for windows"
desc = "Open the current working directory in the file explorer"
})

vim.api.nvim_set_keymap("n", "<A-j>", "<cmd>m .+1<cr>==", {
Expand Down