akinsho/bufferline.nvim

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

Open

#664 aperta il 19 gen 2023

Vedi su GitHub
 (9 commenti) (1 reazione) (0 assegnatari)Lua (235 fork)batch import
feature requesthelp wantedtabs

Metriche repository

Star
 (4316 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor