Overview
Bufferline provides a VSCode-like tab interface for Neovim buffers, making it easy to visualize and navigate between open files. Plugin: bufferline.nvim Config File:lua/user/bufferline.lua
Features
- Visual buffer tabs at the top of the window
- Mouse support for clicking tabs
- Integration with NvimTree file explorer
- Custom icons and separators
- Git status indicators
- Modified file indicators
Configuration
Display Options
The bufferline is configured with these visual settings:Mouse Actions
Bufferline supports mouse interactions:| Mouse Action | Behavior |
|---|---|
| Left Click | Switch to buffer |
| Right Click | Delete buffer |
| Middle Click | None (disabled) |
NvimTree Integration
Bufferline creates an offset when NvimTree is open:Tab Behavior
Diagnostics
Diagnostics display is disabled by default:Enable LSP Diagnostics
To show error/warning counts in buffer tabs:Highlight Scheme
Bufferline uses a custom color scheme that integrates with your theme:fill- Background behind all tabsbuffer_selected- Currently active bufferbuffer_visible- Visible but not active bufferbuffer- Inactive buffersmodified- Buffers with unsaved changesduplicate- Buffers with same name (underlined)
Customization
Change Separator Style
Available styles:"thin", "thick", or custom characters:
Add Buffer Numbers
Show buffer numbers in tabs:Custom Name Formatter
Modify how buffer names are displayed:Filter Buffers
Hide specific buffers from the tabline:Custom Sort Function
Navigation
While bufferline provides visual tabs, navigate buffers using:- Standard Vim commands:
:bnext,:bprevious - Telescope buffer picker:
<leader>b - Mouse clicks on tabs

