Closed orbisvicis closed 9 years ago
Running goyo is effectively equivalent to doing the following.
" Open a buffer
" Open it in a new tab
:tab split
" Move the cursor
" Close the tab
:q
The cursor in the original window is not synchronized. Goyo tries to restore the position of the buffer when it's possible, but it doesn't work when you close Goyo window with :q
, it's a known issue. Closing Goyo window by leaving the tab (e.g. gt
) will work.
See: https://github.com/junegunn/goyo.vim/blob/master/autoload/goyo.vim#L309-L312
Let me know if extra info required.