Adjusts date format in mutt

master
Jonathan Hodgson 3 years ago
parent d1a41eb3c9
commit dc242379da
  1. 13
      mutt/.config/mutt/muttrc

@ -65,7 +65,18 @@ set sort = threads # https://neomutt.org/guide/reference#sort
# Sort threads by last date recieved - newest first # Sort threads by last date recieved - newest first
set sort_aux = reverse-last-date-received # https://neomutt.org/guide/reference#sort_aux set sort_aux = reverse-last-date-received # https://neomutt.org/guide/reference#sort_aux
# Show date in year/month/day hour:minute format # 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 # Vim like keybindings
bind index G last-entry bind index G last-entry
bind index g noop bind index g noop

Loading…
Cancel
Save