Adjusts date format in mutt
This commit is contained in:
parent
d1a41eb3c9
commit
dc242379da
1 changed files with 12 additions and 1 deletions
|
@ -65,7 +65,18 @@ set sort = threads # https://neomutt.org/guide/reference#sort
|
|||
# Sort threads by last date recieved - newest first
|
||||
set sort_aux = reverse-last-date-received # https://neomutt.org/guide/reference#sort_aux
|
||||
# Show date in year/month/day hour:minute format
|
||||
set date_format="%y/%m/%d %I:%M%p" # https://neomutt.org/guide/reference#date_format
|
||||
# The default index_format is:
|
||||
# '%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s'
|
||||
#
|
||||
# We replace the date field '%{%b %d}', giving:
|
||||
set index_format='%4C %Z %<[y?%<[m?%<[d?%[%H:%M ]&%[%a %d]>&%[%b %d]>&%[%m/%y ]> %-15.15L (%?l?%4l&%4c?) %s'
|
||||
# Test Date Range Format String Example
|
||||
# --------------------------------------------
|
||||
# %[d Today %[%H:%M ] 12:34
|
||||
# %[m This month %[%a %d] Thu 12
|
||||
# %[y This year %[%b %d] Dec 10
|
||||
# — Older %[%m/%y ] 06/15
|
||||
|
||||
# Vim like keybindings
|
||||
bind index G last-entry
|
||||
bind index g noop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue