When reading all these recommendations, I wonder why nobody is using ctrl-c to exit insert mode..?
It behaves differently than Esc.
Vim Foot Pedal
31–40 of 134 posts
Re: Vim Foot Pedal
#32Someone long ago, probably here, suggested binding the sequence 'K-J' to 'ESC'. Now I don't even have to take my fingers off the home row.
Re: Vim Foot Pedal
#33I wrote a post a while ago about getting an inexpensive three-button foot pedal to work under Linux.[1] I have the different buttons mapped to different keys in Xorg (which can then be mapped to any commands in .vimrc), but I'm not sure how to map the keydown and keyup events to different keys so that the "clutch" behavior can be implemented in software only. 1: https://catswhisker.xyz/log/2018/8/27/use_vecinfinity_u…
It didn't support up/down events but that was ok for me.
For me the mapping was: button 1 i3 workspace back_and_forth. button 2 exec a floating urxvt terminal. button 3 i3-lock.
Re: Vim Foot Pedal
#34Re: Vim Foot Pedal
#35> ... what better way to show my appreciation to an infrequent Vim user, than to add another rarely useful peripheral to their bag!
> ... As much as I built the pedal for a joke, I can’t deny that there is something very satisfying about using it.
Re: Vim Foot Pedal
#36Map holding caps lock to control and esc on tap, you never use it anyway :)
Re: Vim Foot Pedal
#37When reading all these recommendations, I wonder why nobody is using ctrl-c to exit insert mode..?
It behaves differently than Esc.
Re: Vim Foot Pedal
#38Earlier quoted context omitted.
Agreed. Most vim users swap esc with caps lock anyway, making it even easier to reach. I don't think pedals bring any significant ergonomic benefit, but pedal setups look cool nonetheless. Swapping keys isn't interesting and you can't write a blog post about it.
> Most vim users swap esc with caps lock anyway "Some", sure, but "most"? Not so sure about that. Besides, everyone knows what Ctrl is the One True Key™ in place of the Caps Lock and that only degenerate infidels map it to anything else.
Re: Vim Foot Pedal
#39Earlier quoted context omitted.
Agreed. Most vim users swap esc with caps lock anyway, making it even easier to reach. I don't think pedals bring any significant ergonomic benefit, but pedal setups look cool nonetheless. Swapping keys isn't interesting and you can't write a blog post about it.
> Most vim users swap esc with caps lock anyway "Some", sure, but "most"? Not so sure about that. Besides, everyone knows what Ctrl is the One True Key™ in place of the Caps Lock and that only degenerate infidels map it to anything else.
I like it because my fingers never leave the home row.
Re: Vim Foot Pedal
#40Having a qmk split keyboard (the iris specifically https://keeb.io/collections/iris-split-ergonomic-keyboard) was a more lasting solution that also solved some other ergonomic issues. Now my thumbs do more than just thonk the space bar. Control, shift, space, meta, backspace/delete, enter alt and esc are now done by thumbs instead of pinkies.