akinsho/bufferline.nvim

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

Open

#664 opened on 2023年1月19日

GitHub で見る
 (9 comments) (1 reaction) (0 assignees)Lua (235 forks)batch import
feature requesthelp wantedtabs

Repository metrics

Stars
 (4,316 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド