From 2674bad37315112fcf05c575220f84f412a5a046 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Wed, 12 Feb 2025 20:45:06 -0500 Subject: [PATCH] AutoYADM commit: 2025-02-12 20:45:06 --- .config/helix/config.toml | 1 + .config/yazi/flavors/ashen.yazi/README.md | 8 +++++++- .config/yazi/package.toml | 4 ++-- .config/yazi/yazi.toml | 2 +- .zshrc | 16 +++++++++++++--- 5 files changed, 24 insertions(+), 7 deletions(-) diff --git a/.config/helix/config.toml b/.config/helix/config.toml index f03f6ea4..089f8fac 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -3,6 +3,7 @@ theme = "ashen" [editor] line-number = "relative" undercurl = true +true-color = true # Not sure if I should enable this by default... # maybe it's better to just get used to using the clipboards separately? # Wouldn't be a bad idea to encorporate two clipboards into my workflow, diff --git a/.config/yazi/flavors/ashen.yazi/README.md b/.config/yazi/flavors/ashen.yazi/README.md index f27d2a87..b3714c1e 100644 --- a/.config/yazi/flavors/ashen.yazi/README.md +++ b/.config/yazi/flavors/ashen.yazi/README.md @@ -4,7 +4,13 @@ ## 🎨 Installation -Please download the `ashen.yazi` folder and place it inside +You can install Ashen with Yazi's package manager: + +```bash +ya pack -a ashen-org/ashen:ashen +``` + +Alternatively, download the `ashen.yazi` folder and place it inside `~/.config/yazi/flavors/`. ## ⚙️ Usage diff --git a/.config/yazi/package.toml b/.config/yazi/package.toml index 42ade7d7..3ec1fd36 100644 --- a/.config/yazi/package.toml +++ b/.config/yazi/package.toml @@ -50,5 +50,5 @@ hash = "ada10d1213f2117878e0fd90df708619" [[flavor.deps]] use = "ashen-org/ashen:ashen" -rev = "ded1f4e" -hash = "dd7112a30425b077d45359e1cad20759" +rev = "143aad5" +hash = "a6f097910912721681300869a94d1fd8" diff --git a/.config/yazi/yazi.toml b/.config/yazi/yazi.toml index 595a51e7..b5d8fc34 100644 --- a/.config/yazi/yazi.toml +++ b/.config/yazi/yazi.toml @@ -1,6 +1,6 @@ [plugin] prepend_previewers = [ - { name = "*.md", run = "glow" }, + # { name = "*.md", run = "glow" }, { mime = "text/csv", run = "miller" }, { mime = "audio/*", run = "exifaudio" }, { mime = "application/*zip", run = "ouch" }, diff --git a/.zshrc b/.zshrc index 4c9e02cb..2c9e5e36 100644 --- a/.zshrc +++ b/.zshrc @@ -8,7 +8,18 @@ source $ZSH/oh-my-zsh.sh ASHEN="$HOME/dev/ashen/ashen.nvim" source $ASHEN/extras/fzf/ashen.sh unset LS_COLORS -export EDITOR="hx" + +if whence -w helix &>/dev/null; then + # Stable + HELIX="helix" + export EDITOR="helix" + alias hx="helix" +else + # Latest + HELIX="hx" + alias helix="hx" + export EDITOR="hx" +fi # Note: if I do get Obsidian Bridge working, this is # a really bad way to load the env because @@ -41,8 +52,7 @@ alias vimclean='nvim --clean' alias catkeys='/bin/cat -v' alias e="$EDITOR" alias edit="$EDITOR" -# alias hx="helix" -alias h="hx" +alias h="$HELIX" alias v='nvim' alias vim='nvim' alias vi='nvim'