Re: Code Formatting
- On Thursday, 5. April 2012 at 23:07, grayghostvisuals wrote:New to MacVim and looking to format code similar to to other codeeditors such as e for windows, Komodo, Dreamweaver etc.I would like to open an HTML file for example, and indent the entiredocument if I desire or individual lines in order to clean up messycodeTry: :set filetype=html (if not recognized)Then highlight your text and hit "=" (w/out ") -- via http://stackoverflow.com/questions/459478/correct-indentation-of-html-and-php-using-vim"G=" might work as wellNiels--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php