[TxMt] CTRL-k behaviour

Carl Forde cforde at telus.net
Sat Nov 6 21:56:31 UTC 2004


 >Date: Fri, 5 Nov 2004 18:20:01 -0700
 >From: Curtis Schofield <schofiel at telusplanet.net>
 >
 >I'm trying to get used to the automatic () {} behaviour.. sometimes i
 >wrap
 >if/parameterlists around existing code and i get  an automatic } or )
 >when i don't
 >expect.

What I do it select the text I want to enclose and then press the '(' 
or '{' and it's done. It's kinda scary the first time, 'cause you'd 
expect the selected text to be replaced by the character you typed. 
But the second time will bring a smile to your face.

eg. type 'if' hold the shift key down, press the arrow key to move the 
cursor to where you want it, press the '(' and so on...

Carl



More information about the textmate mailing list