Hacker News new | ask | show | jobs
by ordinary 5324 days ago
In my experience, nothing helps you change a muscle-memory habit as much as instant negative feedback. It doesn't help to remember 2 seconds after you did it, because then you've already told your brain "this works", and you can only go through so many "oh right, I wasn't supposed to do that" moments before you become demotivated.

When I first started using Emacs, I removed the arrow keys from my keyboard to force me to get used to C-(fbnp) and to this day, when I fiddle with my bindings, I still use that technique, though I'm slightly more sophisticated about it now:

  (global-set-key (kbd "C-+") (lambda () (interactive) (message "Use C-x C-+ instead.")))