[TxMt] Re: How to break long line of code into multiple lines?
phuibonhoa at gmail.com
Wed Jan 3 10:02:41 UTC 2018
You can record a macro, save it, and assign a keystroke for it. Check out
the record macro feature, very handy for automating things like this!
On Wed, Jan 3, 2018 at 1:55 AM Tuk Bredsdorff <tuk at tiktuk.net> wrote:
> Hi Attila,
> > I usually just find a delimiter (in your case a comma) and replace them
> with a newline regexp (\n).
> > See in the video I’ve quickly put together:
> > There may be quicker methods (that I’m unaware of) but this is
> admittedly far faster than having to manually go through each line.
> I was aware of that possibility but thanks anyway ☺️ .
> It’s just a lot of keypresses to select, bring up the Find dialog, type in
> the two strings and so on. I am looking for a shortcut to that. But for
> many lines it would be worth if of course.
> textmate mailing list
> textmate at lists.macromates.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the textmate