mksession: link between shared views into a terminal buffer by bobrippling · Pull Request #6930 · vim/vim

@bobrippling bobrippling changed the title mksession: link between shared views into a buffer mksession: link between shared views into a terminal buffer

Sep 10, 2020

k-takata

@bobrippling

Before this commit, if a terminal buffer was visible in multiple
windows, a `:mksession` would generate a script which would not
"re-link" these terminal buffers, duplicating the command across
the previously linked windows.

This commit handles a terminal buffer that's open in multiple
windows, ensuring the buffer is shared between those windows when
the session is restored.