summaryrefslogtreecommitdiff
path: root/mutt
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-10-04 19:13:49 +0100
committerUrbain Vaes <urbain@vaes.uk>2020-10-04 19:13:49 +0100
commit3a3321af173a73b158c606f0e2c3c3e0dece2cb9 (patch)
tree00075dc12714c8b128e2327542526ac0676820fc /mutt
parentac7ba6d8aa7eb6ef384f10b7798bd01308beb970 (diff)
parent2c5e2b7a6667fd4e726bba3e50f9ccf6ce13bab3 (diff)
Merge branch 'master' of https://github.com/urbainvaes/dotfiles
Diffstat (limited to 'mutt')
-rw-r--r--mutt/.gitignore3
-rw-r--r--mutt/.mail/Misc/.gitkeep0
-rw-r--r--mutt/.mail/Personal/.gitkeep0
-rw-r--r--mutt/.mail/Work/.gitkeep0
-rw-r--r--mutt/.mutt/id_personal2
-rw-r--r--mutt/.mutt/id_work8
-rw-r--r--mutt/.mutt/muttrc12
7 files changed, 18 insertions, 7 deletions
diff --git a/mutt/.gitignore b/mutt/.gitignore
new file mode 100644
index 0000000..f2abc1a
--- /dev/null
+++ b/mutt/.gitignore
@@ -0,0 +1,3 @@
+.mail/Work/*
+.mail/Personal/*
+.mail/Misc/*
diff --git a/mutt/.mail/Misc/.gitkeep b/mutt/.mail/Misc/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mutt/.mail/Misc/.gitkeep
diff --git a/mutt/.mail/Personal/.gitkeep b/mutt/.mail/Personal/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mutt/.mail/Personal/.gitkeep
diff --git a/mutt/.mail/Work/.gitkeep b/mutt/.mail/Work/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mutt/.mail/Work/.gitkeep
diff --git a/mutt/.mutt/id_personal b/mutt/.mutt/id_personal
index 8c57cd6..feb81bd 100644
--- a/mutt/.mutt/id_personal
+++ b/mutt/.mutt/id_personal
@@ -9,3 +9,5 @@ set trash = "+Personal/Personal.bin"
macro index,pager gs "<change-folder> $record<enter>"
macro index,pager gd "<change-folder> $postponed<enter>"
macro index,pager gb "<change-folder> $trash<enter>"
+
+# vim: ft=muttrc
diff --git a/mutt/.mutt/id_work b/mutt/.mutt/id_work
index 238cfcb..ac75a03 100644
--- a/mutt/.mutt/id_work
+++ b/mutt/.mutt/id_work
@@ -2,10 +2,14 @@ set from = "u.vaes13@imperial.ac.uk"
set sendmail="/usr/bin/msmtp -a imperial"
set spoolfile = "+Work/Work"
-set record = "+Work/Work.sent"
set postponed = "+Work/Work.drafts"
set trash = "+Work/Work.bin"
-macro index,pager gs "<change-folder> $record<enter>"
+# Record not necessary because outlook saves messages
+unset record
+
+macro index,pager gs "<change-folder> +Work/Work.sent<enter>"
macro index,pager gd "<change-folder> $postponed<enter>"
macro index,pager gb "<change-folder> $trash<enter>"
+
+# vim: ft=muttrc
diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc
index 95faa6f..7ad8cbf 100644
--- a/mutt/.mutt/muttrc
+++ b/mutt/.mutt/muttrc
@@ -1,11 +1,11 @@
# Folders
-set folder = ~/.mail
-set alias_file = ~/.mutt/alias
-set header_cache = ~/.mutt/cache/headers
+set folder = ~/.mail
+set alias_file = ~/.mutt/alias
+set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file = ~/.mutt/certificates
-set mailcap_path = ~/.mutt/mailcap
-set tmpdir = ~/.mutt/temp
+set mailcap_path = ~/.mutt/mailcap
+set tmpdir = ~/.mutt/temp
# Source crypto, aliases, mailboxes
source ~/.mutt/colors/base.muttrc
@@ -64,6 +64,8 @@ alternative_order text/plain text/enriched text/html
set editor="$EDITOR"
set include=yes
+# Index
+set index_format="%X %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s"
# Macros
macro index,pager gp "<change-folder> +Personal/Personal<enter>"