/ Published in: Groovy
URL: www.wysmedia.com
how to "beautify" or tidying your code using vim ?
Expand |
Embed | Plain Text
after that ESC gg = SHIFT-G means: 1. ESC --> back to mode 2. gg --> go to first line 3. = --> indenting 4. SHIFT G --> to end of file. for spesific lines ESC SHIFT V (select the lines) press = SHIFT V = enter visual mode then you can select which lines you want to format after that pressing = will format the code
You need to login to post a comment.
