diff options
author | Ben Sima <ben@bsima.me> | 2018-07-12 09:07:09 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-07-12 09:07:09 -0700 |
commit | a25f817202787a140cee28bd4e1a385f1119f30c (patch) | |
tree | 201635262e6f8dfe54db1449a9176b69014209c8 | |
parent | d55f9eef8bb90af4606a70f5367273d8ebcdb972 (diff) |
Email tweaks
-rwxr-xr-x | mutt/notmuch-hook.sh | 12 | ||||
-rw-r--r-- | muttrc | 2 | ||||
-rw-r--r-- | packages.nix | 1 | ||||
-rw-r--r-- | vim.nix | 3 |
4 files changed, 14 insertions, 4 deletions
diff --git a/mutt/notmuch-hook.sh b/mutt/notmuch-hook.sh index eec6680..29fe9dc 100755 --- a/mutt/notmuch-hook.sh +++ b/mutt/notmuch-hook.sh @@ -5,14 +5,18 @@ notmuch new # retag all "new" messages "inbox" and "unread" notmuch tag +inbox +unread -new -- tag:new -# tag all messages from "me" as sent and rmeove tags inbox and unread -notmuch tag -new -unread -inbox +sent -- from:ben@bsima.me or from:bsima@me.com +# tag all messages from "me" as sent +notmuch tag +sent -- from:ben@bsima.me + +# tag TODOs from myself +notmuch tag +todo -- subject:TODO # tag some newsletters, but don't show them in inbox -notmuch tag +newsletters -new -inbox -- \ +notmuch tag +newsletters -inbox -- \ from:the-morning-paper@onelanday.co.uk or \ from:newsletter@fightaging.org or \ - subject:'The Reading List Email*' + subject:'The Reading List Email*' or \ + from:info@haskellweekly.news # tag logwatch emails & remove from inbox notmuch tag +logwatch -new -inbox -- subject:'Logwatch*' @@ -77,6 +77,8 @@ virtual-mailboxes "inbox" "notmuch://?query=tag:inbox" virtual-mailboxes "archive" "notmuch://?query=tag:archive" virtual-mailboxes "sent" "notmuch://?query=tag:sent" virtual-mailboxes "jobs" "notmuch://?query=tag:jobs" +virtual-mailboxes "todo" "notmuch://?query=tag:todo" +virtual-mailboxes "newsletters" "notmuch://?query=tag:newsletters" macro index S "<vfolder-from-query>" "search mailbox" macro index,pager A "<modify-labels>+archive -unread -inbox\n" "archive message" diff --git a/packages.nix b/packages.nix index 866f620..137b6ad 100644 --- a/packages.nix +++ b/packages.nix @@ -1,6 +1,7 @@ { pkgs }: [ +pkgs.abook pkgs.ag pkgs.apvlv pkgs.antiword @@ -40,7 +40,10 @@ in set shiftwidth=4 " Number of auto-indent spaces set smartindent " Enable smart-indent set laststatus=1 " No status line + " Mappings imap fd <Esc> + nnoremap ,s :r ~/sig.txt<cr> + " UI stuf let g:netrw_banner=0 " Disable file browser banner let g:netrw_liststyle=3 " Tree view set mouse=a |