vi indent multiple lines
use the shift operator: >>
enter the following to shift (right) the next 10 lines by the set shiftwidth:
you can set the shiftwidth to 2 spaces like this:
enter the following to shift (right) the next 10 lines by the set shiftwidth:
:10>>
you can set the shiftwidth to 2 spaces like this:
:set sw=2
0 Comments:
Post a Comment
<< Home