Update neomutt config with sidebar keymaps

main
Ensar Sarajčić 2022-07-15 13:28:35 +02:00
parent ecb9a69374
commit 841203f3ae
2 changed files with 21 additions and 8 deletions

View File

@ -0,0 +1,15 @@
macro index,pager A "<save-message>=Archive<enter>" "Archive Message"
macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.config/mutt/accounts/gmail<enter><change-folder>!<enter>'
macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.config/mutt/accounts/ensarsarajcic<enter><change-folder>!<enter>'
bind index,pager - sidebar-toggle-visible
bind index,pager \Cj sidebar-next
bind index,pager \Ck sidebar-prev
bind index,pager \Co sidebar-open
bind index,pager \Cp sidebar-prev-new
bind index,pager \Cn sidebar-next-new
bind editor <Tab> complete-query
# vim: filetype=neomuttrc

View File

@ -23,12 +23,14 @@ alternative_order text/plain text/enriched text/html
auto_view text/html auto_view text/html
# Order to try and show multipart emails # Order to try and show multipart emails
alternative_order text/plain text/enriched text/html alternative_order text/plain text/enriched text/html
set editor = "vim" set editor = "nvim"
source accounts/gmail set text_flowed=yes
source ~/.config/mutt/accounts/gmail
folder-hook $folder 'source ~/.config/mutt/accounts/gmail' folder-hook $folder 'source ~/.config/mutt/accounts/gmail'
source accounts/ensarsarajcic source ~/.config/mutt/accounts/ensarsarajcic
folder-hook $folder 'source ~/.config/mutt/accounts/ensarsarajcic' folder-hook $folder 'source ~/.config/mutt/accounts/ensarsarajcic'
# Mailbox type # Mailbox type
@ -40,8 +42,4 @@ set imap_check_subscribed
source /usr/share/doc/neomutt/vim-keys/vim-keys.rc source /usr/share/doc/neomutt/vim-keys/vim-keys.rc
source colors-gruvbox.muttrc source colors-gruvbox.muttrc
source keymaps.muttrc
macro index,pager A "<save-message>=Archive<enter>" "Archive Message"
macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.config/mutt/accounts/gmail<enter><change-folder>!<enter>'
macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.config/mutt/accounts/ensarsarajcic<enter><change-folder>!<enter>'