I'm trying to create a macros to integrate fzf with mutt for selecting attachments. I have tried:
macro compose H "<attach-file> c <kill-line> <shell-escape> /usr/bin/fzf <enter>"
Unfortunately I couldn't get the output of the command fzf and change directory. Any ideas on how to do it?
(It would be even better if I could select the file in fzf and automatically attach it without changing folder and select the file and then press enter)
Thank you