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

Repeats the same command previously run. So if you used 'ci"' for (change text in quotes) and entered a new string, you can jump to a new line and hit . to replay your last series of commands.


I only ever made it to running searches within vim with forward slash, but thanks this is useful to know. I love only using the keyboard but can never easily internalize all the useful macros that can be used.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: