[TxMt] Re: align code

Ross Ahmed rossahmed at googlemail.com
Thu Oct 3 19:54:50 UTC 2013


Graham

Thanks for response. If I select the code I posted below and press ⌥⌘] the
code barely moves, it remains virtually as posted below.

Ross

From:  Graham Heath <graham.p.heath at gmail.com>
Reply-To:  TextMate users <textmate at lists.macromates.com>
Date:  Thursday, 3 October 2013 20:43
To:  TextMate users <textmate at lists.macromates.com>
Subject:  [TxMt] Re: align code

"Align Assignments" is option command right bracket: ⌥⌘]

Quick tip, you can search all bundles with command option T:  ⌥⌘T

Graham Heath
graham.p.heath at gmail.com




On Oct 3, 2013, at 11:19 AM, Ross Ahmed <rossahmed at googlemail.com> wrote:

> I am using TextMate to write some R code. At the moment, I have R code that
> looks like this:
> 
> foofoofoofoofoofoo <- NULL
> foofoofoofoo <- NULL
> foofoofoofoofoo <- NULL
> foofoofoo <- NULL
> foofoofoofoofoofoofoofoofoofoo <- NULL
> 
> 
> 
> Is there a way to automate aligning all <- within a block of code, like this:
> 
> foofoofoofoofoofoo        <- NULL
> foofoofoofoo        <- NULL
> Foofoofoofoofoo               <- NULL
> foofoofoo                          <- NULL
> foofoofoofoofoofoofoofoofoofoo <- NULL
> 
> 
> 
> Many thanks
> Ross
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

_______________________________________________ textmate mailing list
textmate at lists.macromates.com http://lists.macromates.com/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20131003/a8897588/attachment.html>


More information about the textmate mailing list