Using an editor is great for loops, loops with nested conditions, etc.
(Be sure to set VISUAL to something nice.)
Slightly faster than ctrl-a followed by # followed by return.
(Aside: I've never seen the sense in using C to denote ctrl. How do you denote C?)
Ah apparently it's a ZSH-specific shortcut for "push-line". readline follows Emacs' (not illogical but probably less useful here) "quoted-insert" (generally used to include non-literal code e.g. C-q a does nothing as "a" is already literal, but C-q C-q should insert 0x 11 / XON / DC1).
> (Aside: I've never seen the sense in using C to denote ctrl. How do you denote C?)
c. Or C for S-c (shift-c).
a-b indicates a single keystroke, meaning a modified key, so the first character can only signify a modifier key[0]. Which "c" is not. The sequence "upper case C then lowercase c" is "C c", not "C-c".
[0] well technically you could have keystrokes of non-modifiers as modern keyboards can handle concurrent keycodes, but historical systems don't so a keystroke is only a bunch of modifiers + a single key e.g. C-S-M-c is unambiguously Control-Shift-Meta-c
To denote a capital c, use Shift-c or some variant thereof.
Ctrl is "C-", prefixed to another key without a space, so it's unambiguous.