junegunn / goyo.vim

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

How to keep Goyo enabled across buffers? #283

Closed extremelyonline closed 7 months ago

extremelyonline commented 7 months ago

Hi, in my .vimrc, I added Ensure :q to quit even when Goyo is active. This works fine for single buffer edits.

However, say I open a new buffer with :enew and close that buffer with :bd or :bw or wq or q!, the remaining working area doesn't have Goya enabled.

Would anyone know how to essentially always keep Goya enabled?