<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">grab the "Align" bundle, then cntrl-cmd-9<div><br><div><div>On 3 Oct 2013, at 20:54, Ross Ahmed <<a href="mailto:rossahmed@googlemail.com">rossahmed@googlemail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div>Graham</div><div><br></div><div>Thanks for response. If I select the code I posted below and press ⌥⌘] the code barely moves, it remains virtually as posted below.</div><div><br></div><div>Ross</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family: Calibri; font-size: 11pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223); "><span style="font-weight:bold">From: </span> Graham Heath <<a href="mailto:graham.p.heath@gmail.com">graham.p.heath@gmail.com</a>><br><span style="font-weight:bold">Reply-To: </span> TextMate users <<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a>><br><span style="font-weight:bold">Date: </span> Thursday, 3 October 2013 20:43<br><span style="font-weight:bold">To: </span> TextMate users <<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a>><br><span style="font-weight:bold">Subject: </span> [TxMt] Re: align code<br></div><div><br></div><div><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">"Align Assignments" is option command right bracket: ⌥⌘]<div><br></div><div>Quick tip, you can search all bundles with command option T: ⌥⌘T<br><div><br></div><div apple-content-edited="true"><div>Graham Heath</div><div><a href="mailto:graham.p.heath@gmail.com">graham.p.heath@gmail.com</a></div><div><br></div><div><br></div><br class="Apple-interchange-newline"></div><br><div><div>On Oct 3, 2013, at 11:19 AM, Ross Ahmed <<a href="mailto:rossahmed@googlemail.com">rossahmed@googlemail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div>I am using TextMate to write some R code. At the moment, I have R code that looks like this:</div><div><br></div><div><div>foofoofoofoofoofoo <- NULL</div><div>foofoofoofoo <- NULL</div><div>foofoofoofoofoo <- NULL </div><div>foofoofoo <- NULL</div><div>foofoofoofoofoofoofoofoofoofoo <- NULL</div><div><br></div><div><br></div><div><br></div><div>Is there a way to automate aligning all <- within a block of code, like this:</div><div><br></div><div>foofoofoofoofoofoo <span class="Apple-tab-span" style="white-space:pre"> </span> <span class="Apple-tab-span" style="white-space:pre"> </span> <- NULL</div><div>foofoofoofoo <span class="Apple-tab-span" style="white-space:pre"> </span> <span class="Apple-tab-span" style="white-space:pre"> </span> <span class="Apple-tab-span" style="white-space:pre"> </span> <- NULL</div><div>Foofoofoofoofoo <span class="Apple-tab-span" style="white-space:pre"> </span> <span class="Apple-tab-span" style="white-space:pre"> </span> <- NULL </div><div>foofoofoo <span class="Apple-tab-span" style="white-space:pre"> </span> <span class="Apple-tab-span" style="white-space:pre"> </span> <- NULL</div><div>foofoofoofoofoofoofoofoofoofoo <- NULL</div></div><div><br></div><div><br></div><br><div>Many thanks</div><div>Ross</div></div><br>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br><a href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a></blockquote></div><br></div></div></div>
_______________________________________________
textmate mailing list
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a>
<a href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a></span></div>
<br>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>http://lists.macromates.com/listinfo/textmate</blockquote></div><br></div></body></html>