summaryrefslogtreecommitdiff
path: root/ar/.config/LazyVim/lua/plugins/oil.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
commitc80a54e42b52ce297f0f2f71af23c562832025c7 (patch)
treedcce8bb977a770f473325d48f6f70b21d9818a40 /ar/.config/LazyVim/lua/plugins/oil.lua
init
Diffstat (limited to 'ar/.config/LazyVim/lua/plugins/oil.lua')
-rw-r--r--ar/.config/LazyVim/lua/plugins/oil.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/ar/.config/LazyVim/lua/plugins/oil.lua b/ar/.config/LazyVim/lua/plugins/oil.lua
new file mode 100644
index 0000000..ffbbfe9
--- /dev/null
+++ b/ar/.config/LazyVim/lua/plugins/oil.lua
@@ -0,0 +1,13 @@
+return {
+ "stevearc/oil.nvim",
+ opts = {},
+ -- Optional dependencies
+ dependencies = { "nvim-tree/nvim-web-devicons" },
+ cmd = { "Oil" },
+ config = function()
+ require("oil").setup()
+ end,
+ keys = {
+ vim.keymap.set("n", "-", "<cmd>Oil<cr>", { desc = "Open parent directory" }),
+ },
+}