<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); 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></body></html>