-mkdir -pv ~/.config/{khal,khard,vdirsyncer,todoman,notmuch,msmtp,offlineimap,dunst,tmux}
-mkdir -pv ~/.mutt
+mkdir -pv ~/.config/{mutt,khal,khard,vdirsyncer,todoman,notmuch,msmtp,offlineimap,dunst,tmux}
mkdir -pv ~/.bash_completion.d
mkdir -pv ~/.gnupg
mkdir -pv ~/.vim/{ftplugin,after/ftplugin,autoload,bundle,spell,pack/plugins/{opt,start}}
set reverse_name=yes
set envelope_from=yes
set mbox_type=Maildir
-set folder=~/.mutt/mail
+set folder=~/.local/share/offlineimap/mail
set spoolfile=+/INBOX/
set record=+/Sent/
set postponed=+/Drafts/
set mask="!^\\.[^.]"
-source ~/.mutt/mailboxes
+source ~/.local/share/offlineimap/mailboxes
# Receiving, sending and searching
-set sendmail="/home/mrl/.mutt/checkattach.sh msmtp -C /home/mrl/.config/msmtp/config"
+set sendmail="/home/mrl/.config/mutt/checkattach.sh msmtp -a net"
set send_charset="us-ascii:utf-8"
-macro index,pager $ "<shell-escape>/home/mrl/.mutt/force_sync.sh<enter><sync-mailbox>" "Force refresh"
+macro index,pager $ "<shell-escape>/home/mrl/.config/mutt/force_sync.sh<enter><sync-mailbox>" "Force refresh"
macro attach B "<pipe-entry>firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"<enter>"
# Set the correct msmtp account for the different addresses
send2-hook '~f mart@martlubbers.net'\
- 'set sendmail="msmtp -C /home/mrl/.config/msmtp/config -a net"'
+ 'set sendmail="/home/mrl/.config/mutt/checkattach.sh msmtp -a net"'
send2-hook '((~f m.lubbers@cs.ru.nl)|(~f m.lubbers@science.ru.nl)|(~f mart@cs.ru.nl))'\
- 'set sendmail="msmtp -C /home/mrl/.config/msmtp/config -a ru"'
+ 'set sendmail="/home/mrl/.config/mutt/checkattach.sh msmtp -a ru"'
# Macro for switching to the ru address
macro compose <esc>2 "<esc>f^UMart Lubbers <mart@cs.ru.nl><enter>"
send2-hook '((~f m.lubbers@cs.ru.nl)|(~f m.lubbers@science.ru.nl)|(~f mart@cs.ru.nl)) (~g|~G)'\
'push <pgp-menu>c'
-#folder-hook . push "<delete-pattern>~=<enter>$"
-
# Key bindings
bind index gg first-entry
bind index G last-entry
set duplicate_threads=yes
ignore headers *
unignore headers from to subject date cc
-set mailcap_path=~/.mutt/mailcap
+set mailcap_path=~/.config/mutt/mailcap
set mailcap_sanitize=yes
# w3m --dump
"add the sender email address to khard"
# sidebar
-source ~/.mutt/sidebar.muttrc
+source ~/.config/mutt/sidebar.muttrc
# notmuch
-source ~/.mutt/notmuch.muttrc
+source ~/.config/mutt/notmuch.muttrc
# Crypto
-source ~/.mutt/gpg.muttrc
+source ~/.config/mutt/gpg.muttrc
# Colors
-source ~/.mutt/colors.muttrc
+source ~/.config/mutt/colors.muttrc
[general]
pythonfile = ~/.config/offlineimap/offlineimap.py
-metadata = ~/.mutt/offlineimap_meta
+metadata = ~/.local/share/offlineimap
accounts = net
ui = blinkenlights
remoterepository = Remote
autorefresh = 0.5
quick = 10
-postsynchook = /home/mrl/.mutt/newmail.sh
+postsynchook = ~/.config/offlineimap/newmail.sh
#proxy = SOCKS5:localhost:8008
[Repository Local]
type = Maildir
-localfolders = ~/.mutt/mail
+localfolders = ~/.local/share/offlineimap/mail
[Repository Remote]
type = IMAP
[mbnames]
enabled = yes
-filename = ~/.mutt/mailboxes
+filename = ~/.local/share/offlineimap/mailboxes
header = "mailboxes "
-peritem = "~/.mutt/mail/%(foldername)s/"
+peritem = "~/.local/share/offlineimap/mail/%(foldername)s/"
sep = " "
footer = "\n"
incremental = yes