ap / vim-buftabline

Forget Vim tabs – now you can have buffer tabs
http://www.vim.org/scripts/script.php?script_id=5057
MIT License
782 stars 75 forks source link

opening a vim terminal buffer breaks tab switching #81

Closed phelps-sg closed 3 years ago

phelps-sg commented 3 years ago

Steps to reproduce:

  1. Open several text buffers.
  2. Open a terminal buffer in a new window.
  3. Switch between buffers using ^N or ^P until you get to the terminal buffer

When the terminal buffer is encountered no further cycling through buffers is possible until the terminal is switched into terminal normal mode. This has to be done every time the terminal buffer is encountered when switching. This gets tedious very quickly if you regularly keep a terminal buffer open.

Maybe terminal buffers should be hidden from the tabs?

phelps-sg commented 3 years ago

This is not an issue with vim-buftabline- I found the solution here: https://vi.stackexchange.com/questions/16708/switching-buffers-in-vi-while-skipping-any-terminal-in-vi-8-1

ap commented 3 years ago

Just now getting to take a look at this (since you answered yourself so quickly), and indeed, this has to do with Buftabline only insofar as you would get these issues if you set up the mappings suggested by the quick intro in the Buftabline README. But Buftabline itself intentionally includes no buffer management, by design, and so addressing this issue isn’t in its purview.