2023-08-01 21:10:43 -03:00
|
|
|
return {
|
|
|
|
'akinsho/bufferline.nvim',
|
|
|
|
version = "*",
|
|
|
|
dependencies = 'nvim-tree/nvim-web-devicons',
|
2024-01-06 18:34:56 -03:00
|
|
|
opts = {
|
|
|
|
options = {
|
|
|
|
mode = "tabs"
|
|
|
|
}
|
|
|
|
},
|
2023-08-01 21:10:43 -03:00
|
|
|
config = function()
|
|
|
|
vim.keymap.set("n", "<A-.>", "<cmd>bnext<CR>", { desc = "Go to next Buffer" })
|
|
|
|
vim.keymap.set("n", "<A-,>", "<cmd>bprev<CR>", { desc = "Go to previous Buffer" })
|
|
|
|
vim.keymap.set("n", "<A-x>", "<cmd>bdelete<CR>", { desc = "Delete current buffer" })
|
|
|
|
end
|
|
|
|
}
|