In Vi mode, gt and gT do not always switch to the next tab and previous tabs, but to random tabs, especially when there are more than three tabs. Reproducible: Always Steps to Reproduce: 1. Open at least four tabs containing different buffers. 2. Use gt and gT repeatedly. Actual Results: gt and gT would sometimes switch to tabs which are not adjacent to the original tab. Expected Results: gt and gT should switch to tabs adjacent to the original tab.
Hi Geoffrey, The implementation in vi-mode calls the "bn" (for gt) and "bp" (for gT). Theese should be translated to switching buffers in filetree plugin, which does the actual view switching. And here comes the tricky part. The tabs are implemented as plugin, which tries to do its best to interact with the filetree and kate and display the correct "tab". So, can you please confirm, that you get the same strange behaviour, when changing views trough filetree directly? Or trough "previous document" and "nect document" toolbar actions? And most importantly. Which of two tab plugins are you using? Tabify or tabbarextension?
(In reply to comment #1) > Hi Geoffrey, Hi Michal. > The implementation in vi-mode calls the "bn" (for gt) and "bp" (for gT). > Theese should be translated to switching buffers in filetree plugin, which > does the actual view switching. And here comes the tricky part. The tabs are > implemented as plugin, which tries to do its best to interact with the > filetree and kate and display the correct "tab". > > So, can you please confirm, that you get the same strange behaviour, when > changing views trough filetree directly? Or trough "previous document" and > "nect document" toolbar actions? The "previous document" and "next document" toolbar actions have the same behaviour. I > And most importantly. Which of two tab plugins are you using? Tabify or > tabbarextension? I am using Tab Bar in Configure Kate > Application > Plugins > Tab Bar.
Looks ok for me with current Kate version that has completely different tabbing.