aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig/offlineimap/config7
-rw-r--r--mutt/muttemail7
-rw-r--r--mutt/muttrc11
3 files changed, 14 insertions, 11 deletions
diff --git a/config/offlineimap/config b/config/offlineimap/config
index 704985a..babde8f 100755
--- a/config/offlineimap/config
+++ b/config/offlineimap/config
@@ -21,10 +21,3 @@ status_backend = sqlite
autorefresh = 5
quick = 5
-[mbnames]
-enabled = yes
-filename = ~/.mutt/mailboxes
-header = "mailboxes "
-peritem = "+%(foldername)s"
-sep = " "
-footer = "\n"
diff --git a/mutt/muttemail b/mutt/muttemail
index 2b3b14e..fd71aa1 100644
--- a/mutt/muttemail
+++ b/mutt/muttemail
@@ -1,7 +1,8 @@
# vim: set filetype=muttrc:
color status green default
set folder = "~/.mail/email"
-source ~/.mutt/mailboxes
set spoolfile = "+INBOX"
-set record = "+Sent\ Items"
-set postponed = "+Drafts"
+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 f3431ff..d20f08d 100644
--- a/mutt/muttrc
+++ b/mutt/muttrc
@@ -1,12 +1,14 @@
set editor="vim"
set my_name="Karel Kočí"
+set edit_headers=yes
hdr_order Date From To Cc #Sorting emails by the given criteria (from left to right)
set pager_index_lines= 5
set sort=reverse-threads
set sort_aux=last-date-received
+set mailcap_path = "~/.mutt/mailcap"
+set sleep_time = 0
-set mailcap_path = ~/.mutt/mailcap
auto_view text/html
alternative_order text/enriched text/plain text/html
macro attach 'V' "<pipe-entry>cat >~/.cache/mutt/mail.html && conkeror ~/.cache/mutt/mail.html && rm ~/.cache/mutt/mail.html<enter>"
@@ -18,6 +20,13 @@ set pgp_timeout = 3600
set crypt_autosign = yes
set crypt_replyencrypt = yes
+set sidebar_visible = yes
+bind index,pager B sidebar-toggle-visible
+# Ctrl-n, Ctrl-p to select next, previous folder.
+# Ctrl-o to open selected folder.
+bind index,pager \CP sidebar-prev
+bind index,pager \CN sidebar-next
+bind index,pager \CO sidebar-open
macro index <F3> ':source ~/.mutt/muttemail<enter>c~/.mail/email/INBOX<enter>'