# some sane vim-like keybindings bind index,pager k previous-entry bind index,pager j next-entry bind index,pager g noop 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 # Sidebar Navigation bind index,pager sidebar-next bind index,pager sidebar-prev bind index,pager sidebar-open # global index and pager shortcuts bind index,pager @ compose-to-sender bind index,pager R group-reply bind index,pager D purge-message bind index sync-mailbox bind index collapse-thread bind editor complete-query # better threads bind index - collapse-thread bind index _ collapse-all # Save all attachments #macro pager S " ripmime -i - -d ~/Downloads && rm ~/Downloads/textfile*" "Save all non-text attachments using ripmime" # Pipe all urls to urlview macro pager \cb 'urlview' 'Follow links with urlview' # Sync all email macro index,pager S "/home/alex/bin/mail-sync.sh" "run mbsync to sync all mail" # Mark all messages read macro index \cn "~NN." "mark all new as read"