Hacker News new | comments | show | ask | jobs | submit login

Unmap your escape key, that will force the habit. I did this when I moved my control and meta keys to the left thumb of my kinesis keyboard, and it helped train me not to hit the old keys.

I've tried this in the past but it made both escape and ctrl+[ no longer function. What worked for you?

Under OSX I used a tool called KeyRemap4MacBook which adds an item to the control panel that lets you reconfigure keys. I just tested it, you can can disable the escape key, but Ctrl-[ still works like you'd expect.

imap jk <Esc>

Hitting jk in insert mode for escape is wonderful.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact