kickstart.nvim/lua/custom/plugins/barbar.lua

13 lines
377 B
Lua
Raw Normal View History

return {
'romgrk/barbar.nvim',
dependencies = {
'nvim-tree/nvim-web-devicons',
},
config = function()
require('barbar').setup()
vim.keymap.set('n', '<Tab>', ':BufferNext<CR>', { silent = true })
vim.keymap.set('n', '<S-Tab>', ':BufferPrevious<CR>', { silent = true })
vim.keymap.set('n', '<leader>x', ':BufferClose<CR>', { silent = true })
end,
}