div tweaks incl yazi

This commit is contained in:
Henrik Bakken
2026-10-07 22:07:19 +02:00
parent dc9b1aaf4f
commit 7adc711bcd
4 changed files with 21 additions and 4 deletions
-1
View File
@@ -1,5 +1,4 @@
[screencast] [screencast]
chooser_type = dmenu chooser_type = dmenu
chooser_cmd = fuzzel --dmenu chooser_cmd = fuzzel --dmenu
output_name=DP-1
max_fps=30 max_fps=30
+19 -2
View File
@@ -4,6 +4,11 @@ show_hidden = true
sort_by = "natural" sort_by = "natural"
ratio = [ 1, 4, 5 ] ratio = [ 1, 4, 5 ]
[[mgr.prepend_keymap]]
on = "O"
run = "open --interactive"
desc = "Open with... (Interactive menu)"
[preview] [preview]
wrap = "yes" wrap = "yes"
image_delay = 50 image_delay = 50
@@ -38,6 +43,10 @@ group = "git"
url = "*/" url = "*/"
run = "git" run = "git"
[[plugin.prepend_previewers]]
url = "*/"
run = "eza-preview"
[[plugin.prepend_previewers]] [[plugin.prepend_previewers]]
url = "*.tar*" url = "*.tar*"
run = 'piper --format=url -- tar tf "$1"' run = 'piper --format=url -- tar tf "$1"'
@@ -51,8 +60,16 @@ url = "*.md"
run = 'piper -- CLICOLOR_FORCE=1 glow -w=$w -s=dark "$1"' run = 'piper -- CLICOLOR_FORCE=1 glow -w=$w -s=dark "$1"'
[[plugin.prepend_previewers]] [[plugin.prepend_previewers]]
url = "*/" url = "*.parquet"
run = 'piper -- eza -TL=3 --color=always --icons=always --group-directories-first --no-quotes "$1"' run = "parquet-preview"
[[plugin.prepend_previewers]]
url = "*.parq"
run = "parquet-preview"
[[plugin.prepend_previewers]]
url = "*.pq"
run = "parquet-preview"
[[plugin.prepend_spotters]] [[plugin.prepend_spotters]]
url = "*" url = "*"
+1 -1
View File
@@ -44,7 +44,7 @@ autoload -Uz compinit
compinit -d "~/.config/zsh/zcompdump" compinit -d "~/.config/zsh/zcompdump"
zstyle ':completion:*' menu select zstyle ':completion:*' menu select
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' 'r:|[._-]=** r:|=**' zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' 'r:|[._-]=** r:|=**'
zstyle ':completion:*' list-colors '' zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
if command -v kubectl >/dev/null 2>&1; then if command -v kubectl >/dev/null 2>&1; then
source <(kubectl completion zsh) source <(kubectl completion zsh)
fi fi
+1
View File
@@ -331,6 +331,7 @@ def install_filebrowsers(overwrite: bool, reinstall: bool) -> None:
"yazi-rs/plugins:smart-enter", "yazi-rs/plugins:smart-enter",
"yazi-rs/plugins:smart-filter", "yazi-rs/plugins:smart-filter",
"yazi-rs/plugins:toggle-pane", "yazi-rs/plugins:toggle-pane",
"ahkohd/eza-preview",
"boydaihungst/file-extra-metadata", "boydaihungst/file-extra-metadata",
]: ]:
run(f"ya pkg add {plugin}".split()) run(f"ya pkg add {plugin}".split())