https://github.com/wsdjeg/tabline.nvim
simple tabline plugin for Neovim
https://github.com/wsdjeg/tabline.nvim
neovim-plugin
Last synced: 25 days ago
JSON representation
simple tabline plugin for Neovim
- Host: GitHub
- URL: https://github.com/wsdjeg/tabline.nvim
- Owner: wsdjeg
- License: gpl-3.0
- Created: 2025-02-22T13:37:46.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-04-13T11:46:29.000Z (about 1 month ago)
- Last Synced: 2025-04-13T12:36:43.925Z (about 1 month ago)
- Topics: neovim-plugin
- Language: Lua
- Homepage:
- Size: 27.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# tabline.nvim
`tabline.nvim` is a simple tabline plugin for Neovim.

* [Install](#install)
* [Configuration](#configuration)
* [Highlight group](#highlight-group)
* [Self-Promotion](#self-promotion)
* [Feedback](#feedback)## Install
With [nvim-plug](https://github.com/wsdjeg/nvim-plug):
```lua
require('plug').add({
{
'wsdjeg/tabline.nvim',
config = function()
require('tabline').setup()
end
}
})
```## Configuration
```lua
require('tabline').setup({
show_index = false, -- display index, disbale by default.
})-- use leader + number for buffer jump
for i = 1, 9 do
vim.keymap.set('n', '' .. i, function()
require('tabline').jump(i)
end, { silent = true })
end-- use alt-left/right to move buffer
vim.keymap.set('n', '' .. i, function()
require('tabline').move_to_previous()
end, { silent = true })
vim.keymap.set('n', '' .. i, function()
require('tabline').move_to_next()
end, { silent = true })
```## Highlight group
```
TablineNvimA
TablineNvimB
TablineNvimM
TablineNvimMNC
```## Self-Promotion
Like this plugin? Star the repository on
GitHub.Love this plugin? Follow [me](https://wsdjeg.net/) on
[GitHub](https://github.com/wsdjeg) and
[Twitter](http://twitter.com/wsdtty).## Feedback
If you encounter any bugs or have suggestions, please file an issue in the [issue tracker](https://github.com/wsdjeg/tabline.nvim/issues)