How do I make mksession restore globals and local options too? :set sessionoptions+=globals,localoptions If you rely on sessions for context switching, default :mksession can feel incomplete because some state does not come back. category: config tags: #config #sessions #workflow #state