summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix1
-rw-r--r--lua/config/plugins/extra.lua11
2 files changed, 12 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index e54c461..f79a4e6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -251,6 +251,7 @@
];
extra = [
+ oil-nvim
yanky-nvim
which-key-nvim
];
diff --git a/lua/config/plugins/extra.lua b/lua/config/plugins/extra.lua
index 03748fb..6360aa7 100644
--- a/lua/config/plugins/extra.lua
+++ b/lua/config/plugins/extra.lua
@@ -102,4 +102,15 @@ return {
})
end,
},
+ {
+ "oil.nvim",
+ -- NOTE: lazy loading is not recommended
+ -- event = "DeferredUIEnter",
+ after = function(_)
+ require("oil").setup()
+ end,
+ keys = {
+ { "-", "<CMD>Oil<CR>", { desc = "Open parent directory" } },
+ },
+ },
}