diff --git a/README.md b/README.md index 9d18d5c..4ed30e3 100644 --- a/README.md +++ b/README.md @@ -211,7 +211,7 @@ We've cooked up some wonderful extras to enhance your cyberdream experience. Mos - **[Lazygit](extras/lazygit/)** - **[Pywal](extras/pywal/)** - **[Rio](extras/rio/)** -- **[Textmate/Bat/Sublime](extras/textmate/)** +- **[Textmate/Bat/Sublime/Delta](extras/textmate/)** - **[Tilux](extras/tilux/)** - **[Tmux](extras/tmux/)** - **[Wezterm](extras/wezterm/)** diff --git a/extras/textmate/README.md b/extras/textmate/README.md new file mode 100644 index 0000000..0e5ef89 --- /dev/null +++ b/extras/textmate/README.md @@ -0,0 +1,51 @@ +## Usage + +### Bat + +Create a bat config dir. + +```sh +mkdir -p "$(bat --config-dir)/themes" +``` + +Download the cyberdream `.tmTheme` files into that directory. + +Rebuild the bat themes cache. + +```sh +bat cache --build +``` + +Create or use an existing config file. + +```sh +# Show existing config file location. +bat --config-file +# or generate a new one +bat --generate-config-file +``` + +Add the theme to the config. + +```conf +--theme="cyberdream" +``` + +See [Bat - Adding a new theme](https://github.com/sharkdp/bat?tab=readme-ov-file#adding-new-themes) +or [Bat - Configuration file](https://github.com/sharkdp/bat?tab=readme-ov-file#configuration-file) + +### Delta + +Prerequisite [Bat](#bat) theme. + +Add the theme to your [delta configuration section](https://dandavison.github.io/delta/configuration.html) in your `~/.gitconfig`. + +```gitconfig +[delta] + features = cyberdream + +[delta "decorations"] + syntax-theme = cyberdream +``` + +See [delta](https://dandavison.github.io/delta/)