Easy way to swap characters in command line with emacs key bindings?

Solution 1:

Emacs key binding Ctrl-t runs the command transpose-chars, which also works in the terminal