summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc4
-rw-r--r--.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc39
-rwxr-xr-x.local/bin/editermcmd4
-rwxr-xr-x.local/bin/editorcmd3
4 files changed, 42 insertions, 8 deletions
diff --git a/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc b/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc
index 229dce5..76701ee 100644
--- a/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc
+++ b/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc
@@ -1,9 +1,9 @@
# vim: filetype=neomuttrc
-# muttrc file for account bousset.rudy@gmail.com
+# muttrc file for account olsen.oyvind.nor@gmail.com
set realname = "Joe"
set from = "olsen.oyvind.nor@gmail.com"
set sendmail = "msmtp -a olsen.oyvind.nor@gmail.com"
-alias me Rudy Bousset <olsen.oyvind.nor@gmail.com>
+alias me Joe <olsen.oyvind.nor@gmail.com>
set folder = "/home/jozan/.local/share/mail/olsen.oyvind.nor@gmail.com"
set header_cache = /home/jozan/.cache/mutt-wizard/olsen.oyvind.nor@gmail.com/headers
set message_cachedir = /home/jozan/.cache/mutt-wizard/olsen.oyvind.nor@gmail.com/bodies
diff --git a/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc b/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc
new file mode 100644
index 0000000..af07fbb
--- /dev/null
+++ b/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc
@@ -0,0 +1,39 @@
+# vim: filetype=neomuttrc
+# muttrc file for account towerofsilence777@gmail.com
+set realname = "Tower Of Silence"
+set from = "towerofsilence777@gmail.com"
+set sendmail = "msmtp -a towerofsilence777@gmail.com"
+alias me Tower Of Silence <towerofsilence777@gmail.com>
+set folder = "/home/jozan/.local/share/mail/towerofsilence777@gmail.com"
+set header_cache = /home/jozan/.cache/mutt-wizard/towerofsilence777@gmail.com/headers
+set message_cachedir = /home/jozan/.cache/mutt-wizard/towerofsilence777@gmail.com/bodies
+set mbox_type = Maildir
+
+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
+macro index o "<shell-escape>mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc -a<enter>" "run mbsync to sync towerofsilence777@gmail.com"
+unmailboxes *
+
+mailboxes "=INBOX" "=[Gmail].Messages envoy&AOk-s" "=[Gmail].Brouillons" "=[Gmail].Spam" "=[Gmail].Corbeille" "=[Gmail].Important" "=[Gmail].Suivis"
+macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" # mw-autogenerated
+macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" # mw-autogenerated
+macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox" # mw-autogenerated
+set spoolfile = "+INBOX" # mw-autogenerated
+set postponed = "+[Gmail].Brouillons" # mw-autogenerated
+macro index,pager gd "<change-folder>=[Gmail].Brouillons<enter>" "go to drafts" # mw-autogenerated
+macro index,pager Md ";<save-message>=[Gmail].Brouillons<enter>" "move mail to drafts" # mw-autogenerated
+macro index,pager Cd ";<copy-message>=[Gmail].Brouillons<enter>" "copy mail to drafts" # mw-autogenerated
+set record = "+[Gmail].Messages envoy&AOk-s" # mw-autogenerated
+macro index,pager gs "<change-folder>=[Gmail].Messages envoy&AOk-s<enter>" "go to sent" # mw-autogenerated
+macro index,pager Ms ";<save-message>=[Gmail].Messages envoy&AOk-s<enter>" "move mail to sent" # mw-autogenerated
+macro index,pager Cs ";<copy-message>=[Gmail].Messages envoy&AOk-s<enter>" "copy mail to sent" # mw-autogenerated
+macro index,pager gS "<change-folder>=[Gmail].Spam<enter>" "go to spam" # mw-autogenerated
+macro index,pager MS ";<save-message>=[Gmail].Spam<enter>" "move mail to spam" # mw-autogenerated
+macro index,pager CS ";<copy-message>=[Gmail].Spam<enter>" "copy mail to spam" # mw-autogenerated
+macro index,pager gt "<change-folder>=[Gmail].Corbeille<enter>" "go to trash" # mw-autogenerated
+macro index,pager Mt ";<save-message>=[Gmail].Corbeille<enter>" "move mail to trash" # mw-autogenerated
+macro index,pager Ct ";<copy-message>=[Gmail].Corbeille<enter>" "copy mail to trash" # mw-autogenerated
+set trash = "+[Gmail].Corbeille" # mw-autogenerated
diff --git a/.local/bin/editermcmd b/.local/bin/editermcmd
deleted file mode 100755
index 9a7c8ba..0000000
--- a/.local/bin/editermcmd
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-pgrep emacs >/dev/null && exec bsdsetsid emacsclient -nw "$@" >/dev/null
-exec nvim "$@"
diff --git a/.local/bin/editorcmd b/.local/bin/editorcmd
index ccd5359..24fa7e7 100755
--- a/.local/bin/editorcmd
+++ b/.local/bin/editorcmd
@@ -1,4 +1,3 @@
#!/bin/sh
-pgrep emacs >/dev/null && exec bsdsetsid emacsclient -c "$@" >/dev/null
-exec nvim "$@"
+exec emacsclient -nw -a nvim "$@"