diff options
| author | Joe <bousset.rudy@gmail.com> | 2022-08-11 15:36:51 +0200 | 
|---|---|---|
| committer | Joe <bousset.rudy@gmail.com> | 2022-08-11 15:36:51 +0200 | 
| commit | b894a7cdd84d84c08c3a76fd9fac0d7b405f6281 (patch) | |
| tree | af0f7b75cb23cb2aa2ca0b65a8da14d032352ba8 /.config/mutt/defaults.muttrc | |
| parent | update (diff) | |
| download | dotfiles-bsd-b894a7cdd84d84c08c3a76fd9fac0d7b405f6281.tar.gz dotfiles-bsd-b894a7cdd84d84c08c3a76fd9fac0d7b405f6281.tar.bz2 dotfiles-bsd-b894a7cdd84d84c08c3a76fd9fac0d7b405f6281.tar.xz dotfiles-bsd-b894a7cdd84d84c08c3a76fd9fac0d7b405f6281.tar.zst dotfiles-bsd-b894a7cdd84d84c08c3a76fd9fac0d7b405f6281.zip  | |
update
Diffstat (limited to '')
| -rw-r--r-- | .config/mutt/defaults.muttrc | 66 | 
1 files changed, 38 insertions, 28 deletions
diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc index db37a33..d1fee1a 100644 --- a/.config/mutt/defaults.muttrc +++ b/.config/mutt/defaults.muttrc @@ -4,11 +4,12 @@  # In the interest of seamless updating, do not edit this file.  # If you want to override any settings, set those in your muttrc.  set editor = "emacsclient -nw -a nvim" -set mailcap_path = /usr/home/jozan/.config/mutt/mailcap +set mailcap_path = $XDG_CONFIG_HOME/mutt/mailcap  set date_format="%d/%m/%y %H:%M"  set index_format="%2C %Z %?X?A& ? %D %-16.16F %s (%-4.4c)"  set new_mail_command = "notify-send -u normal 'NeoMutt' '  %n new mail(s)'" -set sort = 'reverse-date' +set sort = reverse-threads +set sort_aux = last-date-received  set smtp_authenticators = 'gssapi:login'  set query_command = "abook -C $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook --mutt-query '%s'"  set rfc2047_parameters = yes @@ -23,15 +24,45 @@ set forward_format = "Fwd: %s"	# format of subject when forwarding  set forward_quote		# include message in forwards  set reverse_name		# reply as whomever it was to  set include			# include message in replies -set mail_check=60 # to avoid lags using IMAP with some email providers (yahoo for example) +set mail_check = 60 # to avoid lags using IMAP with some email providers (yahoo for example) +set mail_check_stats +set nobeep +set charset = utf-8 +set noallow_8bit +set uncollapse_jump +set pager_index_lines = 10 +set text_flowed = yes + +#set crypt_opportunistic_encrypt = yes +#set pgp_self_encrypt = yes +set crypt_autosign = yes +set pgp_default_key = '0x0EAB41FC2D9F762A' +  auto_view text/html		# automatically show html (mailcap uses w3m)  auto_view application/pgp-encrypted  alternative_order text/plain text/enriched text/html + +# Sidebar mappings +set sidebar_visible = yes +set sidebar_width = 32 +set sidebar_short_path = yes +set sidebar_next_new_wrap = yes +set sidebar_delim_chars = '/' +set mail_check_stats +set sidebar_format = '%D%?F? [%F]?%* %?N?%N/? %?S?%S?' +set sidebar_indent_string = '  ' +set sidebar_folder_indent = yes +bind index,pager \Ck sidebar-prev +bind index,pager \Cj sidebar-next +bind index,pager \Co sidebar-open +bind index,pager \Cp sidebar-prev-new +bind index,pager \Cn sidebar-next-new +bind index,pager B sidebar-toggle-visible + +# General rebindings  bind index,pager i noop  bind index,pager g noop  bind index \Cf noop - -# General rebindings  bind index j next-entry  bind index k previous-entry  bind attach <return> view-mailcap @@ -65,37 +96,16 @@ bind pager \031 previous-line		# Mouse wheel  bind pager \005 next-line		# Mouse wheel  bind editor <Tab> complete-query -#set crypt_autosign = yes -#set crypt_opportunistic_encrypt = yes -#set pgp_self_encrypt = yes -set pgp_default_key  = '0x0EAB41FC2D9F762A' -  macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook -C $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook"  macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read" -macro index O "<shell-escape>mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc -a<enter>" "run mbsync to sync all mail" +macro index O "<shell-escape>mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc -a<enter>" "run mbsync to sync all mail"  macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"<enter>" "show only messages matching a notmuch pattern"  macro index A "<limit>all\n" "show all messages (undo limit)"  macro compose Y "<first-entry>\  <pipe-entry>mutt_md2html.sh<enter>\  <enter-command>source /tmp/neomutt_commands<enter>" -# Sidebar mappings -set sidebar_visible = yes -set sidebar_width = 25 -set sidebar_short_path = yes -set sidebar_next_new_wrap = yes -set sidebar_delim_chars = '/' -set mail_check_stats -set sidebar_format = '%D%?F? [%F]?%* %?N?%N/? %?S?%S?' -set sidebar_indent_string = ' ' -set sidebar_folder_indent = yes -bind index,pager \Ck sidebar-prev -bind index,pager \Cj sidebar-next -bind index,pager \Co sidebar-open -bind index,pager \Cp sidebar-prev-new -bind index,pager \Cn sidebar-next-new -bind index,pager B sidebar-toggle-visible - +# colorscheme  # color normal            default             default  # color indicator         brightyellow        red      # color tree              default             default   | 
