bat
a syntax theme for bat, with the same token colors as the vs code theme. delta highlights diffs with it too.
files: rime.tmTheme · rime-glacier.tmTheme · rime-aurora.tmTheme · rime-abyss.tmTheme · rime-frost.tmTheme · on github
install
mkdir -p "$(bat --config-dir)/themes"
curl -fsSL https://raw.githubusercontent.com/w0x7y/rime/main/general/bat/rime.tmTheme -o "$(bat --config-dir)/themes/rime.tmTheme"
bat cache --build
echo '--theme="rime"' >> "$(bat --config-file)"other variants
rime-glacier
mkdir -p "$(bat --config-dir)/themes"
curl -fsSL https://raw.githubusercontent.com/w0x7y/rime/main/general/bat/rime-glacier.tmTheme -o "$(bat --config-dir)/themes/rime-glacier.tmTheme"
bat cache --build
echo '--theme="rime-glacier"' >> "$(bat --config-file)"rime-aurora
mkdir -p "$(bat --config-dir)/themes"
curl -fsSL https://raw.githubusercontent.com/w0x7y/rime/main/general/bat/rime-aurora.tmTheme -o "$(bat --config-dir)/themes/rime-aurora.tmTheme"
bat cache --build
echo '--theme="rime-aurora"' >> "$(bat --config-file)"rime-abyss
mkdir -p "$(bat --config-dir)/themes"
curl -fsSL https://raw.githubusercontent.com/w0x7y/rime/main/general/bat/rime-abyss.tmTheme -o "$(bat --config-dir)/themes/rime-abyss.tmTheme"
bat cache --build
echo '--theme="rime-abyss"' >> "$(bat --config-file)"rime-frost
mkdir -p "$(bat --config-dir)/themes"
curl -fsSL https://raw.githubusercontent.com/w0x7y/rime/main/general/bat/rime-frost.tmTheme -o "$(bat --config-dir)/themes/rime-frost.tmTheme"
bat cache --build
echo '--theme="rime-frost"' >> "$(bat --config-file)"bat names a theme after its file, so keep the file name. comments are italic, which bat only shows with --italic-text=always.