Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. ##############################
  2. # ~/.config/neomutt/neomuttrc
  3. ##############################
  4.  
  5. set wait_key = no # shut up, mutt
  6. set header_cache = ~/.cache/neomutt
  7. set timeout = 3 # idle time before scanning
  8. set mail_check = 0 # minimum time between scans
  9. set sleep_time = 0
  10. set mail_check_stats
  11. unset mark_old # read/new is good enough for me
  12. set autoedit
  13. set imap_keepalive = 300
  14. unset imap_passive
  15.  
  16. unset move # gmail does that
  17. unset record
  18.  
  19. set sort=threads
  20. set sort_aux = reverse-last-date-received
  21.  
  22.  
  23. # Bindings
  24. # # #
  25.  
  26. bind index "^" imap-fetch-mail
  27. bind index,pager B sidebar-toggle-visible
  28. bind pager j next-line
  29. bind pager k previous-line
  30. bind attach,index,pager \CD next-page
  31. bind attach,index,pager \CU previous-page
  32. bind pager,attach,index g noop
  33. bind pager gg top
  34. bind pager G bottom
  35. bind attach,index gg first-entry
  36. bind attach,index G last-entry
  37.  
  38.  
  39. # Accounts
  40. # # #
  41.  
  42. #set imap_check_subscribed
  43.  
  44. source $XDG_CONFIG_HOME/neomutt/main
  45. folder-hook $folder 'source $XDG_CONFIG_HOME/neomutt/main'
  46. source $XDG_CONFIG_HOME/neomutt/consulting
  47. folder-hook $folder 'source $XDG_CONFIG_HOME/neomutt/consulting'
  48.  
  49. #set alias_file=~/.config/neomutt/mail_aliases # where I keep my aliases
  50.  
  51.  
  52. # Aesthetics
  53. # # #
  54.  
  55. source $XDG_CONFIG_HOME/neomutt/colors/zenburn.neomuttrc
  56.  
  57. # Sidebar
  58. set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
  59. set sidebar_sort_method = 'alpha'
  60. set sidebar_visible=yes
  61. set sidebar_folder_indent=yes # Indent folders whose names we've shortened
  62. set sidebar_indent_string=' ' # Indent with two spaces
  63. set sidebar_short_path # Shorten mailbox names
  64. set sidebar_delim_chars='/.' # Delete everything up to the last / character
  65.  
  66. set mail_check_stats
  67.  
  68. set date_format="%y-%m-%d %T"
  69. set index_format="%2C | %Z [%d] %-30.30F %s"
  70.  
  71.  
  72. ##############################
  73. # ~/.config/neomutt/main
  74. ##############################
  75.  
  76. set imap_user = "`pass mail.google.com/username`"
  77. set imap_pass = "`pass mail.google.com/password`"
  78. set folder = imaps://$imap_user@imap.gmail.com/
  79.  
  80. set spoolfile = imaps://imap.gmail.com/INBOX
  81.  
  82. set record="+[Gmail]/Sent Mail"
  83. set postponed="+[Gmail]/Drafts"
  84.  
  85. mailboxes +INBOX
  86.  
  87. account-hook $folder 'set imap_user="`pass mail.google.com/username`" imap_pass="`pass mail.google.com/password`"'
  88.  
  89. ##############################
  90. # ~/.config/neomutt/work
  91. ##############################
  92.  
  93. set imap_user = "`pass murph.ai/email/username`"
  94. set imap_pass = "`pass murph.ai/email/password`"
  95. set folder = imaps://$imap_user@imap.gmail.com/
  96.  
  97. set spoolfile = imaps://imap.gmail.com/INBOX
  98.  
  99. set record="+[Gmail]/Sent Mail"
  100. set postponed="+[Gmail]/Drafts"
  101.  
  102. mailboxes +INBOX
  103.  
  104. account-hook $folder 'set imap_user="`pass murph.ai/email/username`" imap_pass="`pass murph.ai/email/password`"'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement