✨ feat(nvim): add oil.nvim extra
This commit is contained in:
parent
b8447fd07e
commit
8cbff331c3
2 changed files with 15 additions and 0 deletions
1
.config/nvim/.github/README.md
vendored
1
.config/nvim/.github/README.md
vendored
|
@ -196,6 +196,7 @@
|
||||||
|
|
||||||
- [nvim-neo-tree/neo-tree.nvim](https://dotfyle.com/plugins/nvim-neo-tree/neo-tree.nvim)
|
- [nvim-neo-tree/neo-tree.nvim](https://dotfyle.com/plugins/nvim-neo-tree/neo-tree.nvim)
|
||||||
- [echasnovski/mini.files](https://dotfyle.com/plugins/echasnovski/mini.files)
|
- [echasnovski/mini.files](https://dotfyle.com/plugins/echasnovski/mini.files)
|
||||||
|
- [stevearc/oil.nvim](https://dotfyle.com/plugins/stevearc/oil.nvim)
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
14
.config/nvim/lua/plugins/extras/editor/oil.lua
Normal file
14
.config/nvim/lua/plugins/extras/editor/oil.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
return {
|
||||||
|
"stevearc/oil.nvim",
|
||||||
|
dependencies = "nvim-tree/nvim-web-devicons",
|
||||||
|
opts = {
|
||||||
|
delete_to_trash = true,
|
||||||
|
keymaps = {
|
||||||
|
["q"] = "actions.close",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- stylua: ignore
|
||||||
|
keys = {
|
||||||
|
{ "<leader>;", function() require("oil").toggle_float() end, desc = "Toggle oil" },
|
||||||
|
},
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue