Closed zach-is-my-name closed 2 years ago
Hi zach, Thanks for your interest in this plugin.
As you know, each preset color has a number, and is applied to words in order by default. And you can also give the color number using number keys before setting, like 7
HiSet
for brown color.
Reordering colors is relatively easier than editing the colors with adjustments. If you have a list of colors, you may only need to change the color numbers.
To get the color list and change the numbers, and finally save and load them, the following steps may be useful.
hi
command
: hi
HiColor
list. HiColor
list, copy and paste it to the current empty file.
HiColor1 xxx ctermfg=17 ctermbg=113 guifg=#001767 guibg=#8fd757
HiColor2 xxx ctermfg=52 ctermbg=221 guifg=#570000 guibg=#fcd757
xxx
keyword and add the hi
command at the beginning, each line will be a complete vim command that you can run right in the command window.
hi HiColor1 ctermfg=17 ctermbg=113 guifg=#001767 guibg=#8fd757
hi HiColor2 ctermfg=52 ctermbg=221 guifg=#570000 guibg=#fcd757
.vim
extension, for example my_color.vim
~/.vim/colors
directory (or ~/vimfiles/colors
on Windows)my_color
using vim command. Enter colo<tab><tab>
in the command window
: colo<Tab><Tab>
my_color
at any time, edit or add new colors.colorscheme my_color
Thank you. The rest of the documentation seemed clear and this feels like a solid plugin for a wonderful use-case. Next time I need to use the feature, I'll reference this to get the effect I'm looking for
Nice, I hope this tool helps. Please let me know if you need any other feature. Thank you
Hi,
It's not clear to me from reading the documentation how to re-order the colors. Can you please help me out?