redo some code

This commit is contained in:
slezakIT 2024-04-12 21:37:12 +02:00
parent d827e7bd83
commit 491ba00fd2
6 changed files with 166 additions and 15 deletions

View file

@ -7,6 +7,11 @@ return {
},
init = function()
vim.g.barbar_auto_setup = false
-- Barbar Plugin
vim.keymap.set('n', '<leader>tn', '<Cmd>BufferNext<CR>', { desc = '[N]ext Tab' })
vim.keymap.set('n', '<leader>tp', '<Cmd>BufferPrevious<CR>', { desc = '[P]revious Tab' })
vim.keymap.set('n', '<C-q>', '<Cmd>BufferClose<CR>')
vim.keymap.set('n', '<C-p>', '<Cmd>BufferPick<CR>')
end,
opts = {
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default: