You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there!
I've just migrated from barbar to custom hand-made tabline crafted with heirline, but can't reproduce barbar's feature of placing (say, when you open new file with :e or through other things like Neo-Tree/Telescope/documentation/whatever) item representing the new buffer right after currently active one.
As for now, everytime I open new file, it's item appears at the end of the list (although, btw, closing that buffers returns back to the previously active buffer).
Advice me, please, how can I make it (I assume utils.make_buflist()) to add new-buffer items near "previosly active" one?
I thinnking of playing with buf_func and cache (4 and 5 arguments of the function), but I totally out of ideas, how to implement such insertton logic 🤷
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there!
I've just migrated from
barbar
to custom hand-made tabline crafted with heirline, but can't reproduce barbar's feature of placing (say, when you open new file with:e
or through other things like Neo-Tree/Telescope/documentation/whatever) item representing the new buffer right after currently active one.As for now, everytime I open new file, it's item appears at the end of the list (although, btw, closing that buffers returns back to the previously active buffer).
Advice me, please, how can I make it (I assume
utils.make_buflist()
) to add new-buffer items near "previosly active" one?I thinnking of playing with
buf_func
andcache
(4 and 5 arguments of the function), but I totally out of ideas, how to implement such insertton logic 🤷Beta Was this translation helpful? Give feedback.
All reactions