Re:SSH Escape Sequences
by jtl999 on Tuesday October 24, 2017 @01:52AM
(#15539519)
cough accidently sending half-pasted gibberish to IRC.
[ Parent
| on HN ]
My most frequently posted line in IRC is
:wqAnd slack. And hipchat. And google docs. And Sublime Text. And...:wq
Try switching to
ZZ
Doesn't require a CR and therefore less likely to be submitted accidentally.I'm aware of ZZ and use it occasionally, but I can't get my muscle memory from "occasionally" to "consistently".
My solution is to use a stateless in-application (where I expect to be) command to switch to a different window (In this case, the server chatter window) where pasting the line is an error since there's no command.
It usually works...
I agree that it would be nice if /any/ terminal escape sequence followed by ~ would initiate the escape.