summaryrefslogtreecommitdiff
path: root/mutt
diff options
context:
space:
mode:
Diffstat (limited to 'mutt')
-rw-r--r--mutt/.mail/Inria/.gitkeep0
-rw-r--r--mutt/.mutt/id_enpc3
-rw-r--r--mutt/.mutt/id_imperial18
-rw-r--r--mutt/.mutt/id_inria17
-rw-r--r--mutt/.mutt/mailboxes2
-rw-r--r--mutt/.mutt/muttrc8
6 files changed, 34 insertions, 14 deletions
diff --git a/mutt/.mail/Inria/.gitkeep b/mutt/.mail/Inria/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/mutt/.mail/Inria/.gitkeep
diff --git a/mutt/.mutt/id_enpc b/mutt/.mutt/id_enpc
index ff947fe..bf5451b 100644
--- a/mutt/.mutt/id_enpc
+++ b/mutt/.mutt/id_enpc
@@ -6,6 +6,9 @@ set record = "+Enpc/Enpc.sent"
set postponed = "+Enpc/Enpc.drafts"
set trash = "+Enpc/Enpc.bin"
+# Record not necessary because outlook saves messages
+# unset record
+
macro index,pager gs "<change-folder> +Enpc/Enpc.sent<enter>"
macro index,pager gd "<change-folder> $postponed<enter>"
macro index,pager gb "<change-folder> $trash<enter>"
diff --git a/mutt/.mutt/id_imperial b/mutt/.mutt/id_imperial
index ed7aeb2..ca35257 100644
--- a/mutt/.mutt/id_imperial
+++ b/mutt/.mutt/id_imperial
@@ -1,15 +1,13 @@
-set from = "u.vaes13@imperial.ac.uk"
-set sendmail="/usr/bin/msmtp -a imperial"
+set from = "urbain.vaes@enpc.fr"
+set sendmail="/usr/bin/msmtp -a enpc"
-set spoolfile = "+Imperial/Imperial"
-set postponed = "+Imperial/Imperial.drafts"
-set trash = "+Imperial/Imperial.bin"
-
-# Record not necessary because outlook saves messages
-unset record
+set spoolfile = "+Enpc/Enpc"
+set record = "+Enpc/Enpc.sent"
+set postponed = "+Enpc/Enpc.drafts"
+set trash = "+Enpc/Enpc.bin"
macro index,pager gs "<change-folder> +Imperial/Imperial.sent<enter>"
-macro index,pager gd "<change-folder> $postponed<enter>"
-macro index,pager gb "<change-folder> $trash<enter>"
+macro index,pager gd "<change-folder> +Imperial/Imperial.drafts<enter>"
+macro index,pager gb "<change-folder> +Imperial/Imperial.bin<enter>"
# vim: ft=muttrc
diff --git a/mutt/.mutt/id_inria b/mutt/.mutt/id_inria
new file mode 100644
index 0000000..af52357
--- /dev/null
+++ b/mutt/.mutt/id_inria
@@ -0,0 +1,17 @@
+set from = "urbain.vaes@inria.fr"
+set sendmail="/usr/bin/msmtp -a inria"
+
+set spoolfile = "+Inria/Inria"
+set record = "+Inria/Inria.sent"
+set postponed = "+Inria/Inria.drafts"
+set trash = "+Inria/Inria.bin"
+
+macro index,pager gs "<change-folder> +Inria/Inria.sent<enter>"
+macro index,pager gd "<change-folder> $postponed<enter>"
+macro index,pager gb "<change-folder> $trash<enter>"
+macro index,pager ga "<change-folder> +Inria/Inria.archive<enter>"
+macro index,pager a "<save-message>=Inria/Inria.archive<enter><sync-mailbox>"
+
+# vim: ft=muttrc
+
+
diff --git a/mutt/.mutt/mailboxes b/mutt/.mutt/mailboxes
index 9abd94f..961ce3b 100644
--- a/mutt/.mutt/mailboxes
+++ b/mutt/.mutt/mailboxes
@@ -1 +1 @@
-mailboxes "+Enpc/Enpc" "+Enpc/Enpc.bin" "+Enpc/Enpc.drafts" "+Enpc/Enpc.sent" "+Enpc/Enpc.archive" "+Imperial/Imperial" "+Imperial/Imperial.bin" "+Imperial/Imperial.drafts" "+Imperial/Imperial.sent" "+Personal/Personal" "+Personal/Personal.bin" "+Personal/Personal.drafts" "+Personal/Personal.sent" "+Misc/rss" "+Misc/lists"
+mailboxes "+Inria/Inria" "+Inria/Inria.bin" "+Inria/Inria.drafts" "+Inria/Inria.sent" "+Inria/Inria.archive" "+Enpc/Enpc" "+Enpc/Enpc.bin" "+Enpc/Enpc.drafts" "+Enpc/Enpc.sent" "+Enpc/Enpc.archive" "+Personal/Personal" "+Personal/Personal.bin" "+Personal/Personal.drafts" "+Personal/Personal.sent" "+Imperial/Imperial" "+Imperial/Imperial.bin" "+Imperial/Imperial.drafts" "+Imperial/Imperial.sent" "+Misc/rss" "+Misc/lists"
diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc
index 816a564..8092f06 100644
--- a/mutt/.mutt/muttrc
+++ b/mutt/.mutt/muttrc
@@ -11,7 +11,7 @@ source ~/.mutt/colors.muttrc
source ~/.mutt/crypto
source ~/.mutt/alias
source ~/.mutt/mailboxes
-source ~/.mutt/id_enpc
+source ~/.mutt/id_inria
# General
set realname = "Urbain Vaes"
@@ -70,8 +70,9 @@ set index_format="%4C %X %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s"
# Macros
macro index,pager gp "<change-folder> +Personal/Personal<enter>"
-macro index,pager gi "<change-folder> +Imperial/Imperial<enter>"
macro index,pager ge "<change-folder> +Enpc/Enpc<enter>"
+macro index,pager gi "<change-folder> +Inria/Inria<enter>"
+macro index,pager go "<change-folder> +Imperial/Imperial<enter>"
macro pager u "<pipe-message>urlview\n"
# Key bindings
@@ -95,10 +96,11 @@ bind pager R group-reply
macro compose \CA "!mutt_attach\n"
# Flow text
-set text_flowed
+# set text_flowed # Bug with this setting '>' instead of '> '
# Hooks
folder-hook 'Enpc*' 'source ~/.mutt/id_enpc'
+folder-hook 'Inria*' 'source ~/.mutt/id_inria'
folder-hook 'Imperial*' 'source ~/.mutt/id_imperial'
folder-hook 'Personal*' 'source ~/.mutt/id_personal'