diff options
author | Koni Marti <koni.marti@gmail.com> | 2023-05-10 23:56:25 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-05-16 13:41:02 +0200 |
commit | 42cd415756bff13acd306db21eff5f4439665270 (patch) | |
tree | 9fe9bfe9d3224f88961f922fcf5a6b6ba23c8bab /commands/completion_helpers.go | |
parent | 20747fcf104aa05bdc4d7d2b12a2488940bcae2f (diff) | |
download | aerc-42cd415756bff13acd306db21eff5f4439665270.tar.gz |
commands: execute commands with templates
Execute template code before running a command.
With this, we can use templates in our keybinds like:
[messages]
E = :'{{if match (.Flags|join "") "O"}}envelope{{else}}view{{end}}'<Enter>
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/completion_helpers.go')
0 files changed, 0 insertions, 0 deletions