neomutt: Add ics to calendar by printing it
By invoking 'print' for ics files from neomutt we can simply add it to our local calendar directly from the interface. Neat little 'cheat' to provide custom functions for specific file types.
This commit is contained in:
parent
b47043d42b
commit
044eedea32
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ text/html; render-prettyhtml %s; nametemplate=%s.html; copiousoutput;
|
|||
text/plain; $EDITOR %s ;
|
||||
|
||||
# show calendar invites
|
||||
text/calendar; mutt-ics; copiousoutput
|
||||
application/ics; mutt-ics; copiousoutput
|
||||
text/calendar; mutt-ics; description=ics details; copiousoutput; print=khal import %s; needsterminal
|
||||
application/ics; mutt-ics; description=ics details; copiousoutput; print=khal import %s; needsterminal
|
||||
|
||||
# open images externally
|
||||
image/*; imv %s ;
|
||||
|
|
Loading…
Reference in a new issue