You can type characters literally by using
the "lnext" functionality (often ^V per default) in your tty driver
However, I bind Ctrl+v to "paste" in my terminal emulator. (Since I don't use control flow) I'd like to rebind lnext to Ctrl+q. I tried the following in ~/.zshrc
setopt noflowcontrol # Don't use ^s and ^q for control flow
bindkey -r "^Q" # Unbind ^q from push-line
stty lnext '^Q' # Bind ^q to lnext
However, it doesn't seem to work. Is there a way to rebind lnext to Ctrl+q?
EDIT
I've done more troubleshooting, and can't seem to rebind other stty keys. I removed setopt noflowcontrol for testing, then tried stty start '^A' or stty start '^B'. Neither had any effect; start was still bound to Ctrl+q. (FWIW I tried both a literal ^A or ^B and the character itself with lnext preceding it.)
stty start '^A'beforestty lnext '^Q', but it still fails. – Sparhawk Sep 20 '16 at 12:17