aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/lua/plugins/oil.lua
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2024-07-15 17:39:53 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2024-07-15 17:39:53 -0400
commitcd7a32285b864f1fa9c453b74111775103b20483 (patch)
treec7a9f50751fdad196b4403f0db9accbaeab3c79d /nvim/lua/plugins/oil.lua
parentd3d3d729a71820fc2a74ef44c055bf8dbb7cf8e7 (diff)
installed oil file explorer for nvim
Diffstat (limited to 'nvim/lua/plugins/oil.lua')
-rw-r--r--nvim/lua/plugins/oil.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/nvim/lua/plugins/oil.lua b/nvim/lua/plugins/oil.lua
new file mode 100644
index 0000000..40a485e
--- /dev/null
+++ b/nvim/lua/plugins/oil.lua
@@ -0,0 +1,13 @@
+return {
+ 'stevearc/oil.nvim',
+ dependencies = 'nvim-tree/nvim-web-devicons',
+ opts = {},
+ keys = { {
+ "<leader>ef",
+ function()
+ vim.cmd('topleft vsplit +Oil')
+ end,
+ desc = "Open Oil file explorer in a far left split, similar to :Lexplore"
+ } },
+ cmd = "Oil"
+}