[TxMt] Surround with

Nik Derewianka nikstar at gmail.com
Tue Jan 17 07:10:50 UTC 2006

Hi all,

Been lurking for a bit and have finally come upon a situation where i
need some of TM's more advanced features, if anyone can offer some
pointers on the following - it would be greatly appreciated.

I need to:

surround a selection with some additional text  ie   1,2 becomes [1,2]
after selecting the 1,2

on the line with the carat, trim any excess spaces from the end of the line

Any pointers appreciated,

More information about the textmate mailing list