[TxMt] Force Tabs with snippets
Helmut Granda
contact at helmutgranda.com
Fri Jun 1 16:43:37 UTC 2007
Wow, this really doesnt make sense to me... time to hit the docs.
Thanks!
On 6/1/07, Allan Odgaard <throw-away-1 at macromates.com> wrote:
>
> On 1. Jun 2007, at 18:11, Helmut Granda wrote:
>
> > hummm... thanks for the recommendation, I'll try to figure out how
> > to do it with a command.
>
> A simple one would be:
>
> unexpand -t $TM_TAB_SIZE <<'SNIPPET'
> «your snippet»
> SNIPPET
>
> In «your snippet» you would use spaces instead of tabs and only start
> columns at offsets dividable by 24, that would then convert properly
> to tab sizes 2, 3, 4, 6, 8, 12, and 24.
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070601/cfb92d95/attachment.html>
More information about the textmate
mailing list