Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • This can sometimes results from drawing errors or misconfigured terms (or misconfigured colorschemes). Check $TERM (env var), t_Co (vim option set based on TERM), and try doing a :redraw Commented Oct 23, 2018 at 13:35
  • Thanks! Your comment lead me to checking if it was an issue with screen not supporting 256 colors, and so I added the line term "screen-256color" to my /etc/.screenvrc file, and that solved the problem! (however, it did create a new problem in that now if I add the line set termguicolors to my .vimrc file it just changes all text to white... which means I can't use themes that rely on the termgui option like ayu). But at least some custom themes work now! Commented Oct 24, 2018 at 5:52
  • 1
    ill write the answer a bit later; as for the termguicolors, well, 256-color terms dont support truecolor (i think it’s 20-bit color? Much more than 256). If you really want termguicolors, you need a term that supports it (afaik tmux/screen do not), or use gvim. I happily live with 256 colors bc i do everything in tmux. Commented Oct 24, 2018 at 13:59
  • 1
    Oh, okay, perfect. Well I'll live with 256 colors as well instead of truecolor. It looks like according this forum chain I found there is a way to get screen to support truecolor, but it's a pretty janky process to get there and I tried a little bit of what they said but it didn't immediately work and I don't want to dump a bunch of time into trying to support that. Thanks for helping me get 256 colors working! Commented Oct 24, 2018 at 18:13
  • 1
    Looks like a problem with BCE. Does :let &t_ut='' fix it? See snk.tuxfamily.org/log/vim-256color-bce.html Commented Oct 24, 2018 at 19:31