In GUI style editors, you can generally select multiple lines, press tab a few times to move all the lines across (or shift-tab to go back). I have no idea how to do this in VIM.

I googled around and couldn't find any straight answer to I came here.

link|improve this question

feedback

2 Answers

up vote 5 down vote accepted

Use >> to indent, << to unindent. So you could go to the first line and press 5>> to indent the following five lines. Or use V and select lines in visual mode, then > to indent them.

link|improve this answer
feedback

Here is some useful information about using vim, too.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.