summaryrefslogtreecommitdiffstats
path: root/.config/mutt
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2024-06-16 16:15:20 +0200
committerJoe <bousset.rudy@gmail.com>2024-06-16 16:15:20 +0200
commit10b2bcdc00f22d28804d408429ea46bcfe60c222 (patch)
tree354ec7ef08285c23863fb4f68168973ec41793d2 /.config/mutt
parentup (diff)
downloaddotfiles-bsd-10b2bcdc00f22d28804d408429ea46bcfe60c222.tar.gz
dotfiles-bsd-10b2bcdc00f22d28804d408429ea46bcfe60c222.tar.bz2
dotfiles-bsd-10b2bcdc00f22d28804d408429ea46bcfe60c222.tar.xz
dotfiles-bsd-10b2bcdc00f22d28804d408429ea46bcfe60c222.tar.zst
dotfiles-bsd-10b2bcdc00f22d28804d408429ea46bcfe60c222.zip
mailup
Diffstat (limited to '.config/mutt')
-rw-r--r--.config/mutt/accounts/1-gmx_rbo.muttrc44
-rw-r--r--.config/mutt/accounts/4-gmail_br.muttrc (renamed from .config/mutt/accounts/1-gmail_br.muttrc)0
-rw-r--r--.config/mutt/accounts/5-gmail_oon.muttrc (renamed from .config/mutt/accounts/2-gmail_oon.muttrc)0
-rw-r--r--.config/mutt/accounts/6-gmail_tos.muttrc (renamed from .config/mutt/accounts/3-gmail_tos.muttrc)0
-rw-r--r--.config/mutt/defaults.muttrc54
-rw-r--r--.config/mutt/muttrc22
6 files changed, 80 insertions, 40 deletions
diff --git a/.config/mutt/accounts/1-gmx_rbo.muttrc b/.config/mutt/accounts/1-gmx_rbo.muttrc
new file mode 100644
index 0000000..4c260a5
--- /dev/null
+++ b/.config/mutt/accounts/1-gmx_rbo.muttrc
@@ -0,0 +1,44 @@
+# vim: filetype=neomuttrc
+# muttrc file for account bousset.rudy@gmail.com
+set realname = "Rudy Bousset"
+set from = "rbo@gmx.us"
+set sendmail = "msmtp -a gmx_rbo"
+alias me Rudy Bousset <rbo@gmx.us>
+set folder = "$MAIL/gmx_rbo"
+set header_cache = $XDG_RUNTIME_DIR/mutt/gmx_rbo/headers
+set message_cachedir = $XDG_RUNTIME_DIR/mutt/gmx_rbo/bodies
+set mbox_type = Maildir
+set crypt_autosign = yes
+set signature = $XDG_CONFIG_HOME/mutt/sig/1-gmx_rbo
+
+bind index,pager gg noop
+bind index,pager g noop
+bind index,pager M noop
+bind index,pager C noop
+bind index gg first-entry
+bind pager gg top
+bind pager G bottom
+macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc gmx_rbo<enter>" "run mbsync to sync rbo@gmx.us"
+unmailboxes *
+
+mailboxes "=INBOX" "=Sent" "=Drafts" "=Spam" "=Trash" "=Keep"
+
+macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
+macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
+macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox"
+set spoolfile = "+INBOX"
+macro index,pager gs "<change-folder>=Sent<enter>" "go to sent"
+macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
+macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent"
+set record = ""
+macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
+macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts"
+macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts"
+set postponed = "+Drafts"
+macro index,pager gS "<change-folder>=Spam<enter>" "go to spam"
+macro index,pager MS ";<save-message>=Spam<enter>" "move mail to spam"
+macro index,pager CS ";<copy-message>=Spam<enter>" "copy mail to spam"
+macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
+macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
+macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash"
+set trash = "+Trash"
diff --git a/.config/mutt/accounts/1-gmail_br.muttrc b/.config/mutt/accounts/4-gmail_br.muttrc
index ac92a3c..ac92a3c 100644
--- a/.config/mutt/accounts/1-gmail_br.muttrc
+++ b/.config/mutt/accounts/4-gmail_br.muttrc
diff --git a/.config/mutt/accounts/2-gmail_oon.muttrc b/.config/mutt/accounts/5-gmail_oon.muttrc
index 09e1b14..09e1b14 100644
--- a/.config/mutt/accounts/2-gmail_oon.muttrc
+++ b/.config/mutt/accounts/5-gmail_oon.muttrc
diff --git a/.config/mutt/accounts/3-gmail_tos.muttrc b/.config/mutt/accounts/6-gmail_tos.muttrc
index 55bb1a1..55bb1a1 100644
--- a/.config/mutt/accounts/3-gmail_tos.muttrc
+++ b/.config/mutt/accounts/6-gmail_tos.muttrc
diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc
index 52f8408..ebc1cb7 100644
--- a/.config/mutt/defaults.muttrc
+++ b/.config/mutt/defaults.muttrc
@@ -3,7 +3,7 @@
# mutt will have this file sourced from your muttrc.
# In the interest of seamless updating, do not edit this file.
# If you want to override any settings, set those in your muttrc.
-set editor = "emacsclient -nw -a nvim"
+set editor = "nvim"
set mailcap_path = $XDG_CONFIG_HOME/mutt/mailcap
set date_format="%d/%m/%y %H:%M"
set index_format="%?X?A& ? %D %-24.24F %s (%c)"
@@ -114,37 +114,37 @@ macro compose Y "<first-entry>\
# colorscheme
# color normal default default
-# color indicator brightyellow red
-# color tree default default
-# color status brightgreen blue
+# color indicator brightyellow red
+# color tree default default
+# color status brightgreen blue
# color error brightred default
# color message red default
# color signature red default
# color attachment yellow default
-# color search brightyellow red
+# color search brightyellow red
# color tilde brightmagenta default
# color markers red default
# color hdrdefault cyan default
-# color bold green black
-# color underline yellow black
-#
-# color index_flags black white ~D
-# color index_flags green default ~g
-# color index_flags brightgreen default ~G
+# color bold green black
+# color underline yellow black
+#
+# color index_flags black white ~D
+# color index_flags green default ~g
+# color index_flags brightgreen default ~G
# color index_flags yellow default ~N
-#
+#
# color index_author blue brightred ~F
# color index_author black green '%f Bekannte'
# color index_author black red '%f Work'
-#
+#
# color index_number green default
-# color index_date cyan default
+# color index_date cyan default
# color index_size cyan default
-#
+#
# color header brightcyan default '^From:'
# color header brightcyan default '^Subject:'
# color header black brightgreen '^User-Agent:.*Mutt'
-#
+#
# color body brightwhite default "([0-2][0-9]|[0-9]|[1-2][0-9]):[0-5][0-9](:[0-5][0-9])?"
# color body brightwhite default "([0-3])?[0-9]\\.([0-1])?[0-9]\\.([1-2][0-9])?[0-9][0-9]"
# color body brightgreen default "(^| )_[[:print:]]+_[ \n]"
@@ -155,17 +155,17 @@ macro compose Y "<first-entry>\
# color body default blue "^===+$"
# color body default blue "^---+$"
# color body brightdefault blue "^#+[[:print:]]+$"
-#
-# color quoted magenta default
-# color quoted1 red default
-# color quoted2 green default
-# color quoted3 magenta default
-# color quoted4 blue default
-# color quoted5 cyan default
-# color quoted6 green default
-# color quoted7 red default
-# color quoted8 magenta default
-# color quoted9 blue default
+#
+# color quoted magenta default
+# color quoted1 red default
+# color quoted2 green default
+# color quoted3 magenta default
+# color quoted4 blue default
+# color quoted5 cyan default
+# color quoted6 green default
+# color quoted7 red default
+# color quoted8 magenta default
+# color quoted9 blue default
# Default index colors:
color index white default '.*'
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
index e3d7221..7877696 100644
--- a/.config/mutt/muttrc
+++ b/.config/mutt/muttrc
@@ -1,15 +1,11 @@
# vim: filetype=neomuttrc
source $XDG_CONFIG_HOME/mutt/defaults.muttrc
-source $XDG_CONFIG_HOME/mutt/accounts/1-gmail_br.muttrc
-macro index,pager <f1> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
-macro index,pager 1 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
-macro index,pager <f2> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/2-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
-macro index,pager 2 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/2-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
-macro index,pager <f3> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/3-gmail_tos.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to towerofsilence777@gmail.com"
-macro index,pager 3 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/3-gmail_tos.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to towerofsilence777@gmail.com"
-macro index,pager <f4> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-ss_perso.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbousset@secuserve.com"
-macro index,pager 4 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-ss_perso.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to rbousset@secuserve.com"
-macro index,pager <f5> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/5-ss_exploit.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to exploitation@secuserve.com"
-macro index,pager 5 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/5-ss_exploit.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to exploitation@secuserve.com"
-macro index,pager <f6> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/6-ss_support.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to support@secuserve.com"
-macro index,pager 6 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/6-ss_support.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to support@secuserve.com"
+source $XDG_CONFIG_HOME/mutt/accounts/1-gmx_rbo.muttrc
+macro index,pager <f1> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmx_rbo.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
+macro index,pager 1 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/1-gmx_rbo.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
+macro index,pager <f4> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
+macro index,pager 4 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/4-gmail_br.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to bousset.rudy@gmail.com"
+macro index,pager <f5> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/5-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
+macro index,pager 5 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/5-gmail_oon.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to olsen.oyvind.nor@gmail.com"
+macro index,pager <f6> '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/6-gmail_tos.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to towerofsilence777@gmail.com"
+macro index,pager 6 '<sync-mailbox><enter-command>source $XDG_CONFIG_HOME/mutt/accounts/6-gmail_tos.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to towerofsilence777@gmail.com"