Skip to content

Commit 4ee1639

Browse files
committed
Added oil.nvim
1 parent 97ed05c commit 4ee1639

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

init.lua

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,21 @@ require('lazy').setup({
10571057
},
10581058
},
10591059

1060+
{ -- Oil
1061+
'stevearc/oil.nvim',
1062+
---@module 'oil'
1063+
---@type oil.SetupOpts
1064+
opts = {},
1065+
keys = {
1066+
{ '<leader>-', '<cmd>Oil --float<CR>', desc = 'Oil' },
1067+
},
1068+
-- Optional dependencies
1069+
dependencies = { { 'echasnovski/mini.icons', opts = {} } },
1070+
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
1071+
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
1072+
lazy = false,
1073+
},
1074+
10601075
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
10611076
-- init.lua. If you want these files, they are in the repository, so you can just download them and
10621077
-- place them in the correct locations.

lazy-lock.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"mason-nvim-dap.nvim": { "branch": "main", "commit": "4c2cdc69d69fe00c15ae8648f7e954d99e5de3ea" },
1515
"mason-tool-installer.nvim": { "branch": "main", "commit": "aafae207d5a2a28c59c9d478d8581c2739135d09" },
1616
"mason.nvim": { "branch": "main", "commit": "7c7318e8bae7e3536ef6b9e86b9e38e74f2e125e" },
17+
"mini.icons": { "branch": "main", "commit": "397ed3807e96b59709ef3292f0a3e253d5c1dc0a" },
1718
"mini.nvim": { "branch": "main", "commit": "6105b69d79fef0afed5ed576081b1997ef2b4be1" },
1819
"neo-tree.nvim": { "branch": "main", "commit": "f481de16a0eb59c985abac8985e3f2e2f75b4875" },
1920
"nui.nvim": { "branch": "main", "commit": "f535005e6ad1016383f24e39559833759453564e" },
@@ -24,6 +25,7 @@
2425
"nvim-lspconfig": { "branch": "master", "commit": "4bc481b6f0c0cf3671fc894debd0e00347089a4e" },
2526
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
2627
"nvim-treesitter": { "branch": "master", "commit": "28d480e0624b259095e56f353ec911f9f2a0f404" },
28+
"oil.nvim": { "branch": "master", "commit": "685cdb4ffa74473d75a1b97451f8654ceeab0f4a" },
2729
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
2830
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
2931
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },

0 commit comments

Comments
 (0)