diff --git a/entropy/mail/neomutt/neomuttrc b/entropy/mail/neomutt/neomuttrc index 877b47d..65123cc 100644 --- a/entropy/mail/neomutt/neomuttrc +++ b/entropy/mail/neomutt/neomuttrc @@ -11,12 +11,26 @@ set virtual_spoolfile ## Notmuch configuration set nm_default_uri = "notmuch:///home/felix/.mail" 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 "All Unread Messages" "notmuch://?query=tag:unread" +virtual-mailboxes "Spam" "notmuch://?query=tag:spam" virtual-mailboxes "Sent" "notmuch://?query=tag:sent" -macro index A "+archive -unread -inbox\\n" "Archive message" -macro index c "?" "Change to vfolder overview" +# modify (notmuch/imap) tags +bind index . modify-labels + +macro index,pager ,a "+archive -unread -inbox\n" "Archive message" +macro index,pager ,s "!spam !inbox\n" "Toggle spam classification" +macro index,pager ,r "+reading -inbox\n" "Move to reading suggestions" +macro index,pager ,e "+everest -inbox\n" "Move to EVEREST pile" + + +macro index,pager c "?" "Change to vfolder overview" macro index \\\\ "" "Search mailbox" # # open a different virtual folder @@ -29,8 +43,6 @@ bind index,pager + entire-thread bind index < vfolder-window-backward 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 source ~/.config/neomutt/sidebar.muttrc -bind index,pager \CO sidebar-open -bind index,pager \CN sidebar-next -bind index,pager \CP sidebar-prev +bind index,pager \CL sidebar-open +bind index,pager \CJ sidebar-next +bind index,pager \CK sidebar-prev bind index,pager B sidebar-toggle-visible diff --git a/entropy/mail/neomutt/sidebar.muttrc b/entropy/mail/neomutt/sidebar.muttrc index 2abd096..89e38db 100644 --- a/entropy/mail/neomutt/sidebar.muttrc +++ b/entropy/mail/neomutt/sidebar.muttrc @@ -1,5 +1,6 @@ +# vim: syntax=muttrc textwidth=100 set sidebar_visible = no -set sidebar_width = 20 +set sidebar_width = 35 set sidebar_short_path = yes set sidebar_delim_chars = '/.' set sidebar_folder_indent @@ -8,8 +9,10 @@ set sidebar_indent_string = ' ' set sidebar_next_new_wrap = yes set sidebar_on_right = no #set sidebar_divider_char = ' ' -set sidebar_format = '%B %?N?(%N)?%* %S' -set sidebar_sort_method = 'path' +set sidebar_format = '%D%?F? ⌈%F⌋?%* %?N?%N/? %?S?%S?' +set sidebar_sort_method = 'unsorted' +#set sidebar_format = '%B %?N?(%N)?%* %S' +#set sidebar_sort_method = 'path' set mail_check_stats = yes color sidebar_indicator brightcolor02 default diff --git a/entropy/nvim/init.vim b/entropy/nvim/init.vim index 8ef7b2b..9d7dfa7 100644 --- a/entropy/nvim/init.vim +++ b/entropy/nvim/init.vim @@ -48,7 +48,7 @@ Plug 'preservim/nerdtree' Plug 'jasonccox/vim-wayland-clipboard' " Plugin outside ~/.vim/plugged with post-update hook -" Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } +Plug 'junegunn/fzf' ", { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' " ale language server client