Skip to content

Commit ca80e2f

Browse files
committed
Plugin: add custom plugin oil.nvim
1 parent 815c92e commit ca80e2f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

lua/custom/plugins/oil.lua

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
return {
2+
'stevearc/oil.nvim',
3+
---@module 'oil'
4+
---@type oil.SetupOpts
5+
opts = {},
6+
-- Optional dependencies
7+
dependencies = { { 'echasnovski/mini.icons', opts = {} } },
8+
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
9+
keys = {
10+
{ '-', '<CMD>Oil --float<CR>', desc = 'Open parent directory' },
11+
},
12+
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
13+
lazy = false,
14+
}

0 commit comments

Comments
 (0)