mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-22 14:06:30 +00:00
Properly sort mails into sidebar-accessible tags
This commit is contained in:
parent
d96c731849
commit
7221f4e5ff
3 changed files with 27 additions and 12 deletions
|
@ -11,12 +11,26 @@ set virtual_spoolfile
|
||||||
## Notmuch configuration
|
## Notmuch configuration
|
||||||
set nm_default_uri = "notmuch:///home/felix/.mail"
|
set nm_default_uri = "notmuch:///home/felix/.mail"
|
||||||
virtual-mailboxes "Combined Inbox" "notmuch://?query=tag:inbox"
|
virtual-mailboxes "Combined Inbox" "notmuch://?query=tag:inbox"
|
||||||
virtual-mailboxes "All Unread Messages" "notmuch://?query=tag:unread"
|
virtual-mailboxes "Inbox (Unread)" "notmuch://?query=tag:inbox and tag:unread"
|
||||||
|
virtual-mailboxes "EVEREST" "notmuch://?query=tag:everest"
|
||||||
|
virtual-mailboxes "Reactors" "notmuch://?query=tag:lingua-franca"
|
||||||
|
virtual-mailboxes "Reading Suggestions" "notmuch://?query=tag:reading"
|
||||||
|
virtual-mailboxes "Admin" "notmuch://?query=tag:admin"
|
||||||
virtual-mailboxes "Archive" "notmuch://?query=tag:archive"
|
virtual-mailboxes "Archive" "notmuch://?query=tag:archive"
|
||||||
|
virtual-mailboxes "All Unread Messages" "notmuch://?query=tag:unread"
|
||||||
|
virtual-mailboxes "Spam" "notmuch://?query=tag:spam"
|
||||||
virtual-mailboxes "Sent" "notmuch://?query=tag:sent"
|
virtual-mailboxes "Sent" "notmuch://?query=tag:sent"
|
||||||
|
|
||||||
macro index A "<modify-labels>+archive -unread -inbox\\n" "Archive message"
|
# modify (notmuch/imap) tags
|
||||||
macro index c "<change-vfolder>?" "Change to vfolder overview"
|
bind index . modify-labels
|
||||||
|
|
||||||
|
macro index,pager ,a "<modify-labels>+archive -unread -inbox\n" "Archive message"
|
||||||
|
macro index,pager ,s "<modify-labels>!spam !inbox\n" "Toggle spam classification"
|
||||||
|
macro index,pager ,r "<modify-labels>+reading -inbox\n" "Move to reading suggestions"
|
||||||
|
macro index,pager ,e "<modify-labels>+everest -inbox\n" "Move to EVEREST pile"
|
||||||
|
|
||||||
|
|
||||||
|
macro index,pager c "<change-vfolder>?" "Change to vfolder overview"
|
||||||
macro index \\\\ "<vfolder-from-query>" "Search mailbox"
|
macro index \\\\ "<vfolder-from-query>" "Search mailbox"
|
||||||
|
|
||||||
# # open a different virtual folder
|
# # open a different virtual folder
|
||||||
|
@ -29,8 +43,6 @@ bind index,pager + entire-thread
|
||||||
bind index < vfolder-window-backward
|
bind index < vfolder-window-backward
|
||||||
bind index > vfolder-window-forward
|
bind index > vfolder-window-forward
|
||||||
|
|
||||||
bind index , modify-labels
|
|
||||||
bind index . modify-tags
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -101,9 +113,9 @@ set attach_keyword = "\\<(anhängen|angehängt|anhang|anhänge|hängt an|anhäng
|
||||||
|
|
||||||
## Sidebar
|
## Sidebar
|
||||||
source ~/.config/neomutt/sidebar.muttrc
|
source ~/.config/neomutt/sidebar.muttrc
|
||||||
bind index,pager \CO sidebar-open
|
bind index,pager \CL sidebar-open
|
||||||
bind index,pager \CN sidebar-next
|
bind index,pager \CJ sidebar-next
|
||||||
bind index,pager \CP sidebar-prev
|
bind index,pager \CK sidebar-prev
|
||||||
bind index,pager B sidebar-toggle-visible
|
bind index,pager B sidebar-toggle-visible
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
# vim: syntax=muttrc textwidth=100
|
||||||
set sidebar_visible = no
|
set sidebar_visible = no
|
||||||
set sidebar_width = 20
|
set sidebar_width = 35
|
||||||
set sidebar_short_path = yes
|
set sidebar_short_path = yes
|
||||||
set sidebar_delim_chars = '/.'
|
set sidebar_delim_chars = '/.'
|
||||||
set sidebar_folder_indent
|
set sidebar_folder_indent
|
||||||
|
@ -8,8 +9,10 @@ set sidebar_indent_string = ' '
|
||||||
set sidebar_next_new_wrap = yes
|
set sidebar_next_new_wrap = yes
|
||||||
set sidebar_on_right = no
|
set sidebar_on_right = no
|
||||||
#set sidebar_divider_char = ' '
|
#set sidebar_divider_char = ' '
|
||||||
set sidebar_format = '%B %?N?(%N)?%* %S'
|
set sidebar_format = '%D%?F? ⌈%F⌋?%* %?N?%N/? %?S?%S?'
|
||||||
set sidebar_sort_method = 'path'
|
set sidebar_sort_method = 'unsorted'
|
||||||
|
#set sidebar_format = '%B %?N?(%N)?%* %S'
|
||||||
|
#set sidebar_sort_method = 'path'
|
||||||
set mail_check_stats = yes
|
set mail_check_stats = yes
|
||||||
|
|
||||||
color sidebar_indicator brightcolor02 default
|
color sidebar_indicator brightcolor02 default
|
||||||
|
|
|
@ -48,7 +48,7 @@ Plug 'preservim/nerdtree'
|
||||||
Plug 'jasonccox/vim-wayland-clipboard'
|
Plug 'jasonccox/vim-wayland-clipboard'
|
||||||
|
|
||||||
" Plugin outside ~/.vim/plugged with post-update hook
|
" Plugin outside ~/.vim/plugged with post-update hook
|
||||||
" Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
Plug 'junegunn/fzf' ", { 'do': { -> fzf#install() } }
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
|
|
||||||
" ale language server client
|
" ale language server client
|
||||||
|
|
Loading…
Reference in a new issue