Skip to content

tomiis4/BufferTabs.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BufferTabs - Simple and Fancy tabline for NeoVim


Colorscheme: RoseBones; Font: JetBrainsMono NF

Installation

Using vim-plug
Plug 'tomiis4/BufferTabs.nvim'
Using packer
use 'tomiis4/BufferTabs.nvim'
Using lazy
{
    'tomiis4/BufferTabs.nvim',
    dependencies = {
        'nvim-tree/nvim-web-devicons', -- optional
    },
    lazy = false,
    config = function()
        require('buffertabs').setup({
            -- config
        })
    end
},

Toggle

-- 1) lua code
require('buffertabs').toggle()

-- 2) command
:BufferTabsToggle

Setup

require('buffertabs').setup()
Default configuration
require('buffertabs').setup({
    ---@type 'none'|'single'|'double'|'rounded'|'solid'|'shadow'|table
    border = 'rounded',

    ---@type integer
    padding = 1,

    ---@type boolean
    icons = true,

    ---@type string
    modified = "",

    ---@type string use hl Group or hex color
    hl_group = 'Keyword',

    ---@type string use hl Group or hex color
    hl_group_inactive = 'Comment',

    ---@type boolean
    show_all = false,

    ---@type boolean
    show_single_buffer = true,

    ---@type 'row'|'column'
    display = 'row',

    ---@type 'left'|'right'|'center'
    horizontal = 'center',

    ---@type 'top'|'bottom'|'center'
    vertical = 'top',

    ---@type number in ms (recommend 2000)
    timeout = 0,

    ---@type boolean
    show_id = false

    ---@type integer
    max_buffers = 0

    ---@type integer
    surround_active_buffer = 0
})

File order

|   LICENSE
|   README.md
|
+---lua
|   \---buffertabs
|           init.lua
|           utils.lua
|
\---plugin
        buffertabs.lua

Contributors

tomiis4
tomiis4
founder

dylan-hoefsloot
Dylan Hoefsloot

futsuuu
futsuuu

Releases

No releases published

Packages

No packages published

Languages