diff --git a/fish/dot-config/fish/config.fish b/fish/dot-config/fish/config.fish index b5caa44..6ba92b2 100644 --- a/fish/dot-config/fish/config.fish +++ b/fish/dot-config/fish/config.fish @@ -3,6 +3,8 @@ source ~/.config/environment.sh if status is-interactive set -g fish_greeting + bind alt-f yazi + # Aliases alias cat="bat" alias ls="eza --group-directories-first -x" diff --git a/yazi/dot-config/yazi/keymap.toml b/yazi/dot-config/yazi/keymap.toml index 0510fd1..bbaefa2 100644 --- a/yazi/dot-config/yazi/keymap.toml +++ b/yazi/dot-config/yazi/keymap.toml @@ -47,3 +47,8 @@ desc = "Go to Videos" on = ["g", "v", "r"] run = "cd ~/Videos/Recording" 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" ]