Compare commits

..

7 Commits

6 changed files with 24 additions and 16 deletions

View File

@ -6,6 +6,7 @@ set folder = "imaps://mail.example.com" # IMAP url
set spoolfile = +Inbox # Inbox
set record = +Sent # Sent (copy all sent messages to this mailbox)
set postponed = +Drafts # copy Drafts to here
set trash = +Trash # send trash here
set imap_check_subscribed # connect to all mailboxes

18
colors
View File

@ -2,20 +2,20 @@
# This is nearly 100% copied from https://github.com/LukeSmithxyz/mutt-wizard/blob/master/share/mutt-wizard.muttrc
# Default index colors:
color index yellow default '.*'
color index_author red default '.*'
color index blue default '.*'
color index_author magenta default '.*'
color index_number blue default
color index_subject cyan default '.*'
# New mail is boldened:
color index brightyellow black "~N"
color index_author brightred black "~N"
color index brightblue black "~N"
color index_author brightmagenta black "~N"
color index_subject brightcyan black "~N"
# Tagged mail is highlighted:
color index brightyellow blue "~T"
color index_author brightred blue "~T"
color index_subject brightcyan blue "~T"
color index blue brightblack "~T"
color index_author brightmagenta brightblack "~T"
color index_subject brightcyan brightblack "~T"
# Other colors and aesthetic settings:
mono bold bold
@ -24,7 +24,7 @@ mono indicator reverse
mono error bold
color normal default default
color indicator brightblack white
color sidebar_highlight red default
color sidebar_highlight green default
color sidebar_divider brightblack black
color sidebar_flagged red black
color sidebar_new green black
@ -35,7 +35,7 @@ color message cyan default
color markers red white
color attachment white default
color search brightmagenta default
color status brightyellow black
color status brightblue black
color hdrdefault brightgreen default
color quoted green default
color quoted1 blue default

View File

@ -18,8 +18,8 @@ bind pager,attach h exit
bind pager j next-line
bind pager k previous-line
bind pager l view-attachments
bind index D delete-message
bind index U undelete-message
bind index,pager D delete-message
bind index,pager U undelete-message
bind index L limit
bind index h noop
bind index l display-message
@ -35,6 +35,8 @@ bind index,pager,browser u half-up
bind index,pager S sync-mailbox
bind index,pager R group-reply
bind pager \CR recall-message
# Mouse wheel
bind index \031 previous-undeleted
bind index \005 next-undeleted

View File

@ -7,3 +7,4 @@ audio/*; ~/.config/mutt/nixopen %s ;
application/pdf; ~/.config/mutt/nixopen %s ;
application/pgp-encrypted; gpg -d '%s'; copiousoutput;
application/pgp-keys; gpg --import '%s'; copiousoutput;
application/*; ~/.config/mutt/nixopen %s ;

7
muttrc
View File

@ -3,11 +3,6 @@
set header_cache = ~/.cache/mutt/header_cache # cache headers
set message_cachedir = ~/.cache/mutt # cache messages
set sidebar_visible = yes # enable sidebar
set sidebar_width = 20 # sidebar width
set sidebar_short_path = yes
set sidebar_next_new_wrap = yes # ctrl-j/k will wrap around
set sidebar_format = '%D%?F? [%F]?%* %?N?%N/? %?S?%S?' # sidebar format
set mail_check_stats # count unread/read messages
set query_command = "abook --mutt-query '%s'" # set up Abook
@ -19,6 +14,7 @@ set index_format = "%4C %Z %D %-15.15F %s (%-4.4c)"
set rfc2047_parameters = yes
set sort = threads
set sort_aux = reverse-date
set wait_key = no # disable "press key to continue"
set markers = no # disable `+` displayed at line wraps
set mark_old = no # only mark messages as read if they have been opened
set mime_forward = yes # attachments are also forwarded
@ -32,6 +28,7 @@ auto_view text/html # automatically show html
auto_view application/pgp-encrypted
alternative_order text/plain text/enriched text/html
source sidebar # load sidebar settings
source keybinds # load keybinds
source colors # load colors
source account # load account

7
sidebar Normal file
View File

@ -0,0 +1,7 @@
# vim: filetype=neomuttrc
set sidebar_visible = yes # enable sidebar
set sidebar_width = 20 # sidebar width
set sidebar_short_path = yes
set sidebar_next_new_wrap = yes # ctrl-j/k will wrap around
set sidebar_format = '%D%?F? [%F]?%* %?N?%N/? %?S?%S?' # sidebar format