nvim/lua/plugins/oil.lua

15 lines
347 B
Lua
Raw Permalink Normal View History

2024-09-15 21:55:18 +05:30
return {
"stevearc/oil.nvim",
---@module 'oil'
---@type oil.SetupOpts
opts = {},
-- Optional dependencies
-- dependencies = { { "echasnovski/mini.icons", opts = {} } },
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
local oil = require("oil")
oil.setup()
vim.keymap.set("n", "-", oil.toggle_float, {})
end,
}