New answers tagged

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 ...


0

base16-vim themes set the colors_name variable to the theme name. base16-universal-manager is supposed to generate a single theme file under any filename for vim, I've named mine base16.vim. Because the filename is base16.vim, I set the colorscheme to base16. Inside that file, the theme is declaring let g:colors_name = "base16-onedark". I finally ...


1

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


0

Serendipity taught me that Vim holds a command to display the greeting message on demand: :intro. However, as any multiline output command, it shows the Press ENTER or type command to continue message, and disappears if anything is typed. The original 'intro' hangs until the screen is redrawn, as stated in :h :intro: ...


Top 50 recent answers are included