Questions tagged [textmate]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
114 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 ...
13
votes
2answers
15k 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 ...
3
votes
1answer
672 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, ...
2
votes
3answers
596 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. ...
1
vote
1answer
216 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 ...
0
votes
2answers
191 views

How to get a document to display its contents in quick look

Is there a way to associate a file type (*.md from Github) in a such a way that its contents are 'visible' with OS X's quick look? I've associated the extension (*.md) with TextMate, but this doesn't ...
4
votes
2answers
357 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?
0
votes
1answer
264 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 ...
1
vote
2answers
5k 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 ...
0
votes
0answers
206 views

Make Finder treat TextMate .tmbundle as regular directory

Is there a (reversible) way to make Finder treat TextMate .tmbundle packages as regular folders? Right now, to view a bundle's contents, I need to right-click and select Show Package Contents to view ...
19
votes
2answers
7k 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 ...
0
votes
1answer
333 views

Use Textmate (or any arbitrary application) with Lion's “Versions” feature?

I'm writing a thesis in LaTeX with TextMate. I want very simple, very automated version control. Nothing complicated! Just, every time I save, a new version is created so that I can easily go back in ...
1
vote
2answers
252 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 TrueType ...
0
votes
1answer
487 views

How do I configure Textmate2 to always show wrap Column line for all files?

I want to show the wrap column line for all files, how can I do this? I checked the .tm_properties file, but I don't see any mention of it in there.
1
vote
0answers
234 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 Support.tmbundle/Support/shared/lib/escape.rb:...
3
votes
1answer
7k 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 ...
0
votes
1answer
269 views

TextMate is only showing some bundles, and not highlighting my code anymore

I use TextMate for all my Python programming, but recently it stopped highlighting my Python code. I have also tried YAML, which isn't highlighted either. When I click Bundles, I only see the "...
4
votes
3answers
574 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 ...
2
votes
1answer
511 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
3answers
383 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
2answers
505 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 ...
2
votes
2answers
2k 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?
6
votes
3answers
5k 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?
3
votes
2answers
945 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?
6
votes
1answer
324 views

Textmate: removing sidebar on the left

Is there a way to remove this sidebar from Textmate?
2
votes
4answers
266 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 ...
3
votes
1answer
541 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 ...
1
vote
3answers
268 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
1k 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
3k 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 ...
9
votes
2answers
432 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....
2
votes
1answer
2k 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 ...
3
votes
1answer
2k 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
vote
3answers
577 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 ...
2
votes
1answer
302 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 ...
1
vote
1answer
932 views

Change completion key in TextMate?

Is it possible to change the completion key (escape) to command for instance? How?
2
votes
1answer
410 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-...