Mails get symbols in the flag column if they are sent by me, CC or BCC me, or they are tagged as a 'list' (from a mailing list). Added some additional info to status bar (current folder, recent and unread counts), and extended the flag column slightly to accomodate more flags.
101 lines
3.3 KiB
Text
101 lines
3.3 KiB
Text
[general]
|
|
enable-osc8 = true
|
|
|
|
[ui]
|
|
dirlist-tree = true
|
|
fuzzy-complete = true
|
|
dialog-position = bottom
|
|
|
|
styleset-name = simple
|
|
|
|
index-columns = flags>6,name<20%,subject,date>=
|
|
this-week-time-format = Mon 02
|
|
sidebar-width = 15
|
|
|
|
# column-separator = "│"
|
|
column-flags = {{.Flags | join ""}} \
|
|
{{map .Labels (exclude .Folder) \
|
|
(case `^new$` (.Style "" "attention")) \
|
|
(case `^unread$` (.Style "" "accent")) \
|
|
(case `^attachment$` (.Style "" "subdued")) \
|
|
(case `^replied$` (.Style "↻" "subdued")) \
|
|
(case `^forwarded$` (.Style "f" "")) \
|
|
(case `^flagged$` (.Style "!" "highlight")) \
|
|
(case `^important$` (.Style "" "highlight")) \
|
|
(case `^list$` "") \
|
|
(default "") \
|
|
| join "" }} \
|
|
{{if contains .AccountFrom.Address (.From | emails | join ", ")}}{{end}}\
|
|
{{if contains .AccountFrom.Address (.Cc | emails | join ", ")}}{{end}}\
|
|
{{if contains .AccountFrom.Address (.Bcc | emails | join ", ")}}{{end}}
|
|
|
|
column-subject = {{(.Style .ThreadPrefix "subdued")}}{{if .ThreadFolded}}{{printf (.Style "%d " "subdued") .ThreadCount}}{{end}}{{.Subject}}
|
|
|
|
icon-new = ""
|
|
icon-old = ""
|
|
icon-attachment = ""
|
|
icon-replied = ""
|
|
icon-forwarded = ""
|
|
icon-deleted = ""
|
|
icon-flagged = ""
|
|
icon-marked = ""
|
|
icon-signed = ""
|
|
icon-encrypted = ""
|
|
icon-unknown = ""
|
|
icon-invalid = ""
|
|
|
|
threading-enabled = true
|
|
reverse-thread-order = true
|
|
show-thread-context = true
|
|
thread-prefix-folded = "+ "
|
|
thread-prefix-tip = ""
|
|
thread-prefix-indent = ""
|
|
thread-prefix-stem = "│"
|
|
thread-prefix-limb = "─"
|
|
thread-prefix-folded = "+"
|
|
thread-prefix-unfolded = ""
|
|
thread-prefix-first-child = "┬"
|
|
thread-prefix-has-siblings = "├"
|
|
thread-prefix-orphan = "┌"
|
|
thread-prefix-dummy = "┬"
|
|
thread-prefix-lone = " "
|
|
thread-prefix-last-sibling = "╰"
|
|
|
|
[statusline]
|
|
column-left = {{.Account}}>{{compactDir .Folder}} {{.ContentInfo}}
|
|
column-center = {{.PendingKeys}} # RUE shows 'recent&unread/existing'
|
|
column-right = {{.RUE}} | {{.TrayInfo}} | {{cwd}} | {{dateFormat now "Mon Jan 2 15:04:05 2006"}}
|
|
|
|
[viewer]
|
|
|
|
[compose]
|
|
file-picker-cmd = vifm --choose-files -
|
|
reply-to-self = false
|
|
empty-subject-warning = true
|
|
no-attachment-warning = ^[^>]*(attach(ed|ment)|an(ge)?hang)
|
|
|
|
[multipart-converters]
|
|
text/html=pandoc -f commonmark_x -t html --standalone --embed-resources --template email
|
|
# TODO: change to djot when new pandoc version in repos
|
|
|
|
[filters]
|
|
.filename,~.*.ics = calendar
|
|
text/plain = wrap -w 100 | colorize
|
|
text/calendar = calendar
|
|
message/delivery-status = colorize
|
|
message/rfc822 = colorize
|
|
text/html = pandoc -f html -t plain
|
|
application/pdf = pdftotext - -l 10 -nopgbrk -q - | wrap -w 100
|
|
application/msword = pandoc -f docx -t plain
|
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document = pandoc -f docx -t plain
|
|
application/vnd.oasis.opendocument.text = pandoc -f odt -t plain
|
|
.headers = colorize
|
|
# text/html = ! html # ! for interactive applications
|
|
|
|
[openers]
|
|
# does not have filename checking for openers?
|
|
.filename,~.*.ics = wezterm -e nvim -
|
|
|
|
[hooks]
|
|
|
|
[templates]
|