Groups
Groups
Sign in
Groups
Groups
vim_mac
Conversations
About
Send feedback
Help
Code Formatting
35 views
Skip to first unread message
grayghostvisuals
unread,
Apr 5, 2012, 5:07:55 PM
4/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_mac
New to MacVim and looking to format code similar to to other code
editors such as e for windows, Komodo, Dreamweaver etc.
I would like to open an HTML file for example, and indent the entire
document if I desire or individual lines in order to clean up messy
code
Thanks :)
Niels Kobschätzki
unread,
Apr 6, 2012, 3:31:56 AM
4/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
Try: :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 well
Niels
Reply all
Reply to author
Forward
0 new messages