logoalt Hacker News

teo_zero11/04/20253 repliesview on HN

It doesn't look so convenient to me. If Ctrl+v is bound to paste, how do you insert a verbatim character in the shell? How do you start a block visual selection in Vim? How do you scroll down in emacs?


Replies

throw0101c11/04/2025

> If Ctrl+v is bound to paste, how do you insert a verbatim character in the shell?

For those unaware:

> Unix interactive terminals use Control-V to mean "the next character should be treated literally" (the mnemonic here is "V is for verbatim"). This allows a user to insert a literal Control-C or Control-H or similar control characters that would otherwise be handled by the terminal. This behavior was copied by text editors like vi and Unix shells like bash and tcsh, which offer text editing on the command line.[3]

* https://en.wikipedia.org/wiki/Control-V

blueflow11/04/2025

You don't but you don't notice if you never did anything like that. Half of the keybinds listed by 'stty -a' are a mystery to mankind.

show 1 reply
j1elo11/04/2025

Seems to me a reasonable concern but I'd bet it's only for a minority of users... so perfect candidate to have implemented, but given as a disabled by default setting.