A Simple Text Editor Foot Pedal
blog.mattgauger.com
A Simple Text Editor Foot Pedal
1–10 of 10 posts
Re: A Simple Text Editor Foot Pedal
#2If 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...
Re: A Simple Text Editor Foot Pedal
#3So, technically you could just flutter the pedal to move the cursor left? :)
Re: A Simple Text Editor Foot Pedal
#4"One downside I found was that the Ctrl-[ combo seems to back up the cursor one character, which can be annoying." 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.
Re: A Simple Text Editor Foot Pedal
#5Is there a way to send data back to the Teensy? That way you could have a program on your computer that tells it "hey, I'm in vim now, so use 'i' and 'Ctrl-['" or "hey, I'm in emacs now, so just be 'Left-Alt' now". 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...
Re: A Simple Text Editor Foot Pedal
#6"One downside I found was that the Ctrl-[ combo seems to back up the cursor one character, which can be annoying." So, technically you could just flutter the pedal to move the cursor left? :)
Yes. 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.
Re: A Simple Text Editor Foot Pedal
#7It 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.
Re: A Simple Text Editor Foot Pedal
#8"One downside I found was that the Ctrl-[ combo seems to back up the cursor one character, which can be annoying." So, technically you could just flutter the pedal to move the cursor left? :)
Re: A Simple Text Editor Foot Pedal
#9My 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.
Re: A Simple Text Editor Foot Pedal
#10Thank you for posting this, it's an awesome project for cheap. It would be nice to include my feet in my workflow and not just my hands. 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.