vis: keys for yazi and fzf with hidden files; vis as default editor (also in yazi)
This commit is contained in:
@@ -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" }
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user