[TxMt] Soft tabs / tabs <-> spaces

Andy Armstrong andy at hexten.net
Tue Feb 7 00:08:36 UTC 2006


On 6 Feb 2006, at 22:12, Charilaos Skiadas wrote:
> On Feb 6, 2006, at 3:59 PM, Andy Armstrong wrote:
>
>> Ah. Penny drops! So is there a way to get the tab-key-inserts- 
>> spaces behaviour I'm after?

> Ah, tab key does insert spaces when in soft tabs mode. It is just  
> that textmate will, when navigating with the arrow keys, treat any  
> sequence of "specified number of spaces for tab" spaces as one  
> character. Try leaving 7 characters on a soft-tabs-3spaces setting,  
> and try to use the arrow keys to move past it.


Thanks. A second penny drops :)

(I'd still like to have the 'tab-key-inserts-soft-tabs' behaviour  
without the 'pretending-runs-of-spaces-are-tabs behaviour - I guess / 
that's/ not easy?)

-- 
Andy Armstrong, hexten.net




More information about the textmate mailing list