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

learn more… | top users | synonyms

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

Textmate: removing sidebar on the left

Is there a way to remove this sidebar from Textmate?
5
votes
4answers
2k 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 ...
5
votes
3answers
2k 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 useing OSX I have the option to use TextMake, which is where Sublime Text 2 seems ...
5
votes
2answers
1k 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 ...
4
votes
3answers
2k 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?
4
votes
3answers
315 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
1answer
161 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
210 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 ...
3
votes
2answers
367 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
208 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
2answers
115 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
294 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 ...
2
votes
4answers
200 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
114 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 ...
2
votes
2answers
190 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
186 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 ...
2
votes
1answer
229 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
91 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
255 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 ...
2
votes
2answers
2k 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 ...
1
vote
3answers
190 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
325 views

Change completion key in TextMate?

Is it possible to change the completion key (escape) to command for instance? How?
1
vote
2answers
76 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
303 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
262 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
3answers
341 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
245 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
283 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
315 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.
1
vote
1answer
721 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
434 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
35 views

Text editing: switch to Override mode

In insert mode, the text in front of the cursor is pushed forward when new text is inserted. For example, if the cursor is at position ^ and the word word3 is typed: word1 word2 ^ The result ...
1
vote
2answers
422 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
365 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
140 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
152 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
29 views

MSBuild project file bundle or syntax highlighting of msbuild files as xml

Is there an msbuild project file bundle for textmate? I've searched around and can't find one. The msbuild project files are an xml format, is there a way to make textmate treat files with the ...
1
vote
0answers
169 views

Can't use any bundle command in TextMate

Just did a fresh install. I can't seem to run any bundle command. Always get an error like: Library/Application Support/TextMate/Managed/Bundles/Bundle ...
1
vote
1answer
997 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 ...
1
vote
0answers
145 views

Custom keyboard layout problem with some apps

I have an early 2011 Macbook Pro with Lion. I used Ukelele and KeyRemap4Macbook to customize my keyboard layout, because I wasn't satisfied with the default one. Namely I switched right Cmd with ...
1
vote
0answers
332 views

Is there a vim bundle for Textmate?

If i want to edit a vimrc file using Textmate I always get this non highlighted flat file. To have a little bit of colors I select the Shell (Bash) bundle but this is far from perfect for editing ...
1
vote
0answers
166 views

Why do editors such as BBEdit and Textmate have the option of ending your file in a newline (line break)? Why is that important? [closed]

Sorry about the n00b question but why is this an option? Is there any caveats to not ending a file with a line break?
0
votes
1answer
79 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?
0
votes
2answers
733 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 ...
0
votes
1answer
52 views

Choose a tab in textmate 2

Choosing : I use a European keyboard (french) and I can't use ⌘1, ⌘2 etc. to access a specific tab with TM2. These shorcuts are used by the Finder to choose a Desktop (Space). In the Preferences ...
0
votes
3answers
126 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 ...
0
votes
1answer
167 views

Using TextMate, is there a hotkey to move the cursor out of the quotations?

Using TextMate, I noticed when you open a new set of quotations, the ending quotation is automatically created and wraps what you are going to type. Let's say I am finished typing my string literal, ...
0
votes
1answer
376 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?

1 2