Live data from Hacker News

Vim Foot Pedal

hackaday.com

91–100 of 134 posts

Re: Vim Foot Pedal

#91

I 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.

It’s not so much the hitting escape, but the reorienting yourself on the keyboard after you hit it. Same with the numpad on the right, I’m desperately trying to stop using it, but it’s a tough change.

Re: Vim Foot Pedal

#92

I 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.

Yeah, I just slap in that general direction and it works fine. That’s the beauty of that corner location, still fairly close and very forgiving.

(And I don’t want to use Caps Lock for that, Backspace on the other corner of the keyboard is far less convenient, that’s what I want Caps Lock to be.)

Re: Vim Foot Pedal

#93
post #22

I 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.

I wonder how to do that with .Xmodmap

Re: Vim Foot Pedal

#94

I 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.

I tend to use escape in most circumstances, but I am increasingly partial to Ctrl-[ when using certain keyboards where the escape key is a bit too far for me. It's another option that's always available by default.

I have found Ctrl-[ to be the best option for a while. I swap Caps Lock and Ctrl since I am most used to Emacs/Readline-style keybindings, and even though I have moved over to Vim-style keybindings for all development I use Ctrl too much for other things to justify swapping Esc and Caps Lock. Ctrl-[ works 99% of the time, and the places it doesn’t work are usually mouse-driven anyway.

Re: Vim Foot Pedal

#95
post #22

I 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.

I feel like people who think the "CTRL" key goes on the home row never pressed CTRL+Z, CTRL+X, CTRL+C or CTRL+V in their entire lives.

Makes zero sense ergonomically to put the CTRL key on the home row.

I tried it for about 0.05 seconds and after pressing CTRL+Z one time I knew it was not a good idea for me. pinky finger does not like pressing a key while being on a higher row than another finger also pressing a key. painful.

Re: Vim Foot Pedal

#96
post #81
post #22

I 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.

For Windows 10 people: Microsoft PowerToys has a "remap keys" function within the Keyboard Manager. It's very convenient and easy to use.

I've tried this, it sometimes doesn't seem to intercept the key in time, so funny things happen. Others, the key gets "stuck".

I've tried modifying the Super / Win key. It would often happen that the keyboard would become unusable and behave like if it had the Win key stuck, even though it was remapped to something else.

This actually happened on Windows 11, not 10 (never tried on that). I don't know if it makes a difference.

Re: Vim Foot Pedal

#98
I’m not sure I understand the pedal, according to the wording it sounds like I have to stay pressed to remain in insert mode which sounds way worse.

Personally I have remapped caps to ESC system wide and it’s a pleasure to work with

Re: Vim Foot Pedal

#99
post #97

I've always used Ctrl + C. I thought everyone did the same. Can't even remember where I learnt it from.

I tried doing that for awhile, but I kept hitting `fn` by accident on the Macbook keyboard, since that's the button on the bottom left corner. I probably would have eventually gotten used to it, but I found it easier to just remap caps lock to escape.
Post reply on HN