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 16b1b01c8575afffef365420a56d25cddca55d3a
parent aa92f37c5b803657646bfb55006987cdff5bc473
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu,  3 Oct 2019 06:53:33 +0200

Add binding to see tail of maillog

Diffstat:
M.config/mutt/muttrc | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc @@ -119,7 +119,7 @@ macro index \ f "l~F<enter>" "Show only flagged messages" # Macros to change between inboxes (e.g. SPACE 1), use noop editor to accept # IMAP folders with spaces bind editor <space> noop -macro index \ l "<change-folder>/var/mail/ad<enter>" "Go to local mail folder" +macro index \ 0 "<change-folder>/var/mail/ad<enter>" "Go to local mail folder" macro index \ 1 "<change-folder>=adamsgaard/INBOX/<enter>" "Go to adamsgaard inbox" macro index \ u "<change-folder>=adamsgaard/Spam.unsure/<enter>" "Go to adamsgaard/Spam.unsure" macro index \ a "<change-folder>=adamsgaard/academic-alerts/<enter>" "Go to adamsgaard/academic-alerts" @@ -160,6 +160,11 @@ folder-hook adamsgaard 'macro index o "<enter-command>unset wait_key<enter>\ tmux select-pane -l<enter>\ <enter-command>set wait_key<enter>"' +# view smtpd log +macro index,pager \ l "<enter-command>unset wait_key<enter>\ +<shell-escape>tmux split-window -l 10 \"tail -f /var/log/maillog\"; 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 -l 1 \"mbsync princeton:INBOX; dwmstatus-refresh\";\ tmux select-pane -l<enter>\