config.nvim/lua/custom/plugins/oil.lua

14 lines
356 B
Lua
Raw Normal View History

2024-11-11 22:17:41 -05:00
return {
2024-11-13 17:56:09 -05:00
"stevearc/oil.nvim",
2024-11-11 22:17:41 -05:00
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
require("oil").setup({
default_file_explorer = true,
skip_confirm_for_simple_edits = true,
2024-11-13 17:56:09 -05:00
view_options = { show_hidden = true },
2024-11-11 22:17:41 -05:00
})
vim.keymap.set("n", "-", "<CMD>Oil<CR>", { desc = "Open parent directory" })
end,
}