This commit is contained in:
Till 2023-05-22 13:38:46 +02:00
parent e374b0b693
commit f7fd86c39d
7 changed files with 121 additions and 86 deletions

View file

@ -1,13 +1,14 @@
# Navigation
bind index,pager k previous-entry
bind index,pager j next-entry
bind index,pager \Cu half-up
bind index,pager \Cd half-down
bind pager gg top
bind index gg first-entry
bind pager G bottom
bind index G last-entry
bind index,pager N search-opposite
bind pager k previous-entry
bind pager j next-entry
# bind index,pager \Cu half-up
# bind index,pager \Cd half-down
# bind pager gg top
# bind index gg first-entry
# bind pager G bottom
# bind index G last-entry
# bind index,pager N search-opposite
bind index <return> display-message
bind index <space> collapse-thread
bind index,pager gf change-folder
@ -15,14 +16,6 @@ bind index,pager gf change-folder
bind index,pager V noop
macro index,pager V "<view-attachments><search>html<enter><view-mailcap><exit>"
# Sidebar navigation
# bind index,pager \Cj sidebar-next
# bind index,pager \Ck sidebar-prev
# bind index,pager \Cl sidebar-open
# bind index,pager gl sidebar-toggle-visible
# macro index,pager g8 "<pipe-message>less<return>" "Just testing"
# compose
bind compose p postpone-message
bind compose P pgp-menu
@ -49,28 +42,28 @@ macro index,pager y ":set resolve=no\n<clear-flag>n:set resolve=yes\n<save-m
macro index,pager I "<save-message>$spoolfile<enter>" "Move message to the inbox"
# switch folders
# macro index,pager gi "<change-folder>$spoolfile<enter>" "Go to inbox"
macro index,pager g! "<change-folder>$spoolfile<enter><refresh>" "Go to inbox"
macro index,pager gd "<change-folder>$postponed<enter><refresh>" "Go to drafts"
# macro index,pager gs "<change-folder>$record<enter>" "Go to sent"
macro index,pager g< "<change-folder>$record<enter><refresh>" "Go to sent"
# macro index,pager ga "<change-folder>$mbox<enter>" "Go to archive"
macro index,pager ga "<change-folder>$mbox<enter>" "Go to archive"
macro index,pager g> "<change-folder>$mbox<enter><refresh>" "Go to archive"
macro index,pager gt "<change-folder>$trash<enter><refresh>" "Go to trash"
macro index,pager gj "<change-folder>$my_junk<enter><refresh>" "Go to junk"
# accounts
macro index,pager gu "<change-folder>+gu/IMAP/Inbox<enter><refresh>" "Go to GU"
macro index,pager gp "<change-folder>+systemli/IMAP/Inbox<enter><refresh>" "Go to Systemli"
macro index,pager gm "<change-folder>+gmail/IMAP/Inbox<enter><refresh>" "Go to Gmail"
macro index,pager gk "<change-folder>+ks/IMAP/Inbox<enter><refresh>" "Go to KS"
macro index,pager gi "<change-folder>+ktiu/IMAP/Inbox<enter><refresh>" "Go to ktiu"
macro index,pager gf "<change-folder>+dkg/IMAP/Inbox<enter><refresh>" "Go to DKG"
macro index,pager gu "<change-folder>~/.local/share/mail/imap/gu/Inbox<enter><refresh>" "Go to GU"
# macro index,pager gp "<change-folder>+systemli/IMAP/Inbox<enter><refresh>" "Go to Systemli"
# macro index,pager gm "<change-folder>+gmail/IMAP/Inbox<enter><refresh>" "Go to Gmail"
# macro index,pager gk "<change-folder>+ks/IMAP/Inbox<enter><refresh>" "Go to KS"
macro index,pager gi "<change-folder>~/.local/share/mail/imap/ktiu/Inbox<enter><refresh>" "Go to ktiu"
# macro index,pager gf "<change-folder>+dkg/IMAP/Inbox<enter><refresh>" "Go to DKG"
macro index,pager L "<limit>all\n" "Show all messages (undo limit)"
macro index,pager go "<shell-escape>mbsync -c ~/.config/mbsync/mbsyncrc $my_mbsync_acct && notmuch new<enter>" \
"Run mbsync to sync mail for this account"
# macro index,pager go "<shell-escape>mbsync -c ~/.config/mbsync/mbsyncrc $my_mbsync_acct && notmuch new<enter>" \
# "Run mbsync to sync mail for this account"
macro index,pager go "<shell-escape>mbsync $my_mbsync_acct && notmuch new<enter>" \
macro index,pager g/ \
"<vfolder-from-query-readonly>" \