init
This commit is contained in:
21
nvim/lua/plugins/extras/editor/oil.lua
Normal file
21
nvim/lua/plugins/extras/editor/oil.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
return {
|
||||
"stevearc/oil.nvim",
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
optional = true,
|
||||
},
|
||||
opts = {
|
||||
delete_to_trash = true,
|
||||
float = {
|
||||
max_height = 45,
|
||||
max_width = 90,
|
||||
},
|
||||
keymaps = {
|
||||
["q"] = "actions.close",
|
||||
},
|
||||
},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<leader>;", function() require("oil").toggle_float() end, desc = "Toggle Oil" },
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user