goyo.vim icon indicating copy to clipboard operation
goyo.vim copied to clipboard

Black bars show up on the edges of the screen when entering Goyo

Open willowiscool opened this issue 5 years ago • 2 comments

image

I get this odd glitch sometimes. It doesn't happen when I use gruvbox, but it does here with wal.vim and it also happens when I use it in tty.

willowiscool avatar Apr 02 '19 01:04 willowiscool

edit: I fixed it, you need to set termguicolors in your vimrc. That solved the issue for me.


Same here. Here is a minimal vimrc:

call plug#begin('~/.vim/plugged-vimr')
Plug 'junegunn/goyo.vim',                                      " Zen editor
call plug#end()
Screenshot 2019-04-15 at 15 43 46

pyrho avatar Apr 15 '19 13:04 pyrho

If you have set termguicolors and still have black bars, the vertical and horizontal bars are set with the highlights for StatusLine and StatusLineNC.

highlight StatusLine ...

You can troubleshoot configured highlights with :hi command. Some of those will be black.

xave avatar May 22 '24 17:05 xave