Re: [dev] [sandy] Undo, redo and repeat

From: Silvan Jegen <s.jegen_AT_gmail.com>
Date: Tue, 15 Jul 2014 18:37:22 +0200

On Tue, Jul 15, 2014 at 06:10:57PM +0200, Markus Teich wrote:
> Carlos Torres wrote:
> > i never got the "." command to do much other than repeat the latest insert or
> > delete...(probably me).
>
> Heyho,
>
> I find it quite handy as an easy way of interactive search and replace. Instead
> of „:%s/bla/blub/gc“ I can just „*“ on the word, „cw“ or „s5“ once and then hit
> „n“ and „.“ to iterate.

I use it in the same way. The functionality is useful if you do not want
to use the macro functionality with 'q' and '_AT_' but still want to repeat
a single, complete command.

For example, pressing "C", replacing the rest of a line with something
else and then do the same by just typing "." on other lines.
Received on Tue Jul 15 2014 - 18:37:22 CEST

This archive was generated by hypermail 2.3.0 : Tue Jul 15 2014 - 18:48:11 CEST