Customise shortcuts - cpmcgrath/codealignment GitHub Wiki
Custom shortcuts were introduced in Version 4.0.
Code alignment ships with existing shortcuts, but you can also add your own.
From the Align by String screen press the Options button. On the left hand side select Shortcuts.
The shortcuts screen should appear.
Key
The key after Ctrl Equals to press for the alignment
Alignment
What to align by. You can make it as simple as a single character or make it into a powerful regex.
From caret
Whether to align from the column where your caret is. For more details see _____
Is Regex
Should be ticked if your alignment is a regex. For details on using regexes see Aligning using Regular expressions
Add space
Allows you to say “If there’s not a space before this alignment, add one”.
e.g. If the furthest right was x= 7 and you aligned by equals, the add space makes sure that becomes x = 7.
Restore defaults
Restores only this screen of options (and will not save the restore until you click OK)