exchange mini.files with oil.nvim

This commit is contained in:
Baipyrus 2024-05-20 16:30:34 +02:00
parent 5137d4bbea
commit 9e2ec6838e
2 changed files with 10 additions and 6 deletions

View File

@ -0,0 +1,10 @@
return {
'stevearc/oil.nvim',
opts = {},
-- Optional dependencies
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
require('oil').setup()
vim.keymap.set('n', '<leader>fe', require('oil').open, { desc = '[F]ile [E]xplorer' })
end,
}

View File

@ -17,12 +17,6 @@ return {
-- - sr)' - [S]urround [R]eplace [)] [']
require('mini.surround').setup()
-- Simple file explorer with in-buffer-editing
require('mini.files').setup()
vim.keymap.set({ 'n', 'v' }, '<leader>fe', function()
MiniFiles.open()
end, { desc = '[F]ile [E]xplorer' })
-- Simple and easy statusline.
-- You could remove this setup call if you don't like it,
-- and try some other statusline plugin