The action to execute.
Optional
afterThis rule will only execute if the text after the cursor matches this regular expression.
This rule will only execute if the text before the cursor matches this regular expression.
Optional
previousThis rule will only execute if the text above the current line matches this regular expression.
Describes a rule to be evaluated when pressing Enter.