akinsho / akinsho/bufferline.nvim

[Feature]: Make `BufferLineMovePrev/Next` work with tabs

未关闭
#664 9 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
feature request help wanted tabs
主要语言
Lua
星标
4.4k
派生
240
PR 合并指标
30 天内没有已合并 PR

描述

### Is there an existing issue for this?

- [X] 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

```lua
{
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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。