3 ms·
I've got that cheat sheet saved on my computer and I've looked at it several times before, but today was the first time I realized that you can hit '&' to repea
by chewbranca 17y ago
I've got that cheat sheet saved on my computer and I've looked at it several times before, but today was the first time I realized that you can hit '&' to repeat the last :s command on the current line. Very slick!!
- joshuaxls 17y agoYep, and 'g&' is really helpful. It runs the last substitute across the entire file, preserving flags.