> >> :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.