junegunn / goyo.vim

:tulip: Distraction-free writing in Vim
MIT License
4.5k stars 115 forks source link

Goyo was not centering the buffer horizontally #12

Closed jsherer closed 10 years ago

jsherer commented 10 years ago

I was having issues with Goyo not centering the buffer horizontally. I learned it was being caused by these two commands tucked away in my vim config:

set splitbelow set splitright

These naturally affect the way windows are split, which Goyo uses to create the pad scratch buffers for horizontal centering. Removing them "fixed" the Goyo issue.

junegunn commented 10 years ago

Fixed. Thanks for the report!