Refactoring
- Added macos
This commit is contained in:
parent
03a7616e8c
commit
2c1ccaffd1
47 changed files with 76 additions and 33 deletions
89
global/.config/mutt/muttrc
Normal file
89
global/.config/mutt/muttrc
Normal file
|
@ -0,0 +1,89 @@
|
|||
source ./settings
|
||||
source ./paths
|
||||
|
||||
# Ensure TLS is enforced
|
||||
set ssl_starttls = yes
|
||||
set ssl_force_tls = yes
|
||||
|
||||
unset record
|
||||
|
||||
# settings
|
||||
set pager_index_lines = 10
|
||||
set pager_context = 3 # show 3 lines of context
|
||||
set pager_stop # stop at end of message
|
||||
set menu_scroll # scroll menu
|
||||
set tilde # use ~ to pad mutt
|
||||
set move=no # don't move messages when marking as read
|
||||
set mail_check = 30 # check for new mail every 30 seconds
|
||||
set imap_keepalive = 900 # 15 minutes
|
||||
set sleep_time = 0 # don't sleep when idle
|
||||
set wait_key = no # mutt won't ask "press key to continue"
|
||||
set envelope_from # which from?
|
||||
set edit_headers # show headers when composing
|
||||
set fast_reply # skip to compose when replying
|
||||
set askcc # ask for CC:
|
||||
set fcc_attach # save attachments with the body
|
||||
set forward_format = "Fwd: %s" # format of subject when forwarding
|
||||
set forward_decode # decode when forwarding
|
||||
set forward_quote # include message in forwards
|
||||
set mime_forward # forward attachments as part of body
|
||||
set attribution = "On %d, %n wrote:" # format of quoting header
|
||||
set reply_to # reply to Reply to: field
|
||||
set reverse_name # reply as whomever it was to
|
||||
set include # include message in replies
|
||||
set text_flowed=yes # correct indentation for plain text
|
||||
unset sig_dashes # no dashes before sig
|
||||
unset markers
|
||||
|
||||
# Sort by newest conversation first.
|
||||
set charset = "utf-8"
|
||||
set uncollapse_jump
|
||||
set sort_re
|
||||
set sort = reverse-threads
|
||||
set sort_aux = last-date-received
|
||||
# How we reply and quote emails.
|
||||
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
|
||||
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
|
||||
set send_charset = "utf-8:iso-8859-1:us-ascii" # send in utf-8
|
||||
|
||||
#sidebar
|
||||
set sidebar_visible # comment to disable sidebar by default
|
||||
set sidebar_short_path
|
||||
set sidebar_folder_indent
|
||||
set sidebar_format = "%B %* [%?N?%N / ?%S]"
|
||||
set mail_check_stats
|
||||
bind index,pager \CP sidebar-prev
|
||||
bind index,pager \CN sidebar-next
|
||||
bind index,pager \CE sidebar-open
|
||||
bind index,pager B sidebar-toggle-visible
|
||||
|
||||
set editor = "vim"
|
||||
|
||||
# bindings
|
||||
macro index A \
|
||||
"<tag-pattern>~N<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" \
|
||||
"mark all new as read"
|
||||
|
||||
bind index j next-entry
|
||||
bind index k previous-entry
|
||||
bind pager j next-line
|
||||
bind pager k previous-line
|
||||
|
||||
bind attach,index,pager \CD next-page
|
||||
bind attach,index,pager \CU previous-page
|
||||
bind pager g top
|
||||
bind pager G bottom
|
||||
bind attach,index g first-entry
|
||||
bind attach,index G last-entry
|
||||
|
||||
# open attachments with mailcap with <return>
|
||||
bind attach <return> view-mailcap
|
||||
auto_view text/html # automatically show html (mailcap uses lynx)
|
||||
|
||||
#urlscan
|
||||
macro index,pager \cb "<pipe-message> urlscan<Enter>" "call urlscan to extract URLs out of a message"
|
||||
macro attach,compose \cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a message"
|
||||
|
||||
#theme
|
||||
source ~/.config/mutt/gruvbox/colors-gruvbox-shuber.muttrc
|
||||
source ~/.config/mutt/gruvbox/colors-gruvbox-shuber-extended.muttrc
|
Loading…
Add table
Add a link
Reference in a new issue