junegunn/goyo.vim

When enabled, goyo creates empty buffers surrounding the current buffer in its window

miguno opened this issue · 2 comments

The problem: When goyo is enabled, it creates the "No Name" empty buffers as shown in the attached screenshot.

My question: Is there a way to disable or hide these empty buffers? Or are they required to place "margins" around the actual buffer one is working in?

(My issue is less the buffers themselves, but that they show up with their own status line, which pollutes the zen-like focus of goyo. Perhaps this is rather a neovim configuration issue on my side?)

Screenshot 2022-12-12 at 20 42 06

This issue here is perhaps related to #198.

In my case, however, the empty buffers stay on-screen regardless of whether the window has focus or not, or whether I have written to the main buffer or not.

Also, I am using lualine.nvim, not Airline.

(The comment #198 (comment) on #198 is more similar to what I am experiencing.)

Solved by switching to https://github.com/folke/zen-mode.nvim/tree/main/lua/zen-mode. Sorry, it was easier for me to switch than to figure out how to configure goyo (or my surrounding neovim config) to fix the issue. I already spend a few hours on the problem before creating the GH issue here.