[TxMt] Force left margin in a snippet
Allan Odgaard
throw-away-1 at macromates.com
Wed Jun 7 20:35:32 UTC 2006
On 6/6/2006, at 22:55, Marcus S. Zarra wrote:
> Is there a way to set up a snippet so that some of the lines are
> flush at the left margin and others are at the correct tab stops?
>
> For instance, I like to have #ifdef at the left margin instead of
> tabbed in, any way to set this up in a snippet?
Do you mean disable the auto-indent of the entire snippet? If so,
yes, but the way to do it is by editing the snippet’s plist on disk.
You need to add a key/value pair like this:
<key>disableAutoIndent</key>
<true/>
Add this as child of the first <dict>…</dict>
More information about the textmate
mailing list