(Optional) assign hotkeys for the two Hotkey handlers in the workflow. I recommend Cmd+Shift+| and Cmd+Ctrl+\, respectively.
Two actions are available, both taking an arbitrarily complex shell pipe as their argument:
- triggered by the first hotkey or by the | or pipe keywords, will transform the clipboard in-place by passing its contents through the pipe given as argument.
- triggered by the second hotkey, will transform the currently selected text in-place by passing its contents through the pipe given as argument.
A number of built-in pipelines are included, and custom aliases can also be defined with the following syntax:
| alias NAME=PIPE | LINE@@ | alias tac=sed '1!G;h;$!d'@@