feat: add stevearc/oil.nvim
This commit is contained in:
@@ -25,6 +25,7 @@ local r = function(m) require("plugins." .. m) end
|
|||||||
|
|
||||||
local order = {
|
local order = {
|
||||||
"colorscheme",
|
"colorscheme",
|
||||||
|
"oil",
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, m in ipairs(order) do
|
for _, m in ipairs(order) do
|
||||||
|
|||||||
7
lua/plugins/oil.lua
Normal file
7
lua/plugins/oil.lua
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
add, now, later = MiniDeps.add, MiniDeps.now, MiniDeps.later
|
||||||
|
|
||||||
|
later(function()
|
||||||
|
add("stevearc/oil.nvim")
|
||||||
|
require("oil").setup({ view_options = { show_hidden = true } })
|
||||||
|
vim.keymap.set("n", "-", require("oil").open, { desc = "Open parent directory" })
|
||||||
|
end)
|
||||||
Reference in New Issue
Block a user