various yazi keybinds

This commit is contained in:
Alexander Bell 2025-05-31 16:27:08 +02:00
parent 6b08e4b8ad
commit 1e84ca72cf
3 changed files with 20 additions and 1 deletions

View File

@ -187,7 +187,7 @@
"return-type": "json",
"format": "{}",
"on-click": "~/.config/waybar/scripts/wireguard-toggle.sh",
"interval": 2,
"interval": 3,
"min-length": 1,
"max-length": 1
},

View File

@ -12,3 +12,13 @@ desc = "Go to ~/Documents/Programming"
on = [ "g", "u" ]
run = "cd ~/Documents/Uni"
desc = "Go to ~/Documents/Uni"
[[manager.append_keymap]]
on = [ "g", "s" ]
run = "cd /mnt/smb"
desc = "Go to /mnt/smb"
[[input.prepend_keymap]]
on = "<Esc>"
run = "close"
desc = "Cancel input"

View File

@ -0,0 +1,9 @@
[open]
rules = [
{ mime = "video/*", use = "play" },
]
[opener]
play = [
{ run = 'mpv "$@"', orphan = true}
]