mail: add shortcuts and junk filter

This commit is contained in:
Ingolf Wagner 2020-01-28 11:25:46 +13:00
parent 60d51394e5
commit a19190c986
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 15 additions and 0 deletions

View file

@ -380,6 +380,18 @@
"from:fysitech.atlassian.net OR to:engiadina-pwa@noreply.github.com";
tags = [ "+mia" "+work" "-unread" "-inbox" ];
}
{
query = "from:turners.co.nz";
tags = [ "+junk" "-unread" "-inbox" ];
}
{
query = "from:codepen.io";
tags = [ "+junk" "-unread" "-inbox" ];
}
{
query = "from:mailings.web.de";
tags = [ "+junk" "-unread" "-inbox" ];
}
{
query =
"from:circleci.com OR (from:noreply@github.com AND to:audio-overlay@googlegroups.com)";

View file

@ -444,8 +444,11 @@ in {
# notmuch bindings
macro index \\\\ "<vfolder-from-query>" # looks up a hand made query
macro pager \\\\ "<vfolder-from-query>" # looks up a hand made query
macro index + "<modify-labels>+*\n<sync-mailbox>" # tag as starred
macro pager + "<modify-labels>+*\n<sync-mailbox>" # tag as starred
macro index - "<modify-labels>-*\n<sync-mailbox>" # tag as unstarred
macro pager - "<modify-labels>-*\n<sync-mailbox>" # tag as unstarred
# keys bindings