/ Published in: Groovy
how to "beautify" or tidying your code using vim ?
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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
URL: www.wysmedia.com