Loopy you can't use | in raw commands, it only works in custom commands.
I suggest you create a new command with just %d and bind it to a new shortcut key, whenever you need to use | you use that command and not the raw commands. a | in a raw command indicates a new line. Allowing you to enter multiple lines at once.
|