4 ms·
I'm yet to see a serious VIM user who didn't remap ESC to caps lock yet. Regardless of keyboard configuration.
by mantas 8y ago
I'm yet to see a serious VIM user who didn't remap ESC to caps lock yet. Regardless of keyboard configuration.
- publicfig 8y agoI can't do that because I've already mapped Caps Lock to Ctrl... Also being a heavy Tmux user, it seemed more useful at the time.
- evgen 8y agoGet Karabiner-Elements and you can map press-and-hold on caps lock to control and press-and-release on caps lock to esc. Massive win for emacs users and most vim users I have introduced it to seem to like it.
- publicfig 8y agoOoo, interesting! I'll definitely look into that when I go into one of my next "optimize my workflow as a form of procrastination" mindsets I tend to end up in
- xoa 8y agoControllerMate is another really powerful tool, though not just for keyboards but for USB devices in general. Interface is a bit funky but it's really worth checking out, not just mapping but conditional reactions, timing, scripting, for any key or arbitrary combinations of keys or non-keyboard devices (I made a DS4 work with a Mac at launch except for the touchpad part of it for example).
- TomVDB 8y agoYou must found one. I used caps lock all the time for its intended function (shocking!), so remapping it is just not an option.
- publicfig 8y agoWhile I haven't remapped it for Esc (I have for Ctrl), you can reassign both keys. It took about a week to get used to it, but now my Control key acts as caps lock and honestly it works like it was designed to work that way. No more accidental hitting of caps lock with my pinky, and no weird gestures to hit a key I use all the time. Not saying your method is by any means worse or wrong, just thought it'd be worth pointing out!
- robin_reala 8y agoCOBOL developer?
- TomVDB 8y agoIBM Selectrix typewriter trainee. It’s just how we learned to speed type in high school. :-)
- PeterisP 8y agoThis is interesting - what are the typical use cases where you need to write more than 2-4 letters (e.g. "FBI" or "NASA" or something like that) in all caps ? It seems like quite unusual domain of writing - is it legal documents or something like that?
- TomVDB 8y agoThe hardware registers in our designs are all defined and used in upper case. The file names in our code base have a lot of upper case in them as well. But the real reason is tbat I learned speed typing in high school on an IBM Selectrix typewriter. I use CAPS LOCK even for FBI and NASA. It comes totally natural to me.
- LolWolf 8y agoAlso, if you ever use SQL with the all-caps convention for commands; my right pinky hurts thinking about using shift for all of this.
- diab0lic 8y agoHHKB users probably haven't as that key is Ctrl on their keyboard.
- fernandotakai 8y agobeen using vim for almost 10 years now, never remapped esc to caps, because remapping caps to control is a lot more comfortable for me. i could do the tap -> esc, hold -> control, but every solution i tried has some delay that makes it super uncomfortable.
- deleted 8y ago[deleted]
- arnarbi 8y agoTry getting in the habit of typing escape with Ctrl-[
- jasonlotito 8y agoYou don't know many serious vim users. I remapped Caps Lock to control years ago (primarily for the tmux prefix ctrl+a), and escape is remapped to jj. So easy. Besides, my understanding was that Escape wasn't an option on Mac until a couple years ago.
- kps 8y ago> Besides, my understanding was that Escape wasn't an option on Mac until a couple years ago. Indeed, Mac keyboards didn't originally have Escape or Control keys; they weren't added until 1987.