diff options
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 1 | ||||
-rw-r--r-- | lua/config/plugins/extra.lua | 11 |
2 files changed, 12 insertions, 0 deletions
@@ -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" } }, + }, + }, } |