[neomutt] Add filter keybind, and other cleanup
This commit is contained in:
parent
8b3920deb5
commit
c417a7872f
3 changed files with 6 additions and 7 deletions
|
@ -6,5 +6,6 @@ set trash = "+$my_account/Trash"
|
||||||
|
|
||||||
macro index,pager gs "<shell-escape>mbsync $my_mbsync_conf $my_account<enter>" "IMAP sync account"
|
macro index,pager gs "<shell-escape>mbsync $my_mbsync_conf $my_account<enter>" "IMAP sync account"
|
||||||
macro index,pager gi "<shell-escape>mbsync $my_mbsync_conf $my_account:INBOX<enter>" "IMAP sync Inbox"
|
macro index,pager gi "<shell-escape>mbsync $my_mbsync_conf $my_account:INBOX<enter>" "IMAP sync Inbox"
|
||||||
|
macro index,pager gf "<shell-escape>fdm fetch -a $my_account<enter>" "fdm filter mailbox"
|
||||||
|
|
||||||
# vim: syntax=neomuttrc
|
# vim: syntax=neomuttrc
|
||||||
|
|
|
@ -4,10 +4,3 @@ set folder = "~/mail"
|
||||||
set my_msmtp_conf = "" # Leave empty for default
|
set my_msmtp_conf = "" # Leave empty for default
|
||||||
set my_mbsync_conf = "" # Leave empty for default
|
set my_mbsync_conf = "" # Leave empty for default
|
||||||
source common.rc
|
source common.rc
|
||||||
|
|
||||||
# Override sidebar_new_mail_only
|
|
||||||
# Move back to sidebar.rc once the issue is resolved
|
|
||||||
# https://github.com/neomutt/neomutt/issues/2208
|
|
||||||
sidebar_whitelist `find $folder -mindepth 1 -maxdepth 1 -type d ! -name cur ! -name tmp ! -name new ! -name .notmuch -printf '"%f"\0' | xargs -0`
|
|
||||||
sidebar_whitelist `find $folder -mindepth 1 -maxdepth 1 -type d ! -name cur ! -name tmp ! -name new ! -name .notmuch -printf '"%p"\0' | xargs -0`
|
|
||||||
sidebar_whitelist `find ~/mail -mindepth 1 -type d -iname inbox -printf '"%p"\0' | xargs -0`
|
|
||||||
|
|
|
@ -13,4 +13,9 @@ unset sidebar_next_new_wrap # wrap <sidebar-{next,prev}-new> to beginnin
|
||||||
unset sidebar_on_right # keep bar on the left
|
unset sidebar_on_right # keep bar on the left
|
||||||
set sidebar_sort_method = 'path' # sort by mailbox path alphabetically
|
set sidebar_sort_method = 'path' # sort by mailbox path alphabetically
|
||||||
|
|
||||||
|
# Override sidebar_new_mail_only
|
||||||
|
sidebar_whitelist `find $folder -mindepth 1 -maxdepth 1 -type d ! -name cur ! -name tmp ! -name new ! -name .notmuch -printf '"%f"\0' | xargs -0`
|
||||||
|
sidebar_whitelist `find $folder -mindepth 1 -maxdepth 1 -type d ! -name cur ! -name tmp ! -name new ! -name .notmuch -printf '"%p"\0' | xargs -0`
|
||||||
|
sidebar_whitelist `find $folder -mindepth 1 -type d -iname inbox -printf '"%p"\0' | xargs -0`
|
||||||
|
|
||||||
# vim: syntax=neomuttrc
|
# vim: syntax=neomuttrc
|
||||||
|
|
Loading…
Reference in a new issue