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

I used to map like this, but then I found ; is to repeat f{char}. How do you repeat f command? Map it to another key? Use / instead?


The answer is I don't. I make heavy use of /, but for navigating within a line I make do with *#^$w.

It's kind of cool how you can get two Vim power users (not a group I count myself among, mind) in a room together and find they use a completely different subset of features.


    nnoremap ; :
    nnoremap : ;
Allows me to use : for repeating.


You could instead use F{char},, and then keep hitting , ;)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: