mirror of
https://github.com/zoriya/flake.git
synced 2026-05-13 11:25:04 +00:00
Add oil
This commit is contained in:
23
nvim/lua/plugins/oil.lua
Normal file
23
nvim/lua/plugins/oil.lua
Normal file
@@ -0,0 +1,23 @@
|
||||
return {
|
||||
{
|
||||
"oil.nvim",
|
||||
lazy = false,
|
||||
load = function() end,
|
||||
keys = {
|
||||
{ "-", "<CMD>Oil<CR>", desc = "Open parent directory" },
|
||||
{ "<BS>", "<CMD>Oil<CR>", desc = "Open parent directory" },
|
||||
},
|
||||
opts = {
|
||||
skip_confirm_for_simple_edits = true,
|
||||
view_options = {
|
||||
show_hidden = true,
|
||||
},
|
||||
keymaps = {
|
||||
["<BS>"] = "actions.parent",
|
||||
},
|
||||
},
|
||||
after = function(plug)
|
||||
require("oil").setup(plug.opts)
|
||||
end
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user