junegunn / goyo.vim

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

Opening and closing location list /quick-fix window breaks goyo #57

Closed jeetsukumaran closed 9 years ago

jeetsukumaran commented 9 years ago

Basically, opening a location list/quick fix window, makes the goyo window smaller (as expected), but after closing the goyo window it does not grow back again. This happens in vertical and horizontal split mode.

junegunn commented 9 years ago

Thanks for the report but I couldn't reproduce the problem as shown below:

quickfix

The following is the vimrc used for the above test:

call plug#begin('~/.vim/plugged')
Plug 'junegunn/goyo.vim'
Plug 'junegunn/vader.vim'
call plug#end()

However, I wouldn't be surprised if Goyo doesn't work well with splits, especially the sidebars from the other plugins. Goyo basically is a big abuse of vim splits so I don't expect it to go along well with other splits. :relieved:

jeetsukumaran commented 9 years ago

Thanks for looking into it. Appreciate it!