Hi all,
I was wondering if TextMate has the feature often called "smart home/ end" in other editors ? When enabled, smart home makes the cursor go before the first non-whitespace character of the line, and similarly for "smart end". I assume TM has this, but I can't figure out how to enable it...
Thanks a lot, -- Frédérik Bilhaut GREYC - Université de Caen Campus II - Sciences 3 - Bureau 385 http://www.info.unicaen.fr/~fbilhaut
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*$)