Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Changing tab by mouse click doesn't work when show_tabs_only is set to true #56

Open
proivk opened this issue Feb 3, 2023 · 0 comments

Comments

@proivk
Copy link

proivk commented Feb 3, 2023

Tabline config:

require'tabline'.setup {
    -- Defaults configuration options
    enable = true,
    options = {
    -- If lualine is installed tabline will use separators configured in lualine by default.
    -- These options can be used to override those settings.
      section_separators = {'', ''},
      component_separators = {'', ''},
    --  max_bufferline_percent = 66, -- set to nil by default, and it uses vim.o.columns * 2/3
      show_tabs_always = false, -- this shows tabs only when there are more than one tab or if the first tab is named
      show_devicons = true, -- this shows devicons in buffer section
      show_bufnr = false, -- this appends [bufnr] to buffer section,
      show_filename_only = false, -- shows base filename only instead of relative path in filename
      modified_icon = "+ ", -- change the default modified icon
      modified_italic = true, -- set to true by default; this determines whether the filename turns italic if modified
      show_tabs_only = true, -- this shows only tabs instead of tabs + buffers
    }
}
  1. Open nvim
  2. Open at least 2 files
    image
  3. Change tab by mouse click and you'll get the following:
    image

gt and gT works good though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant