Following https://stackoverflow.com/questions/127591/using-caps-lock-as-esc-in-mac-os-x I remapped caps lock (51) to esc (53).
I think it was actually esc + :
(: is shift-; on qwerty but shift-p on colemak)
As a vim user,
I always hit caps lock to exit insert or append mode.
Save was caps lock w return
I would like to send fd to exit from append or insert mode in evil-spacemacs.
Can you tell me what to stick in .spacemacs user-config or in a private layer.el to make this happen?
linked question - Recreating .vimrc in spacemacs more Vim Emulation Why isn't there a nice webpage explaining how to rebind evil for all the vim to spacemacs migratory birds?
w' then invoke
evil-normal-state'. Else (save file)" (interactive) (let ((ch (read-char-exclusive))) (if (eq ?w ch) (message "file saved to %s") ;; (evil-normal-state) (insert "j" (string ch))))) (global-set-key "<caps lock>" 'my-capslock)