A commercial text editor for OS X

learn more… | top users | synonyms

59
votes
12answers
19k views

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 ...
13
votes
2answers
10k views

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++?
13
votes
2answers
8k views

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 ...
8
votes
4answers
5k views

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?
8
votes
4answers
7k views

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 ...
8
votes
2answers
3k views

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?
7
votes
3answers
13k views

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 ...
6
votes
1answer
3k views

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 ...
6
votes
3answers
1k views

Textmate not opening at all on Mac OS X

This is a very simple and strange error - TextMate is not opening at all. I have a license fully paid for, I checked my Mac OS X activity monitor and there is no TextMate process running. Is there a ...
6
votes
3answers
1k views

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.
6
votes
2answers
343 views

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 ...
6
votes
7answers
2k views

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 ...
5
votes
2answers
1k views

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 ...
5
votes
1answer
2k views

Textmate: How to export Themes?

I created a new theme in textmate in preferences->fonts & colors, and I would like to share it with my friend. But I don't know how to export it. It would be logical to save my theme ...
4
votes
2answers
2k views

TextMate creates temporary files, and doesn't delete them!

I'm using TextMate and each time I edit a file, a copy like ._*file* is created. This is driving my crazy and last time it create a serious problem on some app I'm using which believe it that file ...
4
votes
2answers
1k views

how to insert the date and time with a shortcut in textmate?

I would like to insert the current date and time pressing a single key shortcut in TextMate. Any ideas how?
4
votes
1answer
239 views

Textmate single quotes autoclosure

I’m using TextMate 1.5.10 on OS X Lion, and for some weird reason I don‘t get autocomplete for single quotes ('). Double quotes (") work fine. Since I personally prefer to use single quotes whenever ...
4
votes
2answers
2k views

How do I install the C# TextMate bundle?

I found two C# text mate bundles. csharp-tmbundle: It says, this is the official TextMate bundle, but when I download it, I only get directories, not a .tmbundle file. C# Bundle for TextMate ...
4
votes
1answer
276 views

Select Word boundaries in TextMate

The command Select Word in TextMate considers certain characters to be word boundaries. The most frustrating is - [hyphen] which makes variables that contain a hyphen to be unselectable. Less ...
4
votes
1answer
85 views

Open Textmate with drawer hidden?

When I open a folder with textmate, either from finder, quicksilver, or the shell addon (mate), the project drawer pops up. Is there a way this can be hidden by default?
4
votes
3answers
983 views

Open several windows of the same file in Textmate?

do you know how can one in Textmate open several windows for the same file? So I can at the same time look and compare different parts of the same file.
3
votes
2answers
984 views

In Vim's insert mode, how can you go to the end of the line and insert a newline?

In TextMate, when you're not at the end of a line and you want to enter a newline, you can type Cmd-Return. Is there an equivalent for this in Vim, when you're in insert mode?
3
votes
2answers
610 views

Is there a way to “Execute and update '# => ' markers” in Sublime Text 2?

This is my most favourite feature from ruby bundle in TextMate. Unfortunately, I can't find how to do the same in ST2. It still inserts the marker when you press TAB after the # symbol, so, I hope, ...
3
votes
2answers
742 views

TextMate 2: can the file browser [project drawer] be put on the right side?

in TextMate 2, can the file browser be put on the right side? the old textmate solution does not seem to work.
3
votes
1answer
345 views

Multiple background colors in Emacs?

I'm trying to get my emacs color scheme set up like I have it in Textmate. Currently, variables, methods, and comments have a different background color than the main body. See the following link for ...
3
votes
2answers
254 views

In TextMate, how do I position the cursor inside a newly generated HTML tag?

I came from the Windows TextMate clone e-texteditor. And in that app, and set to Ruby on Rails bundle while in an .html.erb document, if I was to type Ctrl-Alt-W (equivalent to Ctrl-Shift-W in ...
3
votes
2answers
760 views

Per directory ignore in TextMate

I love idea of TextMate that any directory opened in it is already a project. But sometimes I it would be good to ignore files for certain dir and I don't like idea of creating project file in that ...
3
votes
3answers
2k views

Is there a way to combine multiple TextMate windows?

After files have already been opened in separate windows, is there a way to combine them in TextMate 1.5.9? Or, is there a way to get CyberDuck to open group files edited at the same time as TextMate ...
3
votes
2answers
2k views

Textmate - don't even use soft tabs

I've just moved to Mac and am trying out TextMate, so I'm not familiar with bundle config etc. Is there a way to make TextMate just use spaces, rather than soft tabs, for all file types? For example: ...
3
votes
1answer
323 views

Is it possible to lose the TextMate Markdown Preview header?

Is it possible to remove the header in TextMate's Markdown Preview mode, or make it smaller? It takes quite a bit of screen space.
3
votes
1answer
250 views

What is the whitespace indicated with a dot in TextMate?

In the screenshot of TextMate below, I turned on "Show Invisibles." What's the whitespace character on the third line? Text I imported from somewhere has these dot spaces, and I'm trying to figure ...
3
votes
1answer
62 views

Upgrade/downgrade quotes in Textmate

Let's say I have this text: "stringy thingy" Is there a Textmate command or bundle that lets me place my cursor inside the quotes, press a command key sequence, and it will automatically change ...
3
votes
1answer
540 views

textmate - change cursor color

i'm using a theme for textmate which i really like but the cursor color is almost invisible. how do i change the color of the cursor? looking at the preferences, i don't see an option to change the ...
3
votes
1answer
1k views

Open file in New Window in Textmate

Is there an easy way to open a file in a new window (as opposed to a new tab) in Textmate? The wokraround I've been using is to open the project in a second window, but there must be a better way?
3
votes
1answer
237 views

How can I select enclosing quotes with TextMate?

In Textmate I can "Select Enclosing Brackets" with Command+Shift+B: How can I set up a similar keyboard shortcut to select everything between the single / double quotes which encompass the cursor? ...
3
votes
1answer
341 views

Calculating in TextMate using “Filter Through Command”

I have a line in a file, which I have open in TextMate. I would like to select the line, or rather the content of the line; 54 + 34.43 and have it be replaced with the total sum. I've used the ...
3
votes
1answer
3k views

TextMate GetBundle stopped working in Snow Leopard

It seems that I am no longer able to Get Bundles using TextMate after upgrading to Snow Leopard. I get the following error message. Googling shows no solutions. I have updated to the latest ...
3
votes
1answer
448 views

Unknown ruby interpreter version

I have a MacBook Pro, running Mavericks, but I'm not too acquainted with its inner workings. I'm just a humble CS student. After installing Ruby 1.9.3 and Rails 4.0.0, I get this annoying message ...
3
votes
1answer
58 views

Textmate: Start with project drawer open AND files open

Is there a way to start a new instance of Textmate with the project drawer open AND 1 or more files open? It is acceptable if the files or project drawer are opened AFTER Textmate starts as long as ...
2
votes
4answers
6k views

On a Mac, how do you start TextEdit or TextMate from a shell? (bash)

I tried and the only way seemed like typing in /Applications/TextEdit.app/Contents/MacOS/TextEdit in a bash shell. But even when I close the application, it is not considered an exit. I need to go ...
2
votes
2answers
885 views

Textmate: regular expression to replace matches preserving case?

How can I use a single search / replace to replace all words town with village preserving the case of the first letter in this sentence: Towns are small cities. I live in a town.
2
votes
3answers
13k views

How to read a Text File Hidden Characters?

I've created a text file from an application that I developed. When I send the text file to a SYSTEM Validation, they (3rd Party System) say that the file is invalid and that the file contains 3 ...
2
votes
1answer
1k views

Is it possible to run JavaScript in Textmate?

If I try to run it now I get a XCode error. Do I need to install a JavaScript interpreter on my computer?
2
votes
3answers
639 views

How to customize Mac TextMate keyboard shortcuts with a “copy current line” command?

I would like to be able to click on a line of text without selecting it, and use a keyboard shortcut to copy all text on the current line. Is this possible? If so how?
2
votes
2answers
4k views

Zen HTML + Textmate

I've installed the Zen Coding HTML textmate bundle, but for certain shortcuts I'm getting both the inbuild TextMate bundle and the Zen HTML option. e.g. if I type link:style and hit tab I get two ...
2
votes
1answer
173 views

Command-Right_Arrow and Command-Left_Arrow stopped working in Textmate on OS X Lion 10.7.2

As the title says, I have no clue what has happened, but it's annoying without it. Anyone had this issue and/or know how to fix it?
2
votes
1answer
228 views

Why do some text editors offer to end your file with a line break? Why is that important?

Why do some text editors such as BBEdit and Textmate offer to end your file with a newline (line break)? Why is that important? Are there any caveats to not ending a file with a line break?
2
votes
1answer
540 views

problem with Textmate and placing of cursor after end of line character

Maybe a simple question but I'm a little frustrated. I must have changed a setting in Textmate but can't seem to figure out what I have done. I can place the cursor in any place on a line even after a ...
2
votes
2answers
978 views

Run a script on save in textmate

I was wondering if it was possible to run a custom script on save based on certain file names in textmate. For example I'd like to auto compile a C program sometime on save.
2
votes
1answer
691 views

How to adjust indentation in TextMate

In TextMate I'd like to adjust the number of spaces added for indentation for JavaScript, CSS and PHP files. I found the bundle editor where I think this should be done, but I don't understand waht do ...