I think this binding is the key to understanding how this is done:
"\C-x\"": "\"\"\C-b"
Read "When I press Ctrl+X and then "
, insert two quotes (\"\"
) and move the cursor once to the left (\C-b
) so it ends up between the two double quotes.
On the right hand side of the :
, you can only have a single readline function or a "macro" or a single shell function. A macro is a sequence of keystrokes.
So what you need to do is assign the functions you want to keys and then use the keys in the macro:
bind '"\C-t":"\C-a\ed"'
See also: Complex keybinding in bash