Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomiis4/BufferTabs.nvim
A simple, fancy tabline for Neovim.
https://github.com/tomiis4/BufferTabs.nvim
awesome-neovim lua nvim tabline
Last synced: about 2 months ago
JSON representation
A simple, fancy tabline for Neovim.
- Host: GitHub
- URL: https://github.com/tomiis4/BufferTabs.nvim
- Owner: tomiis4
- License: apache-2.0
- Created: 2023-07-10T15:05:38.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-10-31T22:01:34.000Z (7 months ago)
- Last Synced: 2024-01-24T10:37:16.378Z (4 months ago)
- Topics: awesome-neovim, lua, nvim, tabline
- Language: Lua
- Homepage:
- Size: 18.6 KB
- Stars: 59
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-neovim - tomiis4/BufferTabs.nvim - Simple and Fancy tabline. (Bars and Lines / Tabline)
- awesome-stars - tomiis4/BufferTabs.nvim - A simple, fancy tabline for Neovim. (Lua)
- awesome-neovim - tomiis4/BufferTabs.nvim - Simple and Fancy tabline. (Bars and Lines / Tabline)
- awesome-neovim - tomiis4/BufferTabs.nvim - Simple and Fancy tabline. (Bars and Lines / Tabline)
README
BufferTabs - Simple and Fancy tabline for NeoVim
Colorscheme: RoseBones; Font: JetBrainsMono NF
## Installation
Using vim-plug
```vim
Plug 'tomiis4/BufferTabs.nvim'
```Using packer
```lua
use 'tomiis4/BufferTabs.nvim'
```Using lazy
```lua
{
'tomiis4/BufferTabs.nvim',
dependencies = {
'nvim-tree/nvim-web-devicons', -- optional
},
lazy = false,
config = function()
require('buffertabs').setup({
-- config
})
end
},
```## Toggle
```lua
-- 1) lua code
require('buffertabs').toggle()-- 2) command
:BufferTabsToggle
```## Setup
```lua
require('buffertabs').setup()
```Default configuration
```lua
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 'row'|'column'
display = 'row',---@type 'left'|'right'|'center'
horizontal = 'center',---@type 'top'|'bottom'|'center'
vertical = 'top',---@type number in ms (recommend 2000)
timeout = 0
})```
## File order
```
| LICENSE
| README.md
|
+---lua
| \---buffertabs
| init.lua
| utils.lua
|
\---plugin
buffertabs.lua
```## Contributors