Home

Awesome

<h1 align="center"> BufferTabs - Simple and Fancy tabline for NeoVim </h1> <hr> <h3 align="center"> <img src="https://github.com/user-attachments/assets/2effdb32-9f4b-4ae1-b239-661579ba1389"> </h3> <h6 align="center"> Colorscheme: RoseBones; Font: JetBrainsMono NF </h6> <hr>

Installation

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

Toggle

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

-- 2) command
:BufferTabsToggle

Setup

require('buffertabs').setup()
<details> <summary> Default configuration </summary>
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
})

</details>

File order

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

Contributors

<table> <tbody> <tr> <td align="center" valign="top" width="14.28%"> <a href="https://github.com/tomiis4"> <img src="https://avatars.githubusercontent.com/u/87276646?v=4" width="50px;" alt="tomiis4"/><br /> <sub><b> tomiis4 </b></sub><br /> <sup> founder </sup> </a><br/> </td> <td align="center" valign="top" width="14.28%"> <a href="https://github.com/dylan-hoefsloot"> <img src="https://avatars.githubusercontent.com/u/27318077?v=4" width="50px;" alt="dylan-hoefsloot"/><br /> <sub><b> Dylan Hoefsloot </b></sub><br /> </a><br/> </td> <td align="center" valign="top" width="14.28%"> <a href="https://github.com/futsuuu"> <img src="https://avatars.githubusercontent.com/u/105504350?v=4" width="50px;" alt="futsuuu"/><br /> <sub><b> futsuuu </b></sub><br /> </a><br /> </td> </tr> </tbody> </table>