diff --git a/plugin/goyo.vim b/plugin/goyo.vim index b8ffa89..80efac5 100644 --- a/plugin/goyo.vim +++ b/plugin/goyo.vim @@ -126,7 +126,6 @@ function! s:goyo_on(width) set nonu nornu set colorcolumn= - set statusline=\ set winwidth=1 set winheight=1 set laststatus=0 @@ -143,6 +142,8 @@ function! s:goyo_on(width) call s:resize_pads() call s:tranquilize() + let &statusline = repeat(' ', winwidth(0)) + augroup goyo autocmd! autocmd BufWinLeave call s:goyo_off()