akinsho/bufferline.nvim
View on GitHub[Feature]: Make `BufferLineMovePrev/Next` work with tabs
Open
#664 opened on Jan 19, 2023
feature requesthelp wantedtabs
Repository metrics
- Stars
- (4,316 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
The issue is that when using BufferLineMove[Prev/Next] command in a tab, other tabs are also affected
What did you expect to happen?
Only the buffers in the current tab change position
Config
{
close_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
right_mouse_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
offsets = { { filetype = "NvimTree", text = "", padding = 1 } },
separator_style = "thin", -- "slant" | "thick" | "thin" | { 'any', 'any' },
show_tab_indicators = true,
hover = {
enabled = false,
delay = 200,
reveal = { "close" },
},
diagnostics = "nvim_lsp",
diagnostics_indicator = function(count, level, diagnostics_dict, context)
local icons = {
hint = " ",
info = " ",
warning = " ",
error = " ",
}
local icon = icons[level]
return " " .. icon .. count
end,
sort_by = "insert_at_end",
}
Additional Information
...
commit
c7492a7