[ubuntu-uk] Advanced vi/vim command - commenting out a large section

DarkOtter hello at darkotter.com
Wed Aug 20 17:06:46 BST 2008


> >> :set nu
> >> :s50,200/^/#/g
> >
> > Should that not be:-
> > :50,200s/^/#/g

That's what I meant anyway, but I forgot about the set number because I have that
always-on in my vimrc anyway.



More information about the ubuntu-uk mailing list