Adding khard support to neomutt
This commit is contained in:
parent
15b1e15150
commit
e58d7423ea
2 changed files with 30 additions and 3 deletions
17
email/.config/khard/khard.conf
Normal file
17
email/.config/khard/khard.conf
Normal file
|
@ -0,0 +1,17 @@
|
|||
[addressbooks]
|
||||
[[Nextcloud]]
|
||||
path = ~/.local/share/vdirsyncer/nextcloud_contacts_local/contacts/
|
||||
|
||||
[general]
|
||||
debug = no
|
||||
default_action = list
|
||||
editor = nvim
|
||||
merge_editor = delta
|
||||
|
||||
[contact table]
|
||||
display = first_name
|
||||
show_nicknames = no
|
||||
sort = last_name
|
||||
|
||||
[vcard]
|
||||
search_in_source_files = yes
|
|
@ -3,7 +3,8 @@ set from = "andrew@amd.im"
|
|||
set realname = "Andrew Davidson"
|
||||
|
||||
|
||||
#### Connectivity
|
||||
#### Remote Connectivity
|
||||
#### use this instead of the local storage section below.
|
||||
#set imap_user = "andrew@amd.im"
|
||||
#set imap_pass = "`pass show email/amd.im/andrew`"
|
||||
#set folder = "imaps://mail.amd.im"
|
||||
|
@ -13,12 +14,17 @@ set realname = "Andrew Davidson"
|
|||
#set imap_check_subscribed # automatically check subscribed folders
|
||||
#mailboxes +INBOX
|
||||
|
||||
#### Local storage of emails
|
||||
#### Use this with isync/mbsync to store email locally
|
||||
set mbox_type = Maildir
|
||||
set folder = "~/.local/share/email/andrew@amd.im"
|
||||
mailboxes =INBOX =Archive =Sent =Trash =Spam
|
||||
mailboxes =Automatic.DMARC
|
||||
mailboxes =Lists.Money\ Stuff =Lists.NYT =Lists.SWICG =Lists.Evergreen\ MBA
|
||||
mailboxes =NeedleandFoot
|
||||
macro index $ "<shell-escape>mbsync andrew@amd.im<enter>notmuch new<enter>" "sync email"
|
||||
macro index \\\\ "<vfolder-from-query>" "Search mail"
|
||||
|
||||
|
||||
### Mailbox Locations
|
||||
set spoolfile = "+INBOX"
|
||||
|
@ -30,8 +36,12 @@ set trash = "=Trash"
|
|||
### Local Folders
|
||||
set header_cache = "~/.cache/neomutt/headers"
|
||||
set message_cachedir = "~/.cache/neomutt/messages"
|
||||
macro index $ "<shell-escape>mbsync andrew@amd.im<enter>notmuch new<enter>" "sync email"
|
||||
macro index \\\\ "<vfolder-from-query>" "Search mail"
|
||||
|
||||
|
||||
### Use `khard` for contact lookup
|
||||
### To query an address use ctrl-t
|
||||
set query_command= "khard email --parsable --search-in-source-files %s"
|
||||
|
||||
|
||||
### Local Settings
|
||||
set mail_check = 60 # check for mail every XX seconds
|
||||
|
|
Loading…
Reference in a new issue