| @@ -1,5 +1,6 @@ | |||||
| # vim: filetype=muttrc | # vim: filetype=muttrc | ||||
| # This is the general mutt config which has the settings that all accounts use. | # This is the general mutt config which has the settings that all accounts use. | ||||
| source muttcol | |||||
| set sleep_time = 0 | set sleep_time = 0 | ||||
| set sort = 'reverse-date' | set sort = 'reverse-date' | ||||
| set editor = vim | set editor = vim | ||||
| @@ -21,10 +22,10 @@ mono bold bold | |||||
| mono underline underline | mono underline underline | ||||
| mono indicator reverse | mono indicator reverse | ||||
| color index yellow default '.*' | color index yellow default '.*' | ||||
| color index_author red default '.*' | |||||
| color index_number blue default | |||||
| color index_subject cyan default '.s' | |||||
| color index_size green default | |||||
| #color index_author red default '.*' | |||||
| #color index_number blue default | |||||
| #color index_subject cyan default '.s' | |||||
| #color index_size green default | |||||
| color normal default default | color normal default default | ||||
| color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ | color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ | ||||
| color body brightblue default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ | color body brightblue default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ | ||||
| @@ -43,9 +44,3 @@ macro index,pager \Cu |urlview\n | |||||
| bind index \Cf noop | bind index \Cf noop | ||||
| macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a notmuch pattern" | macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a notmuch pattern" | ||||
| macro index A "<limit>all\n" "show all messages (undo limit)" | macro index A "<limit>all\n" "show all messages (undo limit)" | ||||
| macro index,pager i1 '<sync-mailbox><enter-command>source /home/luke/.config/mutt/accounts/luke.muttrc<enter><change-folder>!<enter>' | |||||
| source /home/luke/.config/mutt/accounts/luke.muttrc | |||||
| macro index,pager i2 '<sync-mailbox><enter-command>source /home/luke/.config/mutt/accounts/gkulade.muttrc<enter><change-folder>!<enter>' | |||||
| macro index,pager i3 '<sync-mailbox><enter-command>source /home/luke/.config/mutt/accounts/gmail.muttrc<enter><change-folder>!<enter>' | |||||
| macro index,pager i4 '<sync-mailbox><enter-command>source /home/luke/.config/mutt/accounts/luke.muttrc<enter><change-folder>!<enter>' | |||||
| macro index,pager i5 '<sync-mailbox><enter-command>source /home/luke/.config/mutt/accounts/gmail.muttrc<enter><change-folder>!<enter>' | |||||