2013年12月16日 星期一

[VIM] How to indent the code


[VIM] How to indent the code



1. If you want to indent all function.

Move mouse to { , then press ( >% )



2. If you want to indent all function to right 10 times



Select the code which you want to indent.



Then press 10>> , the code which you selected will move to right 10 times.



Reference:


Related Posts:

0 意見:

張貼留言