News for hackers. Stuff that matters.
Re:Ask HN: What Vim habits did you need to unlearn? by qup on Wednesday December 18, 2024 @10:00AM (#42450946)
I press ESC twice instead of once every time I want to get out of insert mode.

And the real problem is I have a binding to do ESC with 'jk' instead, but I always forget to use that one.

Re:Ask HN: What Vim habits did you need to unlearn? by djaouen on Wednesday December 18, 2024 @12:19PM (#42452506)
> And the real problem is I have a binding to do ESC with 'jk' instead, but I always forget to use that one.

I can remember to use `jk`, but I can never remember to use `.` for repeating the last edit. :(

Re:Ask HN: What Vim habits did you need to unlearn? by qup on Wednesday December 18, 2024 @01:09PM (#42453134)
most people do `jj`, i thought i was the outlier.

I use '.' a lot, but not nearly as often as I could if I planned my edits a little better.

Re:Ask HN: What Vim habits did you need to unlearn? by djaouen on Wednesday December 18, 2024 @01:20PM (#42453240)
I picked up both habits at my first job in the industry. That was over 12 years ago now!