Posted By

alemani on 02/21/10


Tagged

vim easy indenting


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

bjarniolsen


indenting easy on Vim


 / Published in: Other
 

  1. /* to indent completely a file */
  2.  
  3. gg=G
  4.  
  5. /* to indent a section */
  6.  
  7. V<motion>=
  8.  
  9. /* indent a line */
  10.  
  11. =
  12.  
  13. /* of course you can use */
  14.  
  15. <
  16. >
  17.  
  18. /* to indent lines or chunks of code */

Report this snippet  

You need to login to post a comment.