junegunn / goyo.vim

:tulip: Distraction-free writing in Vim
MIT License
4.52k stars 116 forks source link

Sessions do not restore Goyo state #82

Closed ghost closed 8 years ago

ghost commented 8 years ago

After :mks!' and:xa' from within Goyo and `vim -S' at cmd line, the Goyo session is restored in a messed up state. Is there perhaps a way to fix this?

junegunn commented 8 years ago

Hmm, I don't think it's possible. If you open the session file, you'll notice that it's just a Vimscript file and it does not contain any information about colors (e.g. colorscheme, highlight). Maybe there's a plugin that somehow extends the feature so that it also includes those settings. Maybe.