aboutsummaryrefslogtreecommitdiff
path: root/mutt
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-08-23 22:46:36 +0200
committerKarel Kočí <cynerd@email.cz>2016-08-23 23:01:22 +0200
commit936e17a9d819a6f55bec09eafd1beec523dcaa64 (patch)
tree8dc4bafcd7453879924fb89cbe06ba6d63fdb700 /mutt
parentb5fdc60edacabf99dff16f04ff2c7618f2233977 (diff)
downloadmyconfigs-936e17a9d819a6f55bec09eafd1beec523dcaa64.tar.gz
myconfigs-936e17a9d819a6f55bec09eafd1beec523dcaa64.tar.bz2
myconfigs-936e17a9d819a6f55bec09eafd1beec523dcaa64.zip
Add newmail-notify and some other small tweaks
Diffstat (limited to 'mutt')
-rw-r--r--mutt/mailcap3
-rw-r--r--mutt/muttemail4
-rw-r--r--mutt/muttrc10
3 files changed, 15 insertions, 2 deletions
diff --git a/mutt/mailcap b/mutt/mailcap
index 79e7716..86f7d73 100644
--- a/mutt/mailcap
+++ b/mutt/mailcap
@@ -9,3 +9,6 @@ text/html; w3m -v -F -T text/html "%s"; nametemplate=%s.html; needsterminal
##auto_view will use the entry with the copiousoutput part:
text/html; lynx -stdin -dump -force_html ; copiousoutput
+image/*; feh %s
+application/pdf; okular %s
+
diff --git a/mutt/muttemail b/mutt/muttemail
index fd71aa1..9218af2 100644
--- a/mutt/muttemail
+++ b/mutt/muttemail
@@ -2,7 +2,7 @@
color status green default
set folder = "~/.mail/email"
set spoolfile = "+INBOX"
-set record = "+sent"
+set copy = no
+#set record = "+sent"
set postponed = "+drafts"
set from = "cynerd@email.cz"
-set sendmail="/usr/bin/msmtp -a email"
diff --git a/mutt/muttrc b/mutt/muttrc
index d20f08d..ef59a5a 100644
--- a/mutt/muttrc
+++ b/mutt/muttrc
@@ -8,6 +8,7 @@ set sort=reverse-threads
set sort_aux=last-date-received
set mailcap_path = "~/.mutt/mailcap"
set sleep_time = 0
+set delete = yes
auto_view text/html
alternative_order text/enriched text/plain text/html
@@ -28,6 +29,15 @@ bind index,pager \CP sidebar-prev
bind index,pager \CN sidebar-next
bind index,pager \CO sidebar-open
+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 g top
+bind pager G bottom
+bind attach,index g first-entry
+bind attach,index G last-entry
+
macro index <F3> ':source ~/.mutt/muttemail<enter>c~/.mail/email/INBOX<enter>'
source ~/.mutt/color