Initial commit

This commit is contained in:
Johannes Knopp
2024-10-29 14:10:21 +01:00
commit 133fc547dc
34 changed files with 952 additions and 0 deletions

View File

@ -0,0 +1,24 @@
return {
'akinsho/bufferline.nvim',
lazy = false,
version = '*',
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function ()
local bufferline = require('bufferline')
bufferline.setup({
options = {
hover = {
enabled = true,
delay = 200,
reveal = {'close'}
},
}
})
local map = vim.keymap.set
local opts = { noremap = true, silent = true }
map('n', '<A-Left>', '<cmd>BufferLineCyclePrev<cr>', opts)
map('n', '<A-Right>', '<cmd>BufferLineCycleNext<cr>', opts)
end
}