Remapped the Caps Lock key on my keyboard to Escape instead of Control, because that’s apparently what you should do. Had to remove the Esc keycap to actually use it. Still pressing the uncapped Escape key, before realising it’s on the home row now.

Follow

It turns out remapping Caps Lock to Esc is apparently not the thing people do anymore. It’s Control again. As always; ignoring trends for long enough will make them go away.

So, I’ll also try remapping Caps Lock to Control, but actually using it this time. Since Control + [ can be used as Escape, that’d result in having Caps Lock as Control, and Caps Lock + [ as Escape.

But wait, there’s more! A third option I’m trying is remapping Caps Lock to Escape when pressed, and to Control when held down. You can set that up on macOS by using Karabiner-Elements (github.com/tekezo/Karabiner-El) and downloading a “complex modification” (pqrs.org/osx/karabiner/complex).

Also: yes, I’ve now removed both the Escape and Control keycaps from my keyboard to get used to this.

Update: now mostly used to using the Caps Lock key for both Escape (press) and Control (hold). Now to unlearn accidentally pressing Caps Lock instead of both Tab and Shift, which is new.

@jkreeftmeijer I like to remap Caps to Escape, and Caps+Other Keys to Control+Other Key. You can have both. :)

@oz That’s a great tip, thanks! Tried that with Karabiner-Elements (github.com/tekezo/Karabiner-El) and a custom modification (pqrs.org/osx/karabiner/complex) last night, and it seems nice so far.

The delay is a little too long for my liking, still, but I only run into that when pressing Caps Lock to exit insert mode, and immediately saving with :w in Vim.

@timriley Great tip, thanks! Hammerspoon looks great, indeed. Any other automation you’re doing I’m missing out on, aside from the Caps Lock trick? :)

@jkreeftmeijer A couple!

I use URLDispatcher to open up certain links in specific browsers (see zzamboni.org/post/my-hammerspo)

And I also use the window layout shortcuts from github.com/jasonrudolph/keyboa, which was great, because I could replace Divvy (which I previously used) with an app whose config I can keep in source control — always a win!

@timriley these look great indeed. I’ve been using Hocus Focus (hocusfoc.us) to hide everything aside from the current window, and use splits in my full screen terminal, so never had much use for Divvy.

Replacing tools like that with scriptable versions sounds great, and I’d love to have them all in one place. Hammerspoon sounds great for that indeed, I’ll be sure to try it out. Thanks!

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!