Hacker News new | ask | show | jobs
by jah 1541 days ago
I'm a huge fan of the base16 color schemes - not for their appearance (though most look great), but for their ease of integration within the shell and vim. Just clone the repos below, drop a few lines in your shellrc/vimrc, then use a single bash command to change the scheme in both. No more mucking with Xresources.

https://github.com/chriskempson/base16-shell

https://github.com/chriskempson/base16-vim

2 comments

I used Base16, and even added a colorscheme generator to the near infinite collection of them that Base16 has.

In the end, rewriting the upper 8 colors to not match the established ANSI color scheme is what broke it for me.

Thanks for this! I knew about 256-color and truecolor modes, but I didn't know about the palette-changing escape sequences. I prefer to use the standard 16 colours for portability, but tweak them where possible for comfort. Now I can do that in a shell script instead of messing with the terminal palette on every computer!

Not gonna use those clunky base16 scripts, though. TL;DR in GNU screen: $ echo -e '\eP\e]4;0;rgb:01/3f/13\a\e\\'