23 lines
585 B
Lua
23 lines
585 B
Lua
return {
|
|
"stevearc/oil.nvim",
|
|
---@module 'oil'
|
|
---@type oil.SetupOpts
|
|
opts = {
|
|
default_file_explorer = false,
|
|
delete_to_trash = true,
|
|
columns = {
|
|
"icon",
|
|
"size",
|
|
-- TODO:
|
|
-- Add a keybind to toggle permissions view?
|
|
-- There's a recipe for this in the docs
|
|
-- "permissions",
|
|
},
|
|
keymaps = {
|
|
-- ["<BS>"] = "actions.parent",
|
|
},
|
|
},
|
|
-- Optional dependencies
|
|
dependencies = { { "echasnovski/mini.icons", opts = {} } },
|
|
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if prefer nvim-web-devicons
|
|
}
|