r a lot (e.g. for replacing
' when refactoring code). Is there an easy way to do something like this:
values = ["a", "b", "c"].
Place cursor on first
r' to change to
values = ['a", "b", "c"].
Now we want to repeat that five times.
For example by pressing
To repeat previous
r command five times for next occurences of
Would this be possible? And if so, how?
I know I can do
<Shift>v:s/"/'/<Enter>. But this seems inefficient.
Please help making my life easier. ;)