dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 2d5913fa12308fc95d3dd6c31a226c08b0449d08
parent a99eb9a756452a204ae465c60ac250f559719e1a
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sun, 10 Mar 2019 07:32:11 +0100

Do not run offlineimap from mutt in tmux splits

Diffstat:
Mlinks/.mutt/muttrc | 29+++++------------------------
1 file changed, 5 insertions(+), 24 deletions(-)

diff --git a/links/.mutt/muttrc b/links/.mutt/muttrc @@ -196,18 +196,10 @@ bind index,pager \CO sidebar-open # abook address book set query_command= "abook --mutt-query '%s'" -#macro index,pager a "<pipe-message>abook --add-email-quiet<return>" "add the -#sender address to abook" macro index,pager A "!$EDITOR ~/.mutt/aliases\n:source ~/.mutt/aliases\n" "Edit aliases file and reload it" macro pager a "<create-alias>" "create an alias from the message sender" macro index Y "<next-unread-mailbox>" "go to next mailbox with unread mails" -# Sync email -#macro index O "<shell-escape>offlineimap -u blinkenlights<enter>" "run -#offlineimap to sync all mail" -#macro index o "<shell-escape>offlineimap -u blinkenlights -qf INBOX<enter>" -#"run offlineimap to sync inboxes" - #macro index,pager S "<enter-command>unset wait_key<enter>\ #<pipe-entry>bogofilter -l -s<enter>\ #<enter-command>set wait_key<enter>\ @@ -219,24 +211,13 @@ macro index,pager S "<enter-command>unset wait_key<enter>\ <save-message>=adamsgaard/Spam<enter>" "mark as spam" # sync all accounts -macro index <Esc>O "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -qf INBOX\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>" -macro index O "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>" +macro index O "<enter-command>unset wait_key<enter><shell-escape>offlineimap<enter><enter-command>set wait_key<enter>" # sync current inbox -folder-hook adamsgaard 'macro index o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a adamsgaard -qf INBOX\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' -folder-hook riseup 'macro index o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a riseup -qf INBOX\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' -folder-hook princeton 'macro index o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a princeton -qf INBOX\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' -folder-hook noaa 'macro index o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a noaa -qf INBOX\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' -folder-hook gmail 'macro index o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a gmail -qf INBOX\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' -folder-hook geomail 'macro index o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a geomail -qf INBOX\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' - -# sync current account -folder-hook adamsgaard 'macro index <Esc>o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a adamsgaard\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' -folder-hook riseup 'macro index <Esc>o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a riseup\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' -folder-hook princeton 'macro index <Esc>o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a princeton\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' -folder-hook noaa 'macro index <Esc>o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a noaa\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' -folder-hook gmail 'macro index <Esc>o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a gmail\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' -folder-hook geomail 'macro index <Esc>o "<enter-command>unset wait_key<enter><shell-escape>tmux split-window -p 25 \"offlineimap -a geomail\"; tmux select-pane -l<enter><enter-command>set wait_key<enter>"' +folder-hook adamsgaard 'macro index o "<enter-command>unset wait_key<enter><shell-escape>offlineimap -a adamsgaard -qf INBOX<enter><enter-command>set wait_key<enter>"' +folder-hook riseup 'macro index o "<enter-command>unset wait_key<enter><shell-escape>offlineimap -a riseup -qf INBOX<enter><enter-command>set wait_key<enter>"' +folder-hook princeton 'macro index o "<enter-command>unset wait_key<enter><shell-escape>offlineimap -a princeton -qf INBOX<enter><enter-command>set wait_key<enter>"' +folder-hook geomail 'macro index o "<enter-command>unset wait_key<enter><shell-escape>offlineimap -a geomail -qf INBOX<enter><enter-command>set wait_key<enter>"' macro index K "<enter-command>unset wait_key<enter>\ <shell-escape>offlineimap-kill.sh<enter>" "kill all offlineimap processes"