Files
dotfiles/nvim/lua/plugins/explorer.lua
Nick Mello 65d08b0772 all: Initial dotfiles
Import an initial copy of all of my dotfiles

Signed-off-by: Nicholas Mello <nick@nmello.dev>
2025-08-14 19:21:24 -05:00

30 lines
745 B
Lua

return {
'stevearc/oil.nvim',
---@module 'oil'
---@type oil.SetupOpts
opts = {
float = {
max_width = math.floor(vim.o.columns * 0.6),
max_height = math.floor(vim.o.lines * 0.6),
border = "rounded",
}
},
-- Optional dependencies
dependencies = { { "echasnovski/mini.icons", opts = {} } },
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
lazy = false,
keys = {
{
"<leader>e",
function()
require("oil").open_float()
end,
desc = "Open Oil floating window",
noremap = true,
silent = true,
},
},
}