nvim/lua/custom/plugins/bufferline.lua
Lucas Barbieri 2544433101 add bar and descriptions
i might add descriptions for everything, it's just going to take a while...
2023-08-01 21:10:43 -03:00

12 lines
426 B
Lua

return {
'akinsho/bufferline.nvim',
version = "*",
dependencies = 'nvim-tree/nvim-web-devicons',
config = function()
require('bufferline').setup()
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
}