A text editor for Mac OS X created by Allan Odgaard.

learn more… | top users | synonyms

9
votes
5answers
5k views

Can Textmate nicely indent HTML?

Does Textmate have a function to nicely indent HTML? HTML Tidy indents it - but it seems to delete tags as well. (This isn't completely proper HTML, but still!) <html ...
9
votes
2answers
3k views

TextMate 2 Bundle creation

In TextMate 2, how can I create a new Bundle? I´m using a programming language which so far doesn't have a bundle (so no syntax highlighting, snippets and so on). TextMate 1 used to have a Bundle ...
8
votes
2answers
348 views

Why is there a duplicate entry for my TextMate?

I was changing the default program to open .txt files with and I noticed 2 entries for TextMate. Its one of those little things that annoy me. How can I fix it? I didn't see 2 directors of ...
7
votes
7answers
3k views

What are some Textmate alternatives that have the completion key feature?

I am slowly beginning to fear the worst with Textmate and the impending release of Lion and how stable Textmate might be on it. So my question is, are there any Textmate alternatives out there that ...
7
votes
5answers
5k views

Which text editor has better OSX support, TextMate, or Sublime Text 2

I've been using Sublime Text 2 for Windows and Linux because it's simply the best for those platforms. However, when using OSX I have the option to use TextMake, which is where Sublime Text 2 seems ...
7
votes
2answers
3k views

How to edit theme colors in TextMate 2?

In TextMate 1 there is a Fonts & Colors tab in Preferences to edit theme colors, but in TextMate 2 I cannot find how to do the same... I can select a theme in the View menu, but I want to ...
6
votes
3answers
3k views

How can I change multiple line code indentation in Textmate?

When I use textmate, I select multiple lines and I press TAB, I would like to change the indentation of my code, rather than deleting it. Is there a way to change this functionality?
6
votes
1answer
237 views

Textmate: removing sidebar on the left

Is there a way to remove this sidebar from Textmate?
5
votes
1answer
158 views

How to launch TextMate (and probably other software) from the command line?

I am very new to Mac, coming from Linux. I am using TextMate, and I suddenly discovered I do not know how to launch TextMate from command line. Using completion, nothing looks like TextMate. Where ...
5
votes
3answers
420 views

Textmate alt-f to move forward by one word

I've recently switched from Linux, so I'm still getting a hang of things -- please bare with me. ;) One thing that is really killing my emacs memory muscles right now is the lack of alt+f and alt+b ...
4
votes
2answers
212 views

Is there a way to reopen last windows when you launch TextMate in Lion?

I know TextMate isn't Lion optimised, but is there any way to do this?
4
votes
3answers
348 views

Is there a way to use a Finder hot key to open a folder in TextMate?

I have setup a System Preferences -> Keyboard -> Keyboard Shortcuts -> Services item to allow me to use a hotkey to "Open in TextMate". It works fine on files, but does not work on folders. If I ...
4
votes
1answer
35 views

How does one downgrade TextMate Bundles?

Today I lost many hours of work trying to recover from a recent update to various TextMate Bundles that broke my TextMate installation (I had TextMate set to automatically update bundles, am using the ...
3
votes
2answers
477 views

Replacing all white spaces with commas in a 46MB text file

How long should replacing all white spaces with commas take in my 46MB text file using a simple text editor such as textmate on my Mac?
3
votes
1answer
287 views

Figure out which command is bound to a keyboard shortcut in TextMate

I have a shortcut key conflict between TextMate and LaunchBar. I use ⌘+⌥+\ to call up LaunchBar's clipboard history. And it works great everywhere except in TextMate, which has this combination bound ...
3
votes
1answer
307 views

Opening a new file in TextMate opens the last opened file as well

Here is a small annoyance that I have with TextMate. When I want to open a new file in TextMate when it's not running it also opens the last opened file. Now for some cases that's just nice of him to ...
3
votes
2answers
118 views

Creating a new file blocks Textmate

When I want to create a new file through the button (left-bottom one) in the project drawer or in the file menu it takes a long time and blocks Textmate and even blocks Textmate totally in some cases. ...
3
votes
1answer
202 views

TextMate recover after kernel panic

I was working on an unsaved file when the kernel suddenly got a panic attack. I have the 'Save files when focus is lost" checkbox checked, and I frequently switched between textmate and the browser, ...
3
votes
1answer
342 views

Tab changing in TextMate when working with LaTeX files?

I tried the new version of TextMate (1.5.10, r1616). I noticed that there's a 'Changed' item on the Release notes stating that the keyboard shortcuts to change tabs are now the de facto standand ...
3
votes
2answers
3k views

Split Windows on Textmate

Textmate has been around for a while, I bought it in 2006. Is it possible to split windows horizontally and or vertically on Textmate nowadays? Probably someone out there made a kind of Plugin for ...
2
votes
2answers
267 views

Why is the folder in ~/Library/Application\ Support called “Avian” for Textmate 2?

I would expect one of: ~/Library/Application\ Support/Textmate ~/Library/Application\ Support/Textmate2 Or maybe: ~/Library/Application\ Support/Macromates What's the story here?
2
votes
4answers
234 views

How to 'scroll down' when there's nothing more to show? (cause I like the blank space)

When I'm working in a text document, I like to start typing at the top of the window or in the middle. I hate when the carat/cursor gets all the way to the bottom and there's no blank space left ...
2
votes
2answers
520 views

Auto open textmate project on startup

How do I get textmate to remember what project i had open last and reopen it automatically? Right now I have to select it from the menu.
2
votes
3answers
270 views

TextMate find dialog not working

So my problem is exactly what it says in the Subject: the find/replace dialog in TextMate is not working anymore. By that I mean that first off, I have to hit ⌘ + F twice to make it even appear. ...
2
votes
1answer
260 views

How to prevent TextMate from overwriting symbolic links?

In a web project I have multiple environments and a .htaccess.<env> file for each of them. In each of the environments I've made a symbolic link from .htaccess to the right file. Now, whenever ...
2
votes
2answers
95 views

Opening emacs from TextMate

I want to launch emacs from TextMate, I tried the method with OTC in here, but it would be great if I can learn other methods that I can launch emacs from TextMate.
2
votes
1answer
309 views

Expand symlinked directory in finder

Is there a way to make it so that in list view in Finder a symbolically linked directory can be expanded like a regular directory? I would just switch to column view, but I'm using TextMate 2's file ...
2
votes
1answer
394 views

How can I get TextMate's QuickLook plugin to render HAML and YML files?

TextMate's QL generators are supposed to render QL views for files that TM recognizes, while TM is open. Out of the box, it only renders the basic ones (C, Perl, etc), but this article on Ciaran ...
1
vote
3answers
215 views

Using TextMate, how can I wrap everything in PHP tags?

A question about TextMate. For example, I just typed var_dump($codes);, and I forgot to write <?php ?>. So, now I want to highlight the area that I want to wrap the php tags around. How can I do ...
1
vote
2answers
3k views

TextMate 2: How to permanently default to soft tabs (spaces instead of tabs)?

SETUP OS X 10.8 TextMate 2 -r9283 QUESTION How can I permanently force TextMate to to always default to soft tabs (use spaces, not tabs)? I want to know how to make TextMate default to this ...
1
vote
1answer
456 views

Change completion key in TextMate?

Is it possible to change the completion key (escape) to command for instance? How?
1
vote
2answers
135 views

Using bitmapped Monaco in Textmate

When I use TextWrangler, I can use the beautiful, crisp bitmapped 10 point Monaco font: In TextMate, when I select Monaco 10 as my font, I get a much fuzzier rendered vector graphic from the ...
1
vote
1answer
539 views

TextMate not saving files in UTF-8

I set my prefs to save files in UTF-8 (the default). But I've noticed that my files are not UTF-8 but US-ASCII. With my newly created file: file -I myfile => myfile: text/plain; charset=us-ascii ...
1
vote
2answers
630 views

TextMate: How can I switch 2 lines?

I recently migrated over from Notepad++ (and from Windows) and I am finding myself at an inconvenience without CTRL + T in Notepad++ which switches the current line with the previous line. I tried ...
1
vote
4answers
751 views

How to create TextMate project that contains all files in a folder (and updates dynamically)?

I'd like to create a TextMate project that consists of all files in a particular folder, with the added stipulation that as files are added to (or removed from) that folder that they be added/removed ...
1
vote
3answers
333 views

How to force a diff format for TextMate?

I have this alias: alias hgd='hg diff|mate' The problem is that for some reason the temporary file thus created will be a .txt, while I'd need it to have the diff syntax highlight. If I manually ...
1
vote
2answers
516 views

How to copy and paste Javascript code from a PDF file to a texteditor (Textmate or Sublime Text)

Everytime, I want to copy and paste one Javascript code example from a book (in a pdf version) to Sublime Text or Textmate, any " " become “ ” >> the code doesn't work. Is there any way to fix this ...
1
vote
1answer
911 views

Strange font behavior with external monitors on MacBook

I have noticed some strange behavior when using an external monitor with my MacBook and DejaVu Sans Mono (or Panic Sans) with Terminal.app and TextMate. If I launch these programs prior to plugging ...
1
vote
1answer
733 views

AppleScript app started prompting to run or quit. How can I disable this?

I'm not entirely sure why this has started happening since this is completely new behaviour and I haven't done any system updates but I have a nice little toolbar app for my Snow Leopard Finder.app ...
1
vote
1answer
77 views

Remove Quicklook Syntax Highlighting with TextMate2?

I recently installed TextMate2 Alpha and it comes with a Syntax Highlighting plugin for the OS X QuickLook. Can it be disabled without removing TextMate?
1
vote
3answers
754 views

Textmate 2 and Latex

How can I set the main file in Textmate 2 in order to make it compile my complete dissertation and not the file I am editing?
1
vote
2answers
479 views

Can I install TextMate 2 and keep TextMate 1?

I would like to try TextMate's new version but since it is a beta release with some bugs and unfinished features, I don't want to use it everyday. Is there any way to install TextMate 2 and keep ...
1
vote
2answers
664 views

How can I bypass Textmate asking for my password every time I save a file?

I'm using Lion and every time I edit a file, TextMate prompt me for my password. Is there a way to bypass that?
1
vote
2answers
217 views

TextMate 2: How to enable/disable Code Folding

Text files shown in TextMate 2 are not currently showing me any options for Code Folding. IOW, there are are no up, down arrows over in the line number gutter on the left that allow collapsing regions ...
1
vote
1answer
38 views

Make TextMate run php from a different binary, not the original php

I work with php and postgre, and since the stock php doesn't come with postgre I had to install a different php version. So I installed php5 from this website: http://php-osx.liip.ch It's a quick ...
1
vote
1answer
44 views

TextMate : Keeping my KeyBindings after an update

I'm using TextMate 2 with some custom KeyBindings. I change them in /Applications/TextMate.app/Contents/Resources/KeyBindings.dict. It works great, but everytime I update them app they get reset. (I ...
1
vote
1answer
100 views

TextMate/TextWrangler Document Reverts

This happens to me when I'm editing a document (usually a Javascript script) in TextMate (1 and 2) and TextWrangler. I have this document open in another app, and in certain occasions, the document ...
1
vote
2answers
921 views

How to Run Shell Script upon Application Launch?

Not sure if this belongs here or on SuperUser, but it's Mac specific, so I'll go with here. I wrote a Ruby script that edits TextMate's global properties file and changes the theme based on the time ...
1
vote
1answer
160 views

What makes TextMate a good editor? [closed]

I'm always reading about developers praising TextMate as the editor. What's so awesome about it? Please note that I'm a long-term Emacs user.
1
vote
0answers
83 views

TextMate auto-indents new line when starting to type

I'm using TextMate 2.0 alpha to write some SASS and HAML. Say I have this code: h2 font-size: 20px margin-bottom: 20px color: #777 When I add a new line after the last key-value pair (color: ...