Touring Colours in Vim
Please excuse the all-over-the-place spelling in this post, I’m British so “colour” is a word and “color” is a vim command. Confused? Me too
On playing with scrollcolor I saw a few themes that I really liked, but they didn’t apply when I set them in my .vimrc. After a while I realised some themes were working on the second pass, but not the first. Closer inspection showed that applying the vibrantink scheme made all future schemes work flawlessly, and when I looked at the source for that scheme, I saw that it was setting t_Co=256.
Forcing 256 Colours
I added this line to my .vimrc before the colorscheme setting:
I suspect there are better ways to tell my terminal that it has 256 colours but for now, I’m happy and coding again (with vividchalk), which looks something like this: