move most important config to ansible

This commit is contained in:
Johannes Knopp
2025-09-06 15:44:39 +02:00
parent 7770c4b5e4
commit 14e4d4fe3e
49 changed files with 179 additions and 327 deletions

View File

@ -0,0 +1,33 @@
return {
'akinsho/bufferline.nvim',
lazy = false,
version = '*',
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function ()
local bufferline = require('bufferline')
bufferline.setup({
options = {
persist_buffer_sort = true,
hover = {
enabled = true,
delay = 200,
reveal = {'close'}
},
offsets = {
{
filetype = "NvimTree",
text = "File Explorer",
highlight = "Directory",
separator = true,
}
}
}
})
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
}