kickstart.nvim/lua/custom/plugins/oil.lua

15 lines
384 B
Lua
Raw Permalink Normal View History

2024-10-09 17:03:09 +02:00
return {
'stevearc/oil.nvim',
---@module 'oil'
---@type oil.SetupOpts
opts = {},
-- Optional dependencies
-- dependencies = { { 'echasnovski/mini.icons', opts = {} } },
dependencies = { 'nvim-tree/nvim-web-devicons' }, -- use if prefer nvim-web-devicons
config = function()
require('oil').setup {
vim.keymap.set('n', '<leader>o', ':Oil<CR>'),
}
end,
}