6 ms·
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 d
by TheLocehiliosan 4y ago
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.
- gwn7 4y agoAgreed. 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.
- Beltalowda 4y ago> 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.
- kfajdsl 4y agoEmacs pinky isn't really a problem if you don't use Emacs keybindings ;)
- cbm-vic-20 4y agoThat, and "inoremap jk <Esc>".
- hoosieree 4y agoBetter is "inoremap fd <Esc>" especially if you ever try to type Dijkstra or the alphabet. Of course now you have to call your file descriptor something else. No free lunches.
- I_complete_me 4y agoFor some unremembered reason I changed from that to set <esc>=jk. No idea why but it also works.
- galangalalgol 4y agoMy personal heresy is: ino jj <esc> I like it because my fingers never leave the home row.
- gwn7 4y ago> 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. Haha yeah I've heard about that and I like the joke =) But I was never interested in adopting it. Because I configure my alt keys to act as ctrl keys which imo results in a much more ergonomic setup. Ctrl is the most pressed control key for people like me who live in the terminal. But the default placement of the ctrl keys in modern layouts is so wrong. I have never understood it. I guess there has to be a historical reason but I've yet to find out. (Help me, greybeards) I should't have to move my hand and strain my pinky to reach out the most pressed control keys. With alt it's so much easier. I don't have to move my hands nor use my pinkies. My thumbs already rest on the spacebar and I just have to make a little thumb movement. Swapping ctrl with caps lock is an ok remedy but alt keys are in a much better place. So ctrl goes where alt is by default. But do I swap ctrl with alt? No!! Alt is a frequently used key as well so the default ctrl keys aren't a good fit for alt either. Instead I set the keys immediately adjacent to the default alt keys to act as alt. It's the Super key (sometimes referred as the "Windows" key) on the left side and the context menu key on the right. Lastly, I set the default left ctrl key to act as Super and the right ctrl key to act as context. Because I virtually never use those. (I think Apple got this mostly right. cmd is the most used control key for the average Apple user, and opt is next. Their placements are perfect. Though it's still problematic for developers as ctrl is again at the worst place possible. Because of that, what I do in Macs is swapping ctrl with cmd while leaving opt where they are.) If I'm an infidel for doing this so be it. But with this setup, I'm extremely efficient one. I type and code and enter & exit from repls and jump between interfaces like a damn machine, impressing mostly everybody who watch me use my computer. Ergonomics FTW
- polyamid23 4y ago> Ctrl is the most pressed control key for people like me who live in the terminal. But the default placement of the ctrl keys in modern layouts is so wrong. I have never understood it. I guess there has to be a historical reason but I've yet to find out. (Help me, greybeards) I've seen this talk here and the speaker mentioned the ADM-3A (that is also mentioned in the article itself) terminals at about the 17/18 minute mark. Mind the keyboard layout :) https://jackrusher.com/strange-loop-2022/ https://jackrusher.com/strange-loop-2022/ https://en.m.wikipedia.org/wiki/ADM-3A https://en.m.wikipedia.org/wiki/ADM-3A
- darken 4y agoWhy not have the best of both worlds? Both my Ubuntu and OSX machines are setup so that just pressing Caps Lock alone = escape, and holding Caps Lock = control. For the curious, to do this in OSX I use Karabiner + a "complex modification" (i.e. import a small JSON config). And for Ubuntu I use a few 'xcape' commands that autorun on startup.
- LAC-Tech 4y agoI think a lot of keyboard ergonomics comes down to the facts that some people do anything to avoid moving their hands, and others don't. If you don't move your hand, you'll have to stretch your fingers, and might be better suited to a minimalist keyboard with function layers.
- atrettel 4y agoI 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.
- cristoperb 4y agoCtrl-[ is so ingrained in my muscle memory that even when I finally mapped capslock to esc I still never use it.
- godelski 4y agoI mean your fingers are already there and you're frequently hitting ctrl and hard brackets if you're programming. Just makes sense. <C-[> is the way to go. So many people customize vim in ways where native functionality is easier.
- kdtsh 4y agoI 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.
- pengaru 4y agoFor ages I lived with X40 and X60 form-factor ThinkPads, which have perfectly sized keyboards for my hands. The ESC key is easily accessed on these for me without leaving home row placement, palms comfortably planted. Every ThinkPad I've had since then has been a regression in this department, beginning with the X201s and now I'm on an X230 and my typing is awful compared to the 4:3 X-series glory days. Reaching for the ESC key is noticably annoying compared to what I know so well to be the ideal. Why Lenovo kept stretching the keyboard to accommodate their widescreen transition instead of relocating better speakers to the keyboard flanks is beyond me. But having suffered through this mess I fully understand why vi(m) users remap ESC to CAPS or pursue other mitigations. ESC key access is highly sensitive to keyboard-size:hand-size, and I suspect for many it's just inconveniently distant like my X230 is for me.
- agrippanux 4y agoIt wasn’t that easy on the ill fated Touch Bar, which prompted my move to Caps.
- the_third_wave 4y agoYou're not alone, it is one of the easiest keys to hit since it lies all by its own in a corner with no danger of hitting any other keys when whacking it with whatever finger - or combination thereof - is at hand. To be honest I had to guffaw a bit at the rationalisation for using a foot pedal: The basic concept was to use a pedal to enable switching between normal and insert modes. In Vim’s predecessor, vi, switching modes was easy, with the ESC key located neatly by the Q on the keyboard of the ADM-3A terminal. On modern keyboards, though, it’s a pain, and so a foot pedal is a desirable solution. So let me get this straight... it is easier to blindly grope for a foot pedal somewhere under a desk than it is to hit that very visible, very close-at-hand key on the keyboard with whatever appendage happens to be closest? Of course it isn't, this is just rationalisation for making that foot pedal - as if any reason is needed to indulge in such projects other than 'because I (want to find out if I) can'.
- roblh 4y agoIt’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.
- chrismorgan 4y agoYeah, 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.)
- junon 4y agoI've literally never thought of using it for that. I don't think I'll switch but wish I also had the idea several years ago. Smart!
- asicsp 4y agoI have long fingers and like using Esc and Functions keys (custom mapped).