[TxMt] Force Tabs with snippets
Helmut Granda
contact at helmutgranda.com
Fri Jun 1 17:30:09 UTC 2007
Out of curiosity, is it possible to move text to a certain column? I noticed
that I can get the information for the column where the caret is located at,
but not sure if we can send text to a certain column...
On 6/1/07, Helmut Granda <contact at helmutgranda.com> wrote:
>
> 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/43ffc38a/attachment.html>
More information about the textmate
mailing list