aerc/commands
Jeffas dc4c36adbf Add new-email trigger
This patch sets up the trigger config section of aerc.conf.

Each trigger has its own function which is called from the place where
it is triggered. Currently only the new-email trigger is implemented.

The triggers make use of format strings. For instance, in the new-email
trigger this allows the user to select the trigger command and also the
information extracted from the command and placed into their command.

To actually execute the trigger commands the keypresses are simulated.

Further triggers can be implemented in the future.

Formatting of the command is moved to a new package.
2019-07-26 14:00:24 -04:00
..
account Implement :filter, :clear 2019-07-19 11:30:32 -04:00
compose Add :attach command for compose 2019-07-19 10:30:47 -04:00
msg Add space which was missing 2019-07-25 18:12:05 -04:00
msgview Make :pipe command more generic 2019-07-05 12:21:12 -04:00
terminal Fix :close on terminal panic 2019-07-25 18:12:08 -04:00
cd.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
commands.go Add new-email trigger 2019-07-26 14:00:24 -04:00
ct.go Add change tab command 2019-07-23 10:27:59 -04:00
exec.go Fix re-opening of expired pipe tabs 2019-07-08 18:32:31 -04:00
global.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
help.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
new-account.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
next-tab.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
pwd.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
quit.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
set.go 71: Allow user to change config options at runtime 2019-07-15 09:42:03 -04:00
term.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
util.go Add :save and :pipe commands to viewer 2019-05-27 09:37:07 -04:00