[TxMt] Re: How to break long line of code into multiple lines?

Philippe Huibonhoa 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:
> https://v.usetapes.com/ZFDCAjpx2i
> >
> > 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.
> Cheers,
> Tuk
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20180103/3de73950/attachment.html>

More information about the textmate mailing list