Skip to content

About

Yet another bufferline plugin for Neovim, but with support for multi-line tabs.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

bufferlines.nvim

A snazzy buffer line for Neovim that wraps your open buffers into multiple rows instead of hiding them.

CI Latest release Neovim 0.8+ GPL-3.0

Wiki · 中文说明

Multiline buffer tabs: three rows of tabs beside a full-height file explorer

Multiline buffer tabs

Twelve buffers, no < > scrolling: the opt-in multiline header wraps every tab to the editor's width and leaves full-height sidebars alone.

  • Adaptive rows — grows up to max_rows; a counter and the mouse wheel reach the rest.

    Two rows with a counter for the hidden third row

  • Keyboard and mouse — move a highlight across rows and confirm with <CR>, or click.

    Navigating the header: layout.lua is the highlighted candidate

  • Same styling — icons, diagnostics, groups, pins and separators work on every row.

Multiline is opt-in and needs Neovim 0.12+. Leave it out and you get the classic single-row bufferline, still the default, on Neovim 0.8+.

Installation

With lazy.nvim:

{
  "D0n9X1n/bufferlines.nvim",
  version = "*",
  dependencies = { "nvim-tree/nvim-web-devicons" },
  config = function()
    vim.opt.termguicolors = true
    require("bufferlines").setup({
      options = {
        multiline = { enabled = true, max_rows = 3 }, -- Neovim 0.12+; omit for one row
      },
    })
  end,
}

You need termguicolors and a Nerd Font. Other plugin managers: Installation and Usage.

Features

Default

Default style

Sloped separators

Sloped separators

LSP diagnostics

Error and warning counts

Groups

Lua and Docs groups

Picking

One letter per buffer

Hover to reveal

Close icon revealed on hover

Also: tabpages mode, sidebar offsets, numbers, unique names, pinning, re-ordering with persisted order, custom areas and colours derived from your colorscheme. Each one has a screenshot in Features.

Migrating from bufferline.nvim

Every public name gains an s: require("bufferlines"), :BufferLines* commands and BufferLines* highlights. The look is unchanged and saved buffer order is read once from the old keys. Replace the old plugin; both cannot be installed at once. Full table: Installation and Usage.

Documentation

Acknowledgements

bufferlines.nvim is a fork of akinsho/bufferline.nvim by Akin Sowemimo and contributors. Thank you for years of work on the plugin this one is built on. Its look was inspired by DOOM Emacs and centaur tabs.

License

GPL-3.0, as inherited from bufferline.nvim.

About

Yet another bufferline plugin for Neovim, but with support for multi-line tabs.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages