Hi Sebastian!

On Sa, 04 Mai 2013, Sebastian Tramp wrote:

> Hi there,
> 
> instead of using the file browser of mutt to select an attachment, I want to
> start a specific script / application which returns the file I want to attach.
> 
> more concrete: I want to select one of the most recent edited documents from
> the desktop index so I do not need to remember where the file is and to browse
> through many dir levels.
> 
> Is there a way to configure that somehow?

If you use Vim as editor you can use my CheckAttach¹² plugin, which 
supports ranger as external filebrowser and adds appropriate Attach: 
headers into your file. (you need :set edit_headers for this to work).

See the reference in the documentation³.

¹) https://github.com/chrisbra/CheckAttach
²) http://www.vim.org/scripts/script.php?script_id=2796
³) https://github.com/chrisbra/CheckAttach/blob/master/doc/CheckAttach.txt#L73

regards,
Christian

Reply via email to