Add yazi keybinds

This commit is contained in:
pancakes 2025-08-13 12:26:21 +10:00
parent 72dba5c923
commit d59ff75299
Signed by: pancakes
SSH key fingerprint: SHA256:yrp4c4hhaPoPG07fb4QyQIgAdlbUdsJvUAydJEWnfTw
2 changed files with 7 additions and 0 deletions

View file

@ -3,6 +3,8 @@ source ~/.config/environment.sh
if status is-interactive if status is-interactive
set -g fish_greeting set -g fish_greeting
bind alt-f yazi
# Aliases # Aliases
alias cat="bat" alias cat="bat"
alias ls="eza --group-directories-first -x" alias ls="eza --group-directories-first -x"

View file

@ -47,3 +47,8 @@ desc = "Go to Videos"
on = ["g", "v", "r"] on = ["g", "v", "r"]
run = "cd ~/Videos/Recording" run = "cd ~/Videos/Recording"
desc = "Go to Recordings" desc = "Go to Recordings"
# yank and copy to clipboard
[[mgr.prepend_keymap]]
on = "y"
run = [ 'shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list', "yank" ]