diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf index 59aefed1..41824bf1 100644 --- a/.config/aerc/aerc.conf +++ b/.config/aerc/aerc.conf @@ -673,7 +673,7 @@ always-show-mime=true # ignored. # # This parameter can also be set per account in accounts.conf. -#address-book-cmd= +address-book-cmd=emailbook ~/notes/emailbook.txt --search "%s" # Specifies the command to be used to select attachments. Any occurrence of # '%s' in the file-picker-cmd will be replaced with the argument diff --git a/.config/aerc/binds.conf b/.config/aerc/binds.conf index 7a710367..fa71af3c 100644 --- a/.config/aerc/binds.conf +++ b/.config/aerc/binds.conf @@ -105,6 +105,8 @@ S = :save | = :pipe D = :delete A = :archive flat +aa = :pipe -m emailbook ~/notes/emailbook.txt --parse --all +af = :pipe -m emailbook ~/notes/emailbook.txt --parse --from = :open-link