repeat substitute command
You can repeat the last substitute command with &
.
If you just ran :s/one/two/
, pressing &
will execute :s/one/two/
again.
Alternatively, you can also run :s
to repeat the last substitute command.
You can repeat the last substitute command with &
.
If you just ran :s/one/two/
, pressing &
will execute :s/one/two/
again.
Alternatively, you can also run :s
to repeat the last substitute command.