grab the "Align" bundle, then cntrl-cmd-9

On 3 Oct 2013, at 20:54, Ross Ahmed <rossahmed@googlemail.com> wrote:

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@gmail.com>
Reply-To: TextMate users <textmate@lists.macromates.com>
Date: Thursday, 3 October 2013 20:43
To: TextMate users <textmate@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


On Oct 3, 2013, at 11:19 AM, Ross Ahmed <rossahmed@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@lists.macromates.com
http://lists.macromates.com/listinfo/textmate

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

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