vis: keys for yazi and fzf with hidden files; vis as default editor (also in yazi)

This commit is contained in:
2025-09-10 09:06:01 +02:00
parent 28fbb75b47
commit 6757fc6aec
3 changed files with 40 additions and 6 deletions

View File

@@ -5,13 +5,13 @@ imv = [
zathura = [
{ run = 'zathura "$@"', orphan = true },
]
nvim_cd = [
{ run = 'nvim -c "cd $@"', block = true }
fzf_vis = [
{ run = 'cd "$@" && fd --type f | fzf --bind "enter:become(vis {})"', block = true }
]
[open]
prepend_rules = [
{ mime = "image/*", use = "imv" },
{ mime = "application/pdf", use = "zathura" },
{ mime = "inode/directory", use = "nvim_cd" }
{ mime = "inode/directory", use = "fzf_vis" }
]