Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Code Formatting
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
grayghostvisuals  
View profile  
 More options Apr 5 2012, 5:07 pm
From: grayghostvisuals <grayghostvisu...@gmail.com>
Date: Thu, 5 Apr 2012 14:07:55 -0700 (PDT)
Local: Thurs, Apr 5 2012 5:07 pm
Subject: Code Formatting
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 :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Niels Kobschätzki  
View profile  
 More options Apr 6 2012, 3:31 am
From: Niels Kobschätzki <ni...@kobschaetzki.de>
Date: Fri, 6 Apr 2012 09:31:56 +0200
Local: Fri, Apr 6 2012 3:31 am
Subject: 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 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

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...

"G=" might work as well

Niels


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »