VIM add white spaces

Hello,

How do I adda two whitespaces at the begining of each lines between line 12 and line 90;

something like :12,90 ???

Thanks!

:12,90s/^/  /

Very nice !
thank you very much

one more way:

the :12,90 s/^/ / is used in command mode.

if you want to achieve this in escape mode. see the following steps.

  1. place your cursor in 12th line.
  2. in escape mode press Ctrl + v then press key "j" up to 90th line .
  3. press "I" then give two space then press escape.