return { 'romgrk/barbar.nvim', dependencies = { 'nvim-tree/nvim-web-devicons', }, config = function() require('barbar').setup() vim.keymap.set('n', '', ':BufferNext', { silent = true, desc = 'To buffer on the right' }) vim.keymap.set('n', '', ':BufferPrevious', { silent = true, desc = 'To buffer on the left' }) vim.keymap.set('n', 'x', ':BufferClose', { silent = true, desc = 'Close buffer' }) end, }