vim question

Rafael Garcia-Suarez rgarciasuarez at gmail.com
Thu Mar 27 14:11:07 GMT 2008


On 27/03/2008, Abigail <abigail at abigail.be> wrote:
> Since all but two ':'s have to be changed, I would use:
>
>   2G:s/:/ /g<CR>0f r:;.
>
>  That requires the least thinking for me. And uses only commands that are
>  there in 'vi' as well.

Is there anything like 'vi golf' ?

:2s/:/ /g<CR>0f r:;.

(one less keystroke)


More information about the london.pm mailing list