mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-23 11:08:17 +02:00
Adding oil.lua and theme.lua plugins
This commit is contained in:
parent
43ab4598ca
commit
db882645be
3 changed files with 62 additions and 21 deletions
16
lua/custom/plugins/oil.lua
Normal file
16
lua/custom/plugins/oil.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
return {
|
||||
{
|
||||
'stevearc/oil.nvim',
|
||||
opts = {},
|
||||
-- Optional dependencies
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
|
||||
config = function()
|
||||
require('oil').setup {
|
||||
default_file_explorer = true,
|
||||
}
|
||||
|
||||
vim.keymap.set('n', '<leader>e', '<CMD>Oil<CR>', { desc = 'Open folder structure with Oil' })
|
||||
end,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue