update neovim config to use lazy, fix some issues with screens in general

This commit is contained in:
2025-09-13 04:48:53 -07:00
parent cfcea95348
commit c77e3abf65
23 changed files with 1807 additions and 649 deletions
+38
View File
@@ -0,0 +1,38 @@
return {
'akinsho/bufferline.nvim',
version = "*",
event = { "BufReadPre", "BufNewFile" },
dependencies = 'nvim-tree/nvim-web-devicons',
config = function()
local bufferline = require('bufferline')
bufferline.setup({
options = {
style_preset = bufferline.style_preset.no_italic,
offsets = {
{
filetype = "NvimTree",
text = "Files",
highlight = "Directory",
separator = true
},
},
hover = {
enabled = true,
delay = 0,
reveal = { 'close' }
},
show_close_icon = false,
separator_style = "slope",
diagnostics = "nvim_lsp",
}
})
end
,
keys = {
{ "<leader>b", "<cmd>BufferLineCyclePrev<cr>", desc = "Go to previous tab" },
{ "<leader>n", "<cmd>BufferLineCycleNext<cr>", desc = "Go to next tab" },
{ "<leader>gb", "<cmd>BufferLinePick<cr>", desc = "Pick tab" },
{ "<leader>w", "<cmd>bdelete!<cr>", desc = "Close tab" }
}
}