diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-09-14 21:31:11 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-09-14 21:31:11 +0300 |
commit | 86d08f80c0f9a8159139e29c070a87e55469fbc8 (patch) | |
tree | 7246fc865563417bf7697091d093ece5d0f6b686 /dotfiles/.config/mutt/muttrc | |
parent | a76aa8c932030a64ba277ed9a9cbeadb8dd910d2 (diff) | |
download | swayrice-86d08f80c0f9a8159139e29c070a87e55469fbc8.tar.gz swayrice-86d08f80c0f9a8159139e29c070a87e55469fbc8.zip |
neomutt keybinds
S is to move to spam is s to sync.
Diffstat (limited to 'dotfiles/.config/mutt/muttrc')
-rw-r--r-- | dotfiles/.config/mutt/muttrc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dotfiles/.config/mutt/muttrc b/dotfiles/.config/mutt/muttrc index 207f7c4..61fa2e6 100644 --- a/dotfiles/.config/mutt/muttrc +++ b/dotfiles/.config/mutt/muttrc @@ -55,7 +55,7 @@ bind pager,browser gg top-page bind pager,browser G bottom-page bind index,pager,browser \CD half-down bind index,pager,browser \CU half-up -bind index,pager S sync-mailbox +bind index,pager s sync-mailbox bind index,pager R group-reply bind index \031 previous-undeleted # Mouse wheel bind index \005 next-undeleted # Mouse wheel @@ -75,6 +75,7 @@ macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"<enter>" "show only messages matching a notmuch pattern" #macro index A "<limit>all\n" "show all messages (undo limit)" macro index,pager A ";<save-message>=Archive<enter>" "archive mail" +macro index,pager S ";<save-message>=Spam<enter>" "send mail to spam" # Sidebar mappings set sidebar_visible = yes |