On Aug 27, 2006, at 9:09 PM, Mietek Bąk wrote:

This can already be accomplished somewhat by creating a snippet bound to '(', etc., containing:

(${1:$TM_SELECTED_TEXT})

Unfortunately, this breaks the other niceties of smart typing, such as the overtyping of the second half of the smart pair, and so isn't really a solution.


I have snippets for {} () '' "" & []
I have them bound to option-<whatever character>. Very handy for quickly surrounding something with both quotes and brackets.
I would've thought i'd forget which one to use when, but i seem to always remember.

thomas Aylott — subtleGradient — CrazyEgg

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to