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
When using Minimap with auto_start, the command :mksession will also save the minimap window with its "filename" -MINIMAP- which will make loading the session file fail as Minimap will auto-start too when reopening the files from the session and thus try to open a minimap window with the same name as the one recorded in the session.
I believe Minimap should prevent Vim from saving its own windows in the session as they are unusable anyway since their contents are not stored in the file system. Even if untrue, it should at least provide an option to activate this in order to not break :mksession when auto_start is enabled.
The text was updated successfully, but these errors were encountered:
I don't see an autocmd in the documentation that fires when :mksession is ran. Without that, I'm not sure what minimap can do. If I'm missing it, please point it out and I'll mark this as a feature request.
Without an autocmd, you might look into making a custom mapping or function that closes the minimap, calls mksession, then reopens the minimap.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Check list
Environment info
Version info
Question / Problem and steps to reproduce
When using Minimap with
auto_start
, the command:mksession
will also save the minimap window with its "filename"-MINIMAP-
which will make loading the session file fail as Minimap will auto-start too when reopening the files from the session and thus try to open a minimap window with the same name as the one recorded in the session.Error Message:
Excerpt from Session.vim:
Full Session.vim:
Session.vim.txt
I believe Minimap should prevent Vim from saving its own windows in the session as they are unusable anyway since their contents are not stored in the file system. Even if untrue, it should at least provide an option to activate this in order to not break
:mksession
whenauto_start
is enabled.The text was updated successfully, but these errors were encountered: