sidebar.muttrc 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ##### My (demuredemeanor) muttrc sub sidebar config
  2. # Uses tabstop=4; shiftwidth=4 tabs; foldmarker={{{,}}};
  3. # https://notabug.org/demure/dotfiles
  4. # legacy repo http://github.com/demure/dotfiles
  5. # vim:set syntax=muttrc:
  6. ifndef sidebar finish ## If not compiled with sidebar, skip
  7. ### Sidebar Settings ### {{{
  8. set sidebar_visible = yes ## Make the Sidebar visible by default
  9. set sidebar_width = 16 ## Sidebar width, including divider
  10. set sidebar_divider_char = '│' ## Pretty line-drawing character
  11. set sidebar_short_path ## Shorten mailbox names
  12. set sidebar_delim_chars = "/" ## Delete mailbox name up to the last / character
  13. set mail_check_stats ## Need for sidebar_format's %N
  14. ## '%B' mailbox name... replaced iwth %D for descriptive; '%?F? [%F]?' If flag, show flag; '%* ' pad spaces; '%?N?%N/?' if new, show new with '/' char; '%?S?%S?' if size, show size.
  15. #set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%?S?%S?'
  16. set sidebar_format = '%D%?F? [%F]?%* %?N?%N/?%?S?%S?'
  17. set sidebar_folder_indent ## Indent folders whose names we've shortened
  18. #set sidebar_indent_string=" " ## Indent with two spaces
  19. ### End Sidebar Settings ### }}}
  20. ### Sidebar Colors ### {{{
  21. ## Listed by priority
  22. color sidebar_indicator default color17 ## Dark blue background
  23. color sidebar_highlight white color238 ## Grey background
  24. #color sidebar_highlight white cyan ## Cyan for visablity
  25. color sidebar_spoolfile yellow black ## Yellow
  26. color sidebar_new green black ## Green
  27. color sidebar_flagged red black ## Red
  28. #color sidebar_ordinary color8 black ## test
  29. color sidebar_divider color8 black ## Dark grey
  30. ### End Sidebar Colors ### }}}
  31. ### Sidebar Navigation ### {{{
  32. bind index,pager <down> sidebar-next
  33. bind index,pager <up> sidebar-prev
  34. bind index,pager <right> sidebar-open
  35. bind index,pager "\e[1;2B" sidebar-next-new
  36. bind index,pager "\e[1;2A" sidebar-prev-new
  37. ### End Sidebar Nav ### }}}
  38. ### Sidebar Mailboxes ### {{{
  39. ## Mailboxes, which will be shown in the sidebar.
  40. ## NOTE: due to https://github.com/neomutt/neomutt/issues/1901
  41. ## requires a `mkdir -p ~/.mail/{_sdf,_gmail,_vps}/{cur,new,tmp}` or crashes
  42. #mailboxes +sdf +sdf/INBOX +sdf/Drafts +sdf/Sent +sdf/Trash
  43. #mailboxes +gmail +gmail/INBOX +gmail/archive +gmail/People +gmail/Orders +gmail/Bulletin +gmail/drafts +gmail/sent +gmail/trash
  44. #mailboxes +vps +vps/INBOX +vps/Drafts +vps/Sent +vps/Trash
  45. #mailboxes "=-- local -----------" /var/spool/mail/$USER
  46. named-mailboxes "sdf" ='_sdf'
  47. mailboxes +sdf/INBOX +sdf/Drafts +sdf/Sent +sdf/Trash
  48. named-mailboxes "gmail" ='_gmail'
  49. mailboxes +gmail/INBOX +gmail/People +gmail/Orders +gmail/Bulletin +gmail/aha +gmail/Drafts +gmail/Sent +gmail/Spam +gmail/Trash
  50. named-mailboxes "vps" ='_vps'
  51. mailboxes +vps/INBOX +vps/Sent +vps/Junk +vps/Trash
  52. ### End Sidebar Mailboxes ### }}}M#