diff options
author | Koni Marti <koni.marti@gmail.com> | 2023-05-10 23:56:30 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-05-16 13:41:36 +0200 |
commit | bbb9b0695e1b8a0962423f5223a4b559b4ef02f6 (patch) | |
tree | 7f56564d1a2ad1c3ce3889ca4451d9f749e47c68 /worker/lib/sort.go | |
parent | 9c3f12379b34dd86b1208a8aa6e1e458b4f883c5 (diff) | |
download | aerc-bbb9b0695e1b8a0962423f5223a4b559b4ef02f6.tar.gz |
search/filter: update completion
Update the completion system by implementing the OptionsProvider and
OptionComleter interfaces. The command flags that expect arguments can
be completed now: -x,-X with the available flags, -t,-f,-c with the
address book (after more then 3 characters), -d with a selected
suggestion for useful dates.
Examples:
:filter -<Tab>
lists the available option flags
:filter -t org<Tab>
fills the completion menu with address from your address-book-cmd
matching "org" (same with -f and -c)
:filter -x <Tab>
lists the available flags (same with -X)
:filter -d <Tab>
lists a few convenient date terms
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/lib/sort.go')
0 files changed, 0 insertions, 0 deletions