junegunn / goyo.vim

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

How to kill the previous buffer that Goyo is called from? #175

Open nikitavoloboev opened 6 years ago

nikitavoloboev commented 6 years ago

I made Goyo run on startup. For some reason Goyo makes a copy of current buffer and leaves it behind. So I am forced to :q twice after.

Is it possible to avoid this?

triztian commented 6 years ago

I'm having the same issue, not sure if it's an issue but it's a bit of annoying.

larsyencken commented 5 years ago

There's an example in the Customisations section to fix this: https://github.com/junegunn/goyo.vim/wiki/Customization#ensure-q-to-quit-even-when-goyo-is-active