codymikol / multiverse.nvim

A session management plugin for neovim
MIT License
2 stars 0 forks source link

Refine hydration / dehydration strategy #20

Closed codymikol closed 1 month ago

codymikol commented 1 month ago

Ideally, we should have a lifecycle that looks something like this when in an existing universe and moving to another universe

Dehydration

plugin hook -- before dehydration :heavy_check_mark: save buffers :heavy_check_mark: save tabpages :heavy_check_mark: save windows :heavy_check_mark: save window layout plugin hook -- after dehydration

Hydration

plugin hook -- before hydration :heavy_check_mark: load all buffers :heavy_check_mark: load all tabpages :heavy_check_mark: load all windows in their respective layouts plugin hook -- after hydration