So using vim becomes a series of small edits.
I map caps to Ctrl and use Ctrl-[ for escape.
That means I can still use Ctrl for insert mode shortcuts such as
Ctrl-w (delete last word)
Ctrl-r to insert a register (eg Ctrl-r% for filename)
Ctrl-h instead of reaching for backspace.
There’s loads of them.It just takes a bit of muscle memory but if you’re a touch typist it’s well worth it IMHO.
Doing it this way, rather than say ‘jk’ in insert mode, also has the advantage of working in other vim-like programs where you’d have to repeat the mapping. If that’s even possible.
(I use my Caps Lock as Backspace. Backspace near the top right is vastly less comfortable to reach than Escape in the top left.)
People really like the home row but (1) I think it is fine to leave it once in a while and (2) my joints don’t like stay in a very static position for too long in any case.
imap jj <ESC>Problem is, without modes, we lose capability that comes from the fact that modes exist, such as simple characters being compositeable commands;
How should a non-modal editor know whether that [d] I just pressed is me wanting the letter `d` or the delete command? It can't;
Either I have to somehow tell it "the next letter I press is to be interpreted as a command", or "interpret what I press as commands until I say otherwise". The former gets tiresome rather quickly (what if I have to do several commands?), the latter would again be a modal editor.
If you want stay in insert mode most of the time you could use Ctrl-o to switch to command mode for a single command and then be immediately returned to insert mode.
Eg
Ctrl-o de
To delete to the end of the current word.Again, I definitely wouldn't do it that way but vim makes pretty much everything possible.
The remapping was originally for Vim, but now at least a third of my Esc usage is outside of it.
I also have my caps mapped to both ctrl and esc. Ctrl when held, and esc when tapped. Wish I had done that ages ago.
However, for a long time I used Ctrl-c instead of escape, which is 99% the same except in some odd corner cases (not recommending that, just mentioning my history).
These days I use the common vi tweak of 'jk' being mapped to escape.
On other keyboards I find fishing for the Esc key with the left ring or sometimes even middle finger good enough since it's so prominently singled out on the top left corner on all the keyboards I had yet to use, but it breaks the flow a bit more.
It probably helps that I'm not typing in proper form for the 10-finger system but only some hodgepodge approximation of it...
(Also the control key is where the caps lock is. Also another fine position.) :)