[TxMt] Smart Home/End

Allan Odgaard throw-away-1 at macromates.com
Mon Oct 31 10:17:47 UTC 2005

On 31/10/2005, at 10.59, Frédérik Bilhaut wrote:

> I was wondering if TextMate has the feature often called "smart  
> home/end" in other editors ? [...]

It doesn't, but you could record a macro which does:

  1) move to beginning of line (ctrl A)
  2) regexp search for: (?=\S|$)

And bind that to the home key. For smart end you'd search for: (?=\s*$)

More information about the textmate mailing list