Questions tagged [textmate]

TextMate is a text editor for macOS.

TextMate is a text editor for macOS, created by Allan Odgaard in 2004. Although it is still actively maintained, public-facing development was largely dormant for a decade after 2007, during which time many users migrated to other software. The current version of the software is 2.0.23.

The code is open source, and is hosted on Github. Questions about development of the editor and its bundles are on topic at Stack Overflow.

As an editor targeted primarily at the development community, questions about general use of TextMate are also on-topic. Please check end-user documentation for possible solutions before posting.

1125 questions
16
votes
1 answer

How to correct syntax highlighting for setting Rails link or form field "class" in Sublime/Textmate 2

BACKGROUND: In Sublime Text and Textmate, the word "class" is incorrectly highlighted when using the new ruby hash format in a Rails link_to or form field: OBJECTIVE: Is there any way to correctly highlight the "class" keyword as it does when using…
neon
  • 2,811
  • 6
  • 30
  • 44
15
votes
5 answers

What's textmate's 'Go to File' fuzzy search algorithm?

Textmate's 'go to file' fuzzy search is really awesome. Wincent's Command-T plugin for vim does something similar and it rocks too. Can someone explain how these work? Is there a general term for the method they use? Edit: I little more detail…
Dane O'Connor
  • 75,180
  • 37
  • 119
  • 173
15
votes
2 answers

In Textmate2, how do you disable the header-styles in Markdown documents?

I am currently trying to disable or tweak the new "headline-style" that was introduced with TM2 (or the bundle?). The undesired behaviour will change the font-size and family for the line depending on the headline level. Here is an example…
m3nt0r
  • 477
  • 3
  • 9
15
votes
2 answers

Django + Emacs (as TextMate replacement)

There is any complete tutorial how to configure emacs for using with Django (1.1) (on Mac)? Im thinking about switch from TextMate to Emacs to have multiplatform editor for django. I have my fav. theme from textmate and I want to convert this to…
Andrzej Śliwa
  • 1,684
  • 2
  • 14
  • 17
14
votes
4 answers

how to move the textmate file explorer to the right side?

how to move the textmate file explorer to the right side?
Blankman
  • 259,732
  • 324
  • 769
  • 1,199
14
votes
5 answers

mate . command is not working in MAC OSX

I am trying to open the content of a directory using text mate by mate . command. But, I am getting the message : -bash: mate: command not found I tried the following command to fix it : ln -s…
K M Rakibul Islam
  • 33,760
  • 12
  • 89
  • 110
14
votes
9 answers

How to indent JSON data inside of TextMate, Emacs, BBEdit, or Sublime Text 2?

[Update: 8 hours after this question was posted, the author of JSON bundle was notified of the issue and he fixed it.] I have the following JSON data in a file application.json, shown at the end of this post, and I have used TextMate with the JSON…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
13
votes
1 answer

TextMate: Highlight matching tags of caret location

Is it possible for TextMate to syntax highlight the opening and closing tags of your current caret location? And I am talking about constantly, not by pressing a key combo. Furthermore, if it possible, how can I do it? There doesn't seem to be any…
kamranicus
  • 4,207
  • 2
  • 39
  • 57
13
votes
6 answers

What is the standard programming font used in Textmate?

It looks very readable. I specifically like how the text is a little bit bolder than Consolas, sort of like Comic Sans. Is it downloadable for windows?
chris
  • 20,791
  • 29
  • 77
  • 90
12
votes
3 answers

How to delete line break in textmate

How to find and delete all the line breaks? I tried \n and it doesn't work! Regular expression? what kinda of expression?
randomor
  • 5,329
  • 4
  • 46
  • 68
12
votes
5 answers

How do I change the Ruby version Textmate uses?

EDIT: I found a solution for this, you can read it in my answer bellow. I am using Textmate on Snow Leopard, and have installed ruby 1.9. The problem is that for some reason Textmate uses Ruby 1.8.2 But when I use IRB, or run ruby scripts for the…
agente_secreto
  • 7,959
  • 16
  • 57
  • 83
12
votes
1 answer

Italicize JavaScript's reserved keywords in VS Code

I'm attempting to create custom syntax styling with Visual Studio Code's theme settings via TextMate language grammars. Specifically, I'm wanting to italicize all of JavaScript's reserved keywords. I've managed to get 98% of the way there with the…
jabacchetta
  • 45,013
  • 9
  • 63
  • 75
12
votes
2 answers

VS Code - highlight some variables with TextMate

VS Code 1.15 added support for TextMate grammar rules. I want to highlight some variables in JavaScript with these rules: self, me. How can I do this?
spyke
  • 385
  • 3
  • 12
12
votes
4 answers

Auto auto-complete in TextMate

I've recently switched to TextMate from Coda after getting annoyed by the long delays and general slowness of the app. There are a few annoyances in TM but it's mainly because I'm used to one over the other. One aspect that is driving me nuts…
Dachande663
  • 504
  • 1
  • 6
  • 16
12
votes
6 answers

How do you do the "therefore" (∴) symbol on a Mac or in Textmate?

Is there a way to write the ∴ therefore symbol with keyboard shortcuts in Textmate or just on a mac?
Lance
  • 75,200
  • 93
  • 289
  • 503