diff --git a/after/plugin/oil.lua b/after/plugin/oil.lua new file mode 100644 index 0000000..f777ef4 --- /dev/null +++ b/after/plugin/oil.lua @@ -0,0 +1,3 @@ +require("oil").setup {} + +vim.keymap.set("n", "-", "Oil", { desc = "Open parent directory" }) diff --git a/lib/default.nix b/lib/default.nix index 3d0d63d..b21df9f 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -131,6 +131,7 @@ in rec { vimPlugins.mini-nvim vimPlugins.neodev-nvim vimPlugins.nvim-web-devicons + vimPlugins.oil-nvim vimPlugins.refactoring-nvim vimPlugins.rest-nvim vimPlugins.undotree