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

learn more… | top users | synonyms

18
votes
2answers
5k 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 ...
15
votes
6answers
10k 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 xmlns="http://www.w3.org/...
11
votes
2answers
10k 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 ...
8
votes
2answers
398 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 TextMate....
8
votes
6answers
7k 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
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
1answer
697 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 ...
6
votes
3answers
4k 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
2k 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 ...
6
votes
1answer
256 views

Textmate: removing sidebar on the left

Is there a way to remove this sidebar from Textmate?
5
votes
3answers
500 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
10k 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 ...
4
votes
2answers
324 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
2answers
504 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 ...
4
votes
3answers
507 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
2answers
6k 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 ...
4
votes
1answer
88 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
707 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
2answers
786 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.
3
votes
1answer
439 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
468 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
6k views

Is there a remote file transfer solution for TextMate?

Currently doing some php in Eclipse but want to switch to something like Textmate because Eclipse runs like a fat dog. Eclipse has Esftp installed as well as subclipse. This way when i want to work on ...
3
votes
2answers
123 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. ...
2
votes
3answers
504 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
252 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
1answer
1k 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 ...
2
votes
1answer
244 views

TextMate 2 changed files' icon?

Several days ago, I installed the text editor TextMate 2. I notice that the icons of my .h and .m files which were created in Xcode have been changed to the new one. Like the screenshot below which ...
2
votes
2answers
65 views

Open arbitary file from Finder in TextMate

In Finder, I see a file with the ".rel" extension. I'd like top open it in TextMate. I don't see TextMate in the list of choices, and, in fact, can't find it anywhere in the list of applications ...
2
votes
3answers
436 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
1k views

How to customize Textmate keybindings?

I'm trying to customize Textmate's keybindings. I edited 'KeyBindings.dict' in Content/Resources/ and then restarted textmate. It does not work. Is three an easy way to customize keybindings?
2
votes
1answer
278 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
101 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
2answers
771 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 ...
2
votes
1answer
462 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 Walsh'...
2
votes
1answer
391 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 Shift-...
2
votes
1answer
23 views

Does Textmate have anything like Emacs's point and mark for making selections?

In Emacs, I can easily select a phrase in the middle of a sentence using incremental search. For example, I've written the sentence "I have never been to Paris, but I have taken a virtual tour of the ...
2
votes
0answers
74 views

Export a changed Bundle from Textmate 2

How do I export a Bundle with changes (delta) from Textmate 2? I have installed the Bundle manually and it appears in the ~/Library/Application Support/Avian/Pristine Copy/Bundles directory. But I'...
1
vote
3answers
234 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
1answer
715 views

Change completion key in TextMate?

Is it possible to change the completion key (escape) to command for instance? How?
1
vote
2answers
202 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
853 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
1k 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
1k 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
491 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
1answer
637 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
1answer
326 views

How to create a new Snippet in TextMate 2's Bundle Editor?

I'm looking at an existing Bundle in TextMate 2's Bundle Editor. How do I create a new (editable) Snippet in the currently selected Bundle? Seems like this should be obvious, but I am stumped. ...
1
vote
2answers
846 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
3answers
345 views

Is there a way I can set the Tab key as (part of) an application keyboard shortcut in System Preferences > Keyboard shortcuts?

Basically, I would like ⇥ and ⇧+⇥ to "Shift Right" and "Shift Right" (Menu items to indent or unindent selection) in TextMate. However, I can't set them using the System Preferences GUI, as pressing ⇥...
1
vote
1answer
1k 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
3answers
2k 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?