Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##############################
- # ~/.config/neomutt/neomuttrc
- ##############################
- set wait_key = no # shut up, mutt
- set header_cache = ~/.cache/neomutt
- set timeout = 3 # idle time before scanning
- set mail_check = 0 # minimum time between scans
- set sleep_time = 0
- set mail_check_stats
- unset mark_old # read/new is good enough for me
- set autoedit
- set imap_keepalive = 300
- unset imap_passive
- unset move # gmail does that
- unset record
- set sort=threads
- set sort_aux = reverse-last-date-received
- # Bindings
- # # #
- bind index "^" imap-fetch-mail
- bind index,pager B sidebar-toggle-visible
- bind pager j next-line
- bind pager k previous-line
- bind attach,index,pager \CD next-page
- bind attach,index,pager \CU previous-page
- bind pager,attach,index g noop
- bind pager gg top
- bind pager G bottom
- bind attach,index gg first-entry
- bind attach,index G last-entry
- # Accounts
- # # #
- #set imap_check_subscribed
- source $XDG_CONFIG_HOME/neomutt/main
- folder-hook $folder 'source $XDG_CONFIG_HOME/neomutt/main'
- source $XDG_CONFIG_HOME/neomutt/consulting
- folder-hook $folder 'source $XDG_CONFIG_HOME/neomutt/consulting'
- #set alias_file=~/.config/neomutt/mail_aliases # where I keep my aliases
- # Aesthetics
- # # #
- source $XDG_CONFIG_HOME/neomutt/colors/zenburn.neomuttrc
- # Sidebar
- set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
- set sidebar_sort_method = 'alpha'
- set sidebar_visible=yes
- set sidebar_folder_indent=yes # Indent folders whose names we've shortened
- set sidebar_indent_string=' ' # Indent with two spaces
- set sidebar_short_path # Shorten mailbox names
- set sidebar_delim_chars='/.' # Delete everything up to the last / character
- set mail_check_stats
- set date_format="%y-%m-%d %T"
- set index_format="%2C | %Z [%d] %-30.30F %s"
- ##############################
- # ~/.config/neomutt/main
- ##############################
- set imap_user = "`pass mail.google.com/username`"
- set imap_pass = "`pass mail.google.com/password`"
- set folder = imaps://$imap_user@imap.gmail.com/
- set spoolfile = imaps://imap.gmail.com/INBOX
- set record="+[Gmail]/Sent Mail"
- set postponed="+[Gmail]/Drafts"
- mailboxes +INBOX
- account-hook $folder 'set imap_user="`pass mail.google.com/username`" imap_pass="`pass mail.google.com/password`"'
- ##############################
- # ~/.config/neomutt/work
- ##############################
- set imap_user = "`pass murph.ai/email/username`"
- set imap_pass = "`pass murph.ai/email/password`"
- set folder = imaps://$imap_user@imap.gmail.com/
- set spoolfile = imaps://imap.gmail.com/INBOX
- set record="+[Gmail]/Sent Mail"
- set postponed="+[Gmail]/Drafts"
- mailboxes +INBOX
- 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