Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [textmate]

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

Filter by
Sorted by
Tagged with
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 ...
17
votes
2answers
16k 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 ...
17
votes
6answers
15k 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/...
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 ...
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....
9
votes
2answers
1k 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 ...
8
votes
6answers
8k 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
2answers
4k 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
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?
6
votes
1answer
324 views

Textmate: removing sidebar on the left

Is there a way to remove this sidebar from Textmate?
6
votes
3answers
7k 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 ...
5
votes
3answers
614 views

Textmate alt-f to move forward by one word

I've recently switched from Linux to Mac. One thing that is really killing my emacs memory muscles right now is the lack of alt+f and alt+b to jump forward and backward by word. I've gotten the meta/...
5
votes
2answers
3k 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 ...
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?
4
votes
2answers
669 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
573 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
118 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
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?
3
votes
2answers
520 views

Can I transfer my TextMate 2 settings to another Mac?

I am switching to a new Mac and want to bring my TextMate 2 settings with me from my old Mac. I don't see an obvious way to do this, and searching hasn't brought anything up. Do I really need to re-...
3
votes
2answers
862 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
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 ...
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, ...
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?
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 ...
3
votes
2answers
129 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
58 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
3answers
654 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
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 ...
2
votes
5answers
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 ...
2
votes
2answers
2k views

copy/paste of large amount of text to terminal leads to scrambled/missing characters [duplicate]

I work with TextMate and R over the terminal. When pasting a lot of code (CMD+C/CMD+V, e.g. 60 lines) it sometimes happens that few characters in the code are scrambled, which then leads to error ...
2
votes
1answer
1k views

Remove Quicklook Syntax Highlighting with TextMate2?

TextMate2 Alpha comes with a Syntax Highlighting plugin for macOS QuickLook. How can it be disabled without removing TextMate?
2
votes
3answers
382 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 ⇥...
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 ...
2
votes
1answer
552 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
1k 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
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?
2
votes
2answers
127 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
2answers
292 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 ...
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?
2
votes
3answers
594 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
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 ...
2
votes
2answers
106 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
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
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-...
2
votes
0answers
173 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'...
2
votes
0answers
57 views

Keyboard shortcut for replace and find next in textmate

The ⌘ + G finds the next occurrence. ⌘ + ⇧ + F does NOT do the right thing: it brings up the Find/Replace dialog - and if you just hit ↩ it does not properly default to Replace and Find. I am NOT ...
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
932 views

Change completion key in TextMate?

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