summaryrefslogtreecommitdiff
path: root/mutt/muttrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-06-21 19:44:43 +0200
committerUrbain Vaes <urbain@vaes.uk>2015-06-21 19:44:43 +0200
commitc6eb10f49ffb83208c9d6d0b1dab18d3e1c37686 (patch)
tree4cc93dfa2ae90c54beba3e5bf7394b0063f01f96 /mutt/muttrc
parent85feed94521489dbdd2acfaef0b06fc1696c2e42 (diff)
Simplify mutt config
Diffstat (limited to 'mutt/muttrc')
-rw-r--r--mutt/muttrc82
1 files changed, 20 insertions, 62 deletions
diff --git a/mutt/muttrc b/mutt/muttrc
index d22cbc0..6cf78e2 100644
--- a/mutt/muttrc
+++ b/mutt/muttrc
@@ -20,15 +20,7 @@ set record = "+Main/Sent"
set postponed = "+Main/Drafts"
# Status Bar
-set status_chars = " *%A"
-set status_format = "───( Folder: %f )───(%r%m messages%?n? (%n new)?%?d?\
- (%d to delete)?%?t? (%t tagged)? )───%>─%?p?( %p postponed )?───"
-
-# Headers
-# ignore *
-# unignore from: to: cc: date: subject:
-# unhdr_order *
-# hdr_order from: to: cc: date: subject:
+# set status_chars = " *%A"
# Mailboxes
mailboxes +Main/Main \
@@ -42,82 +34,48 @@ mailboxes +Main/Main \
set delete = yes
set quit = yes
-# Encryption
-source /usr/share/doc/mutt/examples/gpg.rc
-set pgp_use_gpg_agent = yes
-set pgp_sign_as = 08AC6A48
-set pgp_timeout = 3600
-set crypt_autosign = no
-set crypt_replyencrypt = yes
-set fcc_clear = yes
-
# Pager
set pager_index_lines = 10
-set pager_context = 0 # number of context lines to show
-set pager_stop # don't go to next message automatically
-set menu_scroll # scroll in menus
-set tilde # show tildes like in vim
+set pager_context = 0
+set pager_stop
+set reverse_alias
+set menu_scroll
+set tilde
unset markers
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
alternative_order text/plain text/enriched text/html
-# Email editing
-set editor="nvim"
-set edit_headers
+# Editor
+set editor="nvim --noplugin"
set include=yes
-# Mail out
+# Program to send mails
set sendmail="/usr/bin/msmtp"
-set beep_new
-
# Sorting options
set sort = threads
set sort_aux = reverse-last-date-received
set sort_browser = reverse-date
-# Files to source
-# source `sh /home/urbain/.mutt/colormutt`
+# Alias file
source ~/.mutt/alias
# HTML messages
auto_view text/html
# Key bindings
+bind index,pager \Cf next-page
+bind index,pager \Cb previous-page
+bind index,pager "}" sidebar-next
+bind index,pager "{" sidebar-prev
+bind index,pager O sidebar-open
+
bind index gg first-entry
bind index G last-entry
-bind index \Cf next-page
-bind index \Cb previous-page
bind index i flag-message
-## Bindings
-
-# Index
-# bind index l display-message
-bind index h quit
-bind index q change-folder
-bind index R group-reply
-
-# Attach
-bind attach h exit
-
-# Pager
-bind pager j next-line
-bind pager k previous-line
-bind pager J next-entry
-bind pager K previous-entry
-bind pager h exit
-bind pager N search-opposite
+bind pager \Ce next-line
+bind pager \Cy previous-line
+bind pager j next-entry
+bind pager k previous-entry
bind pager R group-reply
-bind pager gg top
-bind pager G bottom
-macro index c "<change-folder>?<toggle-mailboxes>" "change folder"
-
-# Sidebar Navigation
-bind index,pager "}" sidebar-next
-bind index,pager "{" sidebar-prev
-bind index,pager O sidebar-open
-
-# Compose
-bind compose p postpone-message
-set reverse_alias