I’ve never really understood why caps lock gets a huge key in the middle of the keyboard, while control gets a regular-sized key at the bottom. Generally speaking, caps lock is used much less than control.
I’ve never really understood why caps lock gets a huge key in the middle of the keyboard, while control gets a regular-sized key at the bottom. Generally speaking, caps lock is used much less than control.
At work (MacBook Pro), things get a little hinkier:
- I map capslock to command
- in iTerm2 only, I swap command and control.
This means I can use the honking big key to the left for my cutting/pasting/window-switching needs when not in the terminal, and still use my muscle memory for Vim and the command line when I am in the terminal.
The (not insignificant) downside is having to remember to use the physical control key (rather than capslock or physical command) for copying/pasting/window-switching when in the terminal: but I can live with that.
I also had to disable iTerm2's default command-W shortcut for closing tabs, as I kept hitting it by accident when trying to ^W on the command-line.
Separate but still (just) related point: I've had to train myself to use ^[ for Escape in the terminal (especially in Vim), as the escape key on the MacBook Pro's touchbar is next to useless. I guess could have just mapped capslock to Escape, but having that big fat control/command key is just too useful.
If strain wasn’t an issue, Esc would be my next choice.
For those that don't know, there are a handful of control key sequences that perform basic cursor movements that are the same in Emacs, bash, zsh, and every text pane in Mac apps. Using caps lock as a control key makes this very pleasant.
I am unlikely to give up this habit since I despise moving my hands from the home row to use arrow keys -- for me, this is the main pain point when switching between Windows and Mac several times per day.
TouchCursor sometimes is deactive and then after a few seconds again it works again...
I mean, you can press alt+tab quickly. But I like the simplicity of one button.