It's a fun idea, but I'd imagine it's far too slow to press down your foot compared to tapping your fingers. I personally use a home-row combo as escape, by pressing down the left index and ring finger at the same time.
Vim Foot Pedal
21–30 of 134 posts
Re: Vim Foot Pedal
#22You can do this with Karaniner Elements on macOS. There’s a way to do it on Windows too, but how escapes me at the moment.
Re: Vim Foot Pedal
#23I resolved this pain by making the Caps Lock key work as it should: tap for “Esc” and hold for “Control”. Then I took the Escape key and made it Caps Lock—it’s occasionally useful, but not nearly enough to warrant a home row position. You can do this with Karaniner Elements on macOS. There’s a way to do it on Windows too, but how escapes me at the moment.
Re: Vim Foot Pedal
#24Sexy idea, but as someone who started using vi in 1987, a software solution seems way better. I map the seldom-otherwise-used key sequence jk to . If I were doing it over, kj would be slightly better, for times when I am Just Kidding. I do this in both .vimrc and .inputrc (using different syntax, sigh). My fingers generate the escape without thought. (As is true for tons of vim normal mode actions I use regularly.)
Both jk and kj appear in normal writing for me :( I briefly considered a foot pedal but it seems to me that foot dexterity is far lower than finger, meaning typing ihello is FAR faster than hello , not to mention that pedal travel is way longer. Of course you map esc to caps.
Re: Vim Foot Pedal
#25Re: Vim Foot Pedal
#26When reading all these recommendations, I wonder why nobody is using ctrl-c to exit insert mode..?
Re: Vim Foot Pedal
#27I resolved this pain by making the Caps Lock key work as it should: tap for “Esc” and hold for “Control”. Then I took the Escape key and made it Caps Lock—it’s occasionally useful, but not nearly enough to warrant a home row position. You can do this with Karaniner Elements on macOS. There’s a way to do it on Windows too, but how escapes me at the moment.
Re: Vim Foot Pedal
#28I swear sometimes I feel like I’m the only person in the world that thinks hitting the ESC key is easy and no big deal. Maybe it’s decades of doing it, and I don’t consider myself especially dexterous, but I never have any problem with it.
Re: Vim Foot Pedal
#29I resolved this pain by making the Caps Lock key work as it should: tap for “Esc” and hold for “Control”. Then I took the Escape key and made it Caps Lock—it’s occasionally useful, but not nearly enough to warrant a home row position. You can do this with Karaniner Elements on macOS. There’s a way to do it on Windows too, but how escapes me at the moment.
Re: Vim Foot Pedal
#30When reading all these recommendations, I wonder why nobody is using ctrl-c to exit insert mode..?