2

At the very least you should be able to check the global variable that holds the current color scheme... :if g:colors_name ==? "a" | colo b | endif g:colors_name is the variable that I'm talking about and we do a case-insensitive check against the scheme you mentioned, a. (Color schemes don't require you specify the correct case. Case-sensitive ...


1

There's a web app I wrote that lets you create vim themes online and then export them easily. http://pintovim.dev/


Only top voted, non community-wiki answers of a minimum length are eligible