office: Integrate neomutt and taskwarrior
The beginning of what I hope can be a useful integration: send mails to taskwarrior as tasks and open the corresponding mail from tasks in taskwarrior. To make a task out of an e-mail, in neomutt, simply press `t` when the mail is selected or opened. It will create an automatic task in taskwarrior with the description "Reply to [mail] by [sender]" and tag it as mail. If you press `T` instead, you can give the task your own description and tags. In taskwarrior, you can simply `t open <taskid>` on a task that came from neomutt to show the message content on the command line (using notmuch). This is still a bit rudimentary and I would like an improved display, but it works for now.
This commit is contained in:
parent
a89249badd
commit
aefce1c498
3 changed files with 107 additions and 0 deletions
|
|
@ -13,5 +13,8 @@ notes.command = "$EDITOR ${XDG_DATA_HOME:-~/.local/share}/task/notes/$UUID.md"
|
|||
links.regex = "^https?://"
|
||||
links.command = "xdg-open $FILE"
|
||||
|
||||
mail.regex = "^<.*@.*>$"
|
||||
mail.command = "notmuch show mid:${FILE:1:-1}"
|
||||
|
||||
[CLI]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue