As a user of the standard QWERTY layout, I’ve never had a problem with the placement of the caps-lock key. And as a programmer, I wouldn’t want to disable it. I use it quite a lot.
As a Vim user, I did try swapping the functionality of my caps lock and escape keys, to see if it was useful. It definitely made it easier to switch to Normal mode. But whenever I wanted to use caps-lock, my hands still needed to leave the home row to reach for the escape key. And when I was done using caps-lock, I had to reach for escape again. Which I found disruptive to my flow. So I’d effectively swapped one problem for another.
In the end, I remapped the keys back to their original functionality and set up keybinds for insert mode and command mode, to map
Sure it means two keystrokes, but as it’s on home row, double tapping the
When editing text
1. The
2. No English words contain
3. When programming, variable names should be descriptive. Using non-descriptive variable names like
With this solution I have everything I need on the home row. If I want to use caps lock, I move my left pinky. If I want to switch modes, it’s right there under my right index finger. Now my hands almost never need to leave the home row.
Other people’s mileage may vary. But it works perfectly for me.
The only downside is, I’ve got so used to using
As a Vim user, I did try swapping the functionality of my caps lock and escape keys, to see if it was useful. It definitely made it easier to switch to Normal mode. But whenever I wanted to use caps-lock, my hands still needed to leave the home row to reach for the escape key. And when I was done using caps-lock, I had to reach for escape again. Which I found disruptive to my flow. So I’d effectively swapped one problem for another.
In the end, I remapped the keys back to their original functionality and set up keybinds for insert mode and command mode, to map
jj
to <escape>
, allowing me to double tap the j
key whilst editing text, or typing a command, in order to switch back to normal mode.Sure it means two keystrokes, but as it’s on home row, double tapping the
j
is no hardship. It means my hands never need to leave the home row.When editing text
jj
seemed like the most logical choice to me.1. The
j
key is on the home row2. No English words contain
jj
- at least none that I’m aware of.3. When programming, variable names should be descriptive. Using non-descriptive variable names like
jj
should be discouraged. So these keybinds enforce that….. At least for jj
. Ha ha!With this solution I have everything I need on the home row. If I want to use caps lock, I move my left pinky. If I want to switch modes, it’s right there under my right index finger. Now my hands almost never need to leave the home row.
Other people’s mileage may vary. But it works perfectly for me.
The only downside is, I’ve got so used to using
jj
to switch modes in Vim, I find myself hitting jj
in other non-vim editors and in edit boxes on online forms/websites. Ha ha!