I think I found my answer. autocommand with the
|SessionLoadPost| after loading a session file
event. It hit me when I realised I want something to trigger this code.
autocmd SessionLoadPost * call LoadBufsString()
does it. I needed to specify * for the filematcher, for some reason. Not sure if that is mandatory for all autocommands.
I think I found my answer. autocommand with the
|SessionLoadPost| after loading a session file
event. It hit me when I realised I want something to trigger this code.
I think I found my answer. autocommand with the
|SessionLoadPost| after loading a session file
event. It hit me when I realised I want something to trigger this code.
autocmd SessionLoadPost * call LoadBufsString()
does it. I needed to specify * for the filematcher, for some reason. Not sure if that is mandatory for all autocommands.