mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2025-02-22 05:41:45 +00:00
exchange mini.files with oil.nvim
This commit is contained in:
parent
5137d4bbea
commit
9e2ec6838e
10
lua/custom/plugins/oil.lua
Normal file
10
lua/custom/plugins/oil.lua
Normal 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,
|
||||||
|
}
|
@ -17,12 +17,6 @@ return {
|
|||||||
-- - sr)' - [S]urround [R]eplace [)] [']
|
-- - sr)' - [S]urround [R]eplace [)] [']
|
||||||
require('mini.surround').setup()
|
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.
|
-- Simple and easy statusline.
|
||||||
-- You could remove this setup call if you don't like it,
|
-- You could remove this setup call if you don't like it,
|
||||||
-- and try some other statusline plugin
|
-- and try some other statusline plugin
|
||||||
|
Loading…
Reference in New Issue
Block a user