Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> expanding "t" to "the" seems like a no-brainer, just like "st" to "something"

I have jk mapped to escape in vim, and for a key combo that seems like it should never occur naturally, I’m often surprised how often it misfires when I actually need to type “jk”.

Globally remapping hundreds of things like “t” and “st” would actually be quite frustrating I think.

Like imagine you’re emailing your friend about a trip to st petersburg, or about some code containing the variable t, etc.



>I have jk mapped to escape in vim, and for a key combo that seems like it should never occur naturally, I’m often surprised how often it misfires when I actually need to type “jk”.

I saw that great recommendation somewhere so immediately set that up in vim. But those are my initials, and usually the beginning of my username... So took that out real quick.

-jk


Try mapping both jk and kj to Escape, then set 'timeout' really low in insert mode so you have to press the keys simultaneously.


You gotta try “fd”




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: