]> git.wh0rd.org Git - home.git/blob - .config/mutt/formatting.rc
mutt: update configs
[home.git] / .config / mutt / formatting.rc
1 # http://www.mutt.org/doc/devel/manual.html#formatstrings
2
3 # alias_format
4 # (format of data displayed for the alias menu)
5 # %a alias name    %n index number    %r address    %t tag-character
6 # %f flags (d for deleted)
7 #
8 #set alias_format="%4n %2f %t %-12a  %r"
9
10 # attach_format
11 #
12 # (controls the look of the compose and attach menu)
13 # %c = requires charset conversion (n or c)     %C = Charset
14 # %d = description      %D = deleted flag
15 # %e = MIME content-transfer-encoding           %f = filename
16 # %I = disposition (I=inline, A=attachment)
17 # %m = major MIME type  %M = MIME subtype       %n = attachment number
18 # %s = size             %t = tagged flag        %T = tree
19 # %u = unlink
20 # %>X = right justify and pad with "X"   %|X = pad with "X" to end of line
21 #
22 #set attach_format="%u%D%t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "
23 #set attach_format="%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "
24 #set attach_format="%u%D%I %t%4n %T%.80d%> [%.7m/%.20M, %.6e%?C?, %C?, %s] "
25
26 # compose_format
27 # (Controls the status line of the compose menu)
28 # %a = number of attachments    %h = local hostname
29 # %l = approx. size of msg      %v = Mutt version
30 #
31 #set compose_format="-- %v-- Compose  [Approximate Message Size: %l   Attachments: %a]%>-" # }}}
32
33 # See strftime man page; replaces %d/%D in index_format.
34 set date_format = "%d %b %Y %H:%M"
35
36 # %C current number     %d last modified        %f filename
37 # %F permissions        %g group                %l number of hard links
38 # %N "N" if new mail    %s size in bytes        %t "*" if tagged
39 # %u owner name         %>X right justify the rest and pad with "X"
40 # %|X pad to the end of the line with character "X"
41 #set folder_format="%3C %t %N %F %-8.8u %-8.8g %8s %d %f" # file browser menu
42 set folder_format="%F  %d %8s   %f" # file browser menu
43 set folder_format="sh -c '~/.config/mutt/folder.sh \"$@\"' -- '%f' '%F  %d %8s'|"
44
45 # http://www.mutt.org/doc/devel/manual.html#index-format
46 set index_format = "%Z%?M?»& ?%s %*  %B %-20.20n %D"
47
48 #set pager_format="-%Z- %C/%m [%[%H:%M]] %-17.17n   %s"
49
50 # %b # of folders with new mail                 %d # of deleted msgs
51 # %f mbox path          %F # of flagged msgs    %h hostname
52 # %m total# of messages %M # of shown msgs      %n # of new msgs
53 # %l bytes in mbox      %L size of limited msgs %o # of old msgs
54 # %p # of postponed. msgs       %P percentage of the display
55 # %r readonly/changed   %s sorting method       %S sort_aux method
56 # %t # of tagged msgs   %u # of unread msgs     %v Mutt version
57 # %>X = right justify and pad with "X"   %|X = pad with "X" to end of line
58 # %?<sequence_char>?<optional_string>?   print <opt> iff <seq> is non zero
59 # %?<sequence_char>?<if_string>&<else_string>?
60 #
61 set status_format="[%r] %h %f (%s) [%M/%m] [N=%n,*=%t,post=%p,new=%b]"
62 #set status_format="-%r-%v--[%?M?%M/?%m msgs%?n?, %n new?%?d?, %d del?%?F?, %F flag?%?t?, %t tag?%?p?, %p postp?%?b?, %b inc?%?l?, %l?]--(%f)--%s/%S-%>-%P-"
63 #set status_format="-%r-%v--[%?M?%M/?%m msgs%?n?, %n new?%?d?, %d del?%?F?, %F flag?%?t?, %t tag?%?p?, %p postp?%?b?, %b inc?%?l?, ?%?L?%L/?%?l?%l?]--(%f)--%s/%S-%>-%P-"
64 #set status_format="-%r-%v--[%?M?%M/?%m msgs%?n?, %n new?%?d?, %d del?%?F?, %F flag?%?t?, %t tag?%?p?, %p postp?%?b?, %b inc?%?l?, %l?]--(%f)--%s-%>-%P-"
65 #set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"
66
67 # https://dev.mutt.org/doc/manual.html#ts-enabled
68 # Set the terminal status line (title).
69 set ts_enabled = yes
70 set ts_status_format = "%v %h %f"