From 7757c216c7afac800dbdd1b322e84110c59495b1 Mon Sep 17 00:00:00 2001 From: anthonyco Date: Tue, 5 Nov 2024 10:39:48 +0100 Subject: [PATCH] docs: email selected files using Thunderbird (#162) Co-authored-by: sxyazi --- docs/tips.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/tips.md b/docs/tips.md index 8d35c05b..441f9c8b 100644 --- a/docs/tips.md +++ b/docs/tips.md @@ -455,6 +455,23 @@ Original post: https://github.com/zellij-org/zellij/issues/3018#issuecomment-208 +## Email selected files using Thunderbird + +To send selected files using Thunderbird, with a keybinding Ctrl + e: + +```toml +# ~/.config/yazi/keymap.toml +[[manager.prepend_keymap]] +on = "" +run = ''' + shell --confirm ' + paths=$(for p in "$@"; do echo "$p"; done | paste -s -d,) + quoted="'\'$paths\''" + thunderbird -compose "attachment=$quoted" + ' +''' +``` + ## Make Yazi even faster than fast {#make-yazi-even-faster} While Yazi is already fast, there is still plenty of room for optimization for specific users or under certain conditions: