Open basbebe opened 3 years ago
Thanks for sharing your kakrc
, I got a few reports of this not working at all on macOS, any chance that's what you're running? If not, what environment are you on?
macOS 10.15.17 …
Sorry for the delay, took me a while to get ahold of a mac. I just pushed 421578d27130f110a21cd2f4cdf292d7185df843 which should fix your issue. Please :plug-update
and tell me if it's resolved.
I'm not 100% sure I understand the issue but, I was using the extended ASCII symbol │
as the tab separators, but this doesn't seem to render properly on some terminals on a mac. Either way, you can configure what character you'd like the tab_separator
to be now, and the default configuration is |
, instead of the extended ASCII symbol, which should work out of the box.
Thank you!
I just tried it out and terminal.app, kitty and iterm all seem to render │
correctly.
The update didn't make a difference in my case I'm afraid.
But what I noticed is that when I use tabs.kak to got to next or previous buffer, my powerline plugin stops working afterwards.
When I tested it out, the kitty and terminal.app render │
without issue, but they have bizarre behavior when I insert │
in the statusline. They render ~T~B
, which look like ncurses locale errors. Either way, the tabs still don't appear for you? Can you send a screenshot of your statusline when opening a file? Also I'm almost certain that tabs.kak
won't work with the powerline plugin. Both tabs.kak
and powerline.kak
do some mangling of modelinefmt
.
I don't use powerline.kak
so I didn't build this around it. I'll try to see how hard it is to get tabs.kak working with powerline, but it's unlikely that both of them combined would be that great of an experience.
It's likely that the tabs aren't appearing because of powerline.kak
. If you can try unloading powerline.kak
and seeing if tabs.kak
shows up, you could confirm this.
Thus is what my window with powerline looks like:
With powerline disabled and tabs installed it still looks like this:
Curiously, if I have tabs and powerline installed, it also looks like this (as if powerline wasn't there) after the first tab switch.
Ok so, powerline likely sets up a modelinefmt
once, whereas I override it for each buffer, and periodically due to some hooks (when buffers close or new ones open). Kakoune has only a single status line. Either powerline or the tabs.kak will be there. If you check out my screenshots, you'll notice that I have no statusline at the bottom, that's because I moved the statusline to the top using set global ui_options ncurses_status_on_top=yes
.
In your last three screenshots, this is the correct behavior. The tabs will take up space on the statusline.
It might get crowded with powerline.kak, but I'll spend some time to see how easily they can work together.
So, for now, powerline.kak and tabs.kak are incompatible.
Hi! I'm trying out tabs.kak becaouse it looks promising. However, I don't see a tab bar.
kakrc