2 ms·
>, because it’s obvious when I just tapped ESC, I learned vi (not vim) on old DEC and IBM AIX machines via Telnet (not local GUI). With those more primitive c
by jasode 7y ago
>, because it’s obvious when I just tapped ESC,
I learned vi (not vim) on old DEC and IBM AIX machines via Telnet (not local GUI). With those more primitive console emulators, the cursor change for different modes wasn't obvious.
>Or do all these people hitting ESC twice somehow have bad keyboards which don’t often transmit the ESC key signal?
The Esc-double-tap was a very common way to make sure you're not in text insert mode: https://www.google.com/search?q=vi+"press+esc+twice"+command https://www.google.com/search?q=vi+"press+esc+twice"+command
For whatever reason (e.g. possibly unawareness of timeoutlen delay causing Esc to behave in unexpected ways), many vi users end up redundantly pressing Esc twice.
>Hitting C once only clears the current result, but doesn’t clear the previous results.
I thought the newer calculators with dedicated "C" (clear) and "CE" (clear entry) didn't require pressing "C" multiple times. (I just tested this on a Texas Instruments desk calculator with dedicated C & CE buttons and it only requires pressing C once to clear out everything. (But I still press C multiple times out of habit.))
- addicted 7y agoGood to know about the timeoutlen. Also newer calculators have a distinction. But I’ve definitely used older ones where both keys were on the same button (separated by a slash?) but I know I habitually press C twice and it’s likely because the calculator I used most growing up needed you to press C twice for CE.