Hacker News new | ask | show | jobs
by angleofrepose 2669 days ago
That's a cool idea with gl and gr. I've never used 0 and $ in vim, D or C get me to the end, and I have what is probably an anti-patter in hitting I<esc> or A<esc> to get to beginning or end otherwise. Or its a change inside quotes or parens or db.

One funny anti-pattern I just noticed I have recently is when editing the last line I've written in notes I'll open a new line with O then immediately exit to normal mode, only to have the next thing I do be to hit i for insert.

I guess my long winded point is that it's easy to have anti-patterns sneak up on you and it's nice to see someone else's re-designed keybindings on a modal style interface to spur reflection on our own setups.

1 comments

I still sometimes have the A<esc> anti-pattern. It's slowly been disappearing since I added gl. The kakoune keybindings were designed with a lot of thought behind them. They seem extremely natural.

Also, I meant to say that the my replacements for 0, $, gg, and G are gh, gl, gk, gj. 'g' for 'go' and 'hjkl' for the standard up, down, left, or right.