Questions tagged [textmate]

A commercial text editor for OS X

TextMate Icon

TextMate is a commercial text editor for Mac OS X. From the TextMate website:

TextMate brings Apple's approach to operating systems into the world of text editors. By bridging UNIX underpinnings and GUI, TextMate cherry-picks the best of both worlds to the benefit of expert scripters and novice users alike.

It features "snippets" (a variation of text completion specifically for code), "bundles" (a package system for themes, syntaxes, etc.), code folding, and other code-specific features.

Resources

204 questions
81
votes
15 answers

Markdown Live Preview Editor?

I am currently using Textmate to create Markdown documents, but it requires me to press CtrlOptionCmd + P everytime I want to 'update' the Markdown output window. Essentially I am using it like a word processor. Is there a Markdown editor for Mac…
Brock Woolf
  • 1,966
27
votes
2 answers

Is it possible to use NOT in a regular expression in TextMate?

I have a Matlab project which I'm working on in the OSX editor TextMate. I need to find all instances of a certain word, let's say it's "foo", that is not either preceded by a "." or succeeded by a "/". However, I cannot find any way to search for…
Nagel
  • 557
19
votes
3 answers

How can I let TextMate show line numbers when I'm coding C++?

How can I let TextMate show line numbers when I'm coding C++?
Don Lun
  • 293
17
votes
2 answers

How do you install & manage TextMate bundles?

In the beginning, there was a canonical SVN repository for TextMate bundles, and the recommended installation unpacked them into a Pristine Bundles folder so that TextMate's bundle manager could save your dirty customizations in a separate Bundles…
Andrew Vit
  • 1,070
16
votes
2 answers

Clickable Links in Textmate?

How can I get a link to be clickable in PlainText in Textmate. Currently it gets underlined, but is not clickable.
14
votes
5 answers

How to open file using TextMate with new tab

Everytime i open a file with text mate and it is by default in new window, is it possible to open in new tab so I don't need to mess with the windows? I am using latest textmate2 downloaded from github.
Yoga
  • 649
14
votes
2 answers

TextMate file type association

I would like TextMate to recognize that RDF files are XML and highlight them as such but I can't seem to find a way to do this through the UI. Is there a way to add file extension/type associations?
Ferruccio
  • 891
14
votes
2 answers

Why TextMate doesn't replace tabs with spaces?

I'm using the Soft Tabs option in TextMate, but my files still contain TAB characters instead of "4-spaces". This is how it works: I open a file, it contains TABs I turn on the Soft Tabs option I save the file. Nothing is changed, the file is…
yegor256
  • 1,731
  • 3
  • 15
  • 14
12
votes
4 answers

How to add TextMate to my PATH on Mac?

When you start using TextMate, you are instructed to create an alias for mate='open -a TextMate.app'. But now I am using another program that requires me to add it to the PATH. I'm not sure how to do it though. Can anyone help?
picardo
  • 2,607
11
votes
2 answers

TextMate - Recover unsaved files

I was stupid and didn't save 2 textmate documents I was working on. Then my computer froze and I had to restart it. Is there any way to get them back? Is there an autosave file somewhere?
10
votes
4 answers

How do I make Vim beautiful (read: Textmate font/color ) on Mac OS X Lion?

I am just starting to make the Textmate to Vim switch. I love it, but it's so ugly. I'm running Mac OS X Lion and needed Ruby support so I am using Vim 7.3 as installed via Homebrew not the Vim Lion ships with. Then I see Corey Haines doing his fast…
10
votes
10 answers

Text Editor that hilights all instances of selection for Mac

On Windows, I use Notepad++ which has the great feature of when I select a word, all instances of that word are also highlighted in the same document. I have found it very helpful for finding patterns in giant log files. I am wondering if there is…
jedierikb
  • 539
9
votes
2 answers

Textmate add multiline text at end of line

In Textmate, I am able to add text to several lines at once by clicking and holding the Option key and dragging with the mouse. say I have the following lines: foo 1: foo 2: foo 3: I can easily click and hold option and then drag down with the…
Yuval
  • 2,298
9
votes
3 answers

How to I use Textmate color themes with vim?

I have a textmate color theme I really like this, But I am a hardcore vim user. Is there an easy (painless) way for me to use this color scheme with vim?
machinaut
  • 193
8
votes
3 answers

Is there a way to line wrap selected text in TextMate?

I sometimes write long comments in my code. I hate manually wrapping them after 80 characters, and rewrapping them if I edit the comment. Is there a way (or a bundle) that will apply an 80 character line wrap to some selected text?
Matt
  • 193
1
2 3
13 14