Replace comma with tab in Textmate

6.4k Views Asked by At

Is there a simple way to replace commas with tabs in Textmate, hopefully using the Edit > Find (command F) function?

I've tried /t and '/t' and haven't been able to find documentation about the correct syntax. Also, trying to avoid writing a Ruby script to do it, if possible.

2

There are 2 best solutions below

1
On BEST ANSWER

If you need to insert a newline or tab character into either of the text fields, you can hold down option (⌥) while pressing the tab (⇥) or return (↩) key. This will insert a literal tab or newline character.

0
On

Try pressing alt+tab in the replace field or just copy paste tab character there.