A lightweight tab and window manager for Neovim.
tabman.nvim provides an interactive view to navigate, inspect, and manage tabpages and the windows they contain.
Using nvim-plug:
require("plug").add({ {
"wsdjeg/tabman.nvim",
} })
tabman.nvim provides the :Tabman command.
It opens an interactive tab manager window that shows all tabpages and the windows inside each tab.
Key bindings in the tab manager window:
| Key binding | Description |
|---|---|
q |
Close the tab manager |
o |
Toggle expand a tabpage |
x |
Delete the tabpage |
<Enter> |
Jump to the selected window |
You can also open tabman from Lua, for example with a custom filter:
require('tabman').open({
filter = function(win)
local buf = vim.api.nvim_win_get_buf(win)
return vim.api.nvim_get_option_value('buflisted', { buf = buf })
end,
})
tabman.nvim also provides a tabman source for
picker.nvim.
You can open it with:
:Picker tabman
key bindings for picker mru extension:
| Key Binding | Description |
|---|---|
<Enter> |
switch to select window |
Example mapping:
vim.api.nvim_set_keymap(
'n',
'<leader>t',
':Picker tabman<CR>',
{ noremap = true, silent = true }
)
If you find this plugin useful, please consider starring it on GitHub.
You can also follow me at:
This project is licensed under the GPL-3.0 License.