highlight icon indicating copy to clipboard operation
highlight copied to clipboard

vim2theme

Open divoxx opened this issue 7 years ago • 5 comments

I see a comment on many themes "generated by vim2theme"

Where can I find such a tool in order to generate my own themes?

divoxx avatar May 01 '18 22:05 divoxx

According to the ChangeLog I wrote such a script in 2010 to convert a bunch of vim themes. It is gone, but it is little effort to write a little script again. Might be worthwile regarding the huge collection of vim styles.

andre-simon avatar May 02 '18 19:05 andre-simon

Ah, bummer. I noticed a bunch of files in this repo and accross github with that same auto-generated comment and figured it was public somewhere. Thanks for the clarification :)

divoxx avatar May 02 '18 20:05 divoxx

It was a very simple script which would not work e.g. with color names. I add this as reference to remind myself: http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim

andre-simon avatar May 03 '18 18:05 andre-simon

I've managed to find a copy of the theme2to3.py script, from a very old version of Highlight (v3.5-1) on the internet (not available on GitHub):

  • http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el6/en/i386/rpmforge/RPMS/

And have published it as a Gist:

  • https://gist.github.com/tajmone/2d6058f108032ac913f98c42d5e28e23

But haven't managed to find vim2theme so far. I actually came across some themes recently generated via vim2theme; for example "Dracula", 3 years ago, by @jvandijk:

  • https://gist.github.com/jvandijk/395f4a41cc56955fee0a

... so chances are that there are still copies of it floating around. I've asked @jvandijk if he has a copy of it to share, so let's cross fingers and wait.

tajmone avatar Jun 19 '18 13:06 tajmone

The new release contains 107 new Base16 themes: http://andre-simon.de/zip/download.php Some of these are also available in vim.

andre-simon avatar Jul 20 '18 19:07 andre-simon