new tab plugin

main
Mathias Rothenhaeusler 2023-10-02 10:54:29 +02:00
parent 810c87381a
commit 2e74a93297
3 changed files with 18 additions and 13 deletions

View File

@ -526,3 +526,4 @@ require('custom.options')
require('custom.keymaps')
require('custom.harpoon')
require('custom.mason')
require('custom.bufferline')

View File

@ -0,0 +1,14 @@
vim.opt.termguicolors = true
local bufferline = require('bufferline')
bufferline.setup({
options = {
mode = "buffers", -- set to "tabs" to only show tabpages instead
style_preset = bufferline.style_preset.minimal, -- or bufferline.style_preset.minimal,
separator_style = { "", "" }, --"thin", --| "slope" | "thick" | "thin" | { 'any', 'any' },
indicator = {
icon = '', -- this should be omitted if indicator style is not 'icon'
style = 'none',
},
}
})

View File

@ -85,18 +85,8 @@ return {
},
{
'romgrk/barbar.nvim',
dependencies = {
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
},
init = function() vim.g.barbar_auto_setup = false end,
opts = {
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
-- animation = true,
-- insert_at_start = true,
-- …etc.
},
version = '^1.0.0', -- optional: only update when a new 1.x version is released
'akinsho/bufferline.nvim',
version = "*",
dependencies = 'nvim-tree/nvim-web-devicons'
},
}