summaryrefslogtreecommitdiffstats
path: root/mutt/keys
blob: 0190cf639d62345f83769f6123809d92b13c3649 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
bind generic i exit
bind generic p search-opposite
bind generic ? search-reverse
bind generic B help

bind pager j next-line
bind pager k previous-line
bind pager J half-down
bind pager K half-up
bind pager p search-opposite
bind pager ? search-reverse
bind pager N next-undeleted
bind pager P previous-undeleted
bind pager g top
bind pager G bottom
bind pager A group-reply

bind index i noop
bind index <Down> next-entry
bind index <Up> previous-entry
bind index J half-down
bind index K half-up
bind index p search-opposite
bind index A group-reply
bind index g first-entry
bind index G last-entry
bind index ^G imap-fetch-mail
macro index S "<enter-command>set resolve=no<enter><clear-flag>N<save-message>=spam<enter><enter-command>set resolve=yes<enter>"

bind compose i exit
bind compose S ispell

macro index <F8> "<enter-command>unset wait_key<enter><shell-escape>notmuch-mutt -r --prompt search<enter><change-folder-readonly>~/.cache/notmuch/mutt/results<enter>" "notmuch: search mail"
macro index <F9> "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt -r thread<enter><change-folder-readonly>~/.cache/notmuch/mutt/results<enter><enter-command>set wait_key<enter>" "notmuch: reconstruct thread"

# vim:ft=muttrc: