[TxMt] Re: align code

Graham Heath graham.p.heath at gmail.com
Thu Oct 3 19:43:16 UTC 2013


"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

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


More information about the textmate mailing list