The tabnames plugin keeps a tab local variable t:tab_name
for the tab label. Unfortunately, mksession
does not appear to save tab specific variables. What options do I have for saving this data, as I will need it to later (manually) load the tab names. Here's what I have so far:
- Update
sessionoptions
to save tab data (is this possible?) - Find some
SessionSavePre
event to traverse all tabs and make a global list of tab namesg:tab_names
(does such an event exist?) - Update a global tab names list
g:tab_names
every time tabs are added or removed (I would rather not do this as it involves shifting previous entries around)