Earlier quoted context omitted.
For vim either map a key sequence "jj" or "fd" to esc or remap caps lock to esc. Many vim users do that anyway for the convenience. Not sure about emacs (I use spacemacs). Does esc come in for more than just cancelling commands? If you don't need to use your caps lock for ctrl for emacs, the same remap to esc would work as well. Anyway, basically boils down to two things: 1) the touch bar escape is fine for occasiona…
Emacs user here, I think I never use escape; I use C-g to cancel a command.
evil-escape module for evil mode adds the 'fd' functionality discussed here.