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 e65f487322efe997f23fcf8c242c241af4fb6bd0
parent 934b3b2091768e60b3796924bf9b597374deb834
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date:   Tue,  3 May 2016 10:35:03 -0700

remove newlines from keybinds which broke functionality

Diffstat:
M.mutt/muttrc | 36+++++++-----------------------------
1 file changed, 7 insertions(+), 29 deletions(-)

diff --git a/.mutt/muttrc b/.mutt/muttrc @@ -153,7 +153,7 @@ 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><enter>" "create an alias from the message sender" +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 @@ -161,36 +161,14 @@ macro index O "<shell-escape>offlineimap -u blinkenlights<enter>" "run offlineim macro index o "<shell-escape>offlineimap -u blinkenlights -qf INBOX<enter>" "run offlineimap to sync inboxes" macro index K "<shell-escape>killall offlineimap<enter>" "kill all offlineimap processes" -# View and select urls -macro pager U "<pipe-entry>urlview<enter>" "call urlview to open links" - -# notmuch integration -# 'L' performs a notmuch query, showing only the results -macro index L "<enter-command>unset wait_key<enter>\ - <shell-escape>read -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages in this folder matching a notmuch pattern" -# 'a' shows all messages again (supersedes default <alias> binding) -macro index a "<limit>all\n" "show all messages (undo limit)" +macro index U "<limit>all\n" "show all messages (undo limit)" # notmuch-mutt integration, from `man notmuch-mutt` -macro index <F8> \ - "<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\ - <shell-escape>notmuch-mutt -r --prompt search<enter>\ - <change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter>\ - <enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \ - "notmuch: search all mail" - -macro index <F9> \ - "<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\ - <pipe-message>notmuch-mutt -r thread<enter>\ - <change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter>\ - <enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \ - "notmuch: reconstruct thread" - -macro index <F6> \ - "<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\ - <pipe-message>notmuch-mutt tag -- -inbox<enter>\ - <enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \ - "notmuch: remove message from inbox" +macro index L "<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter> <shell-escape>notmuch-mutt -r --prompt search<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter><enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" "notmuch: search all mail" + +macro index <F9> "<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter><pipe-message>notmuch-mutt -r thread<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter><enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" "notmuch: reconstruct thread" + +macro index <F6> "<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter><pipe-message>notmuch-mutt tag -- -inbox<enter><enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" "notmuch: remove message from inbox" # show recipient instead of sender in "Sent" folder view set date_format='%b %d %k:%M'