dotfiles/.muttrc

120 lines
2.8 KiB
Text
Raw Normal View History

2016-12-29 07:21:25 +00:00
# vim:ft=muttrc
# Mailboxes are stored here
set virtual_spoolfile=yes
set nm_default_uri = "notmuch:///home/gigavinyl/.mail"
virtual-mailboxes "inbox" "notmuch://?query=tag:inbox"
virtual-mailboxes "archive" "notmuch://?query=tag:archive"
virtual-mailboxes "sent" "notmuch://?query=tag:sent"
virtual-mailboxes "newsletters" "notmuch://?query=tag:newsletters"
# Format in which our messages are stored
set mbox_type = Maildir
set sort = threads
set sort_aux = last-date-received
set index_format = "%[%b %d %H:%M] %-15.15L %?M?<%03M> & ?%s"
set status_format = "%f (%s) (%?V?limited to '%V'&no limit pattern?) (%P)"
set menu_scroll
set editor = "nvim +/^$ +nohlsearch"
# Move down message indices one line at a time, rather than in pages
set menu_scroll
# Number of lines of context in the message pager
set pager_context = 5
# How many lines of the mailbox are shown when in the message pager
set pager_index_lines = 10
# Don't skip to then next message when we reach the bottom of the pager
set pager_stop
# Pad short messages with "~" lines, like in vim
set tilde
# Try to wrap messages in the pager
set smart_wrap
# Don't show line wrapping markers
unset markers
# I18n
set charset = utf-8
set send_charset = utf-8
# Caching
set header_cache = ~/.mutt_cache
set message_cachedir = ~/.mutt_cache
# Vim-like keybindings
# Index
bind index j next-entry
bind index k previous-entry
bind index J next-thread
bind index K previous-thread
bind index / search
bind index ? search-reverse
bind index n search-next
bind index N search-opposite
bind index gg first-entry
bind index G last-entry
bind index \Cd half-down
bind index \Cu half-up
bind index l collapse-thread
bind index z collapse-all
bind index r reply
bind index A group-reply
bind index L list-reply
bind index h limit
# '?' is used for search-opposite
bind index \Ch help
# Always start with threads collapsed and with the most recent thread selected
push <collapse-all><last-entry>
# Pager
bind pager j next-line
bind pager k previous-line
# The mouse wheel seems to send <up><up><up>/<down><down><down> by default with
# GNOME Terminal. Use it to scroll through messages.
bind pager <down> next-line
bind pager <up> previous-line
bind pager / search
bind pager ? search-reverse
bind pager n search-next
bind pager N search-opposite
bind pager gg top
bind pager G bottom
bind pager \Cd half-down
bind pager \Cu half-up
bind pager r reply
bind pager a group-reply
bind pager l list-reply
bind pager L list-reply
# '?' is used for search-opposite
bind pager \Ch help
set strict_threads
macro index a "<modify-labels>+archive -unread -inbox<enter>" "Archive message"
macro index c "<change-vfolder>?" "Change to vfolder overview"
macro index \\\\ "<vfolder-from-query>" "Search mailbox"
macro index \Cs "<change-folder> =JWR/INBOX.Sent<enter>" "go to Archived Items"
source ~/.mutt/vombatidae.mutt