This is very useful when setting indent of your code
if condition1
if condition2
# some commands here
endif
endif
move your cursor to the 2nd line, then >>
, the code will indent to right.
Now you can repeat your action by continue to 3rd line, then hit .
twice, the result will be
if condition1
if condition2
# some commands here
endif
endif