A Simple Text Editor Foot Pedal
blog.mattgauger.com
blog.mattgauger.com
My problem with this, and it's such a niggly problem that's it may not even be worth mentioning, is that this will only work when you've got the footpedal around and I'd be frustrated when I sat down at a computer and didn't have it.
Like the author's note about muscle memory and wanting to hit the ESC key. I'd be frustrating to get the pedal into muscle memory and then forget it.
Sure you can learn a new system, but it's nice to know that vim is vim, regardless of the device you're connected via. Same is true for Emacs. Boy, an ALT key at my foot would spoil me rotten.
If it's "just a keyboard" and doesn't normally support that, I've seen hacks that utilize the Caps/Scroll/Num lights as inputs back into a keyboard...
It would be cool to implement the pedal as a hot-key reader. Say you press the pedal down and type 'ff' and let it go and firefox launches, or type 't' and a terminal opens.
So, technically you could just flutter the pedal to move the cursor left? :)
It's not just Ctrl-[ that does this, Escape does it too. We just typically don't toggle between insert mode / ESC in vim fast enough and enough times to notice it. With the pedal it's quite easy to press and release it a bunch of times before you type anything.