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
179
votes
4 answers

Is there a way to make a link clickable in the OSX Terminal?

I am planning on developing an Mxmlc to Textmate formatter, one that formats mxmlc errors as clickable links, so you can open them up quickly in Textmate as Textmate has a url scheme e.g.: txmt://open/?url=file://~/.bash_profile&line=11&column=2. I…
japetheape
  • 1,900
  • 2
  • 12
  • 6
76
votes
11 answers

class & function names highlighting in Vim

I just recently set up my Vim environment from Textmate, after becoming addicted to its modal input. However, syntax highlighting seems to be not so beautiful in Vim. I code in C++ and since the function call and class names can't be highlighted,…
60
votes
21 answers

Why Emacs/Vim/Textmate? Isn't Xcode good enough?

Hi I mostly do C++, Objective-C programming. And I found Xcode plus an auto completion/macro plugin (Completion Dictionary) quite adequate. However, all people seem to praise over their pure text editors. I tried Textmate for a bit; liked its…
ivanTheTerrible
  • 2,836
  • 4
  • 25
  • 25
59
votes
8 answers

Set TextMate as the default text editor on Mac OS X

How can I set TextMate as default text editor on Mac OS X? I've tried it with ln -s /Applications/TextMate.app/Contents/Resources/mate ~/bin/mate export EDITOR='mate -w' but that doesn't work.
Ben
  • 751
  • 1
  • 7
  • 14
58
votes
7 answers

Where to find a list of scopes for Sublime2 (or textMate?)

in .tmTheme files the scope key defines how a element is highlighted: name HTML: Attribute Values scope meta.tag string.quoted, meta.tag string.quoted…
Alex
  • 66,732
  • 177
  • 439
  • 641
54
votes
16 answers

Editing remote files over SSH, using TextMate?

I LOVE using TextMate on my MacBook. It's great. Unfortunately, I want to edit some files directly on my dev server, since it's difficult to recreate the environment locally. I'm using Git, so one alternative is to just edit locally, git commit, git…
Zack Burt
  • 8,257
  • 10
  • 53
  • 81
45
votes
13 answers

What ever happened to Textmate 2?

What ever happened to Textmate 2?
user73481
  • 901
  • 2
  • 9
  • 15
45
votes
7 answers

Compile CoffeeScript on Save?

Is there anyway to easily compile CoffeeScript on save? I'm using TextMate or Sublime Text 2.
fancy
  • 48,619
  • 62
  • 153
  • 231
44
votes
1 answer

Regex to replace values that include part of match in replacement in sublime?

I've come up with this regex that finds all words that start with $ and contain _ underscores: \$(\w+)_(\w+) I'm basically searching for variables, like $var_foo etc. How do I replace stuff using the regex groups? For example, how can I remove the…
Alex
  • 66,732
  • 177
  • 439
  • 641
43
votes
30 answers

What are some useful TextMate shortcuts?

Macs are renowned (or bemoaned) for having an extensive number of shortcuts. However, OS X itself pales in comparison to the shortcut lists in TextMate and its bundles. What are some useful keyboard shortcuts you use?
Tony Pitale
  • 1,192
  • 2
  • 11
  • 23
43
votes
7 answers

TextMate alternative for Linux

Is there any TextMate alternative for Linux? Something like e-TextEditor for Windows
Jakub Arnold
  • 85,596
  • 89
  • 230
  • 327
40
votes
4 answers

Textmate tab and de-tab selected block

Recently switched to Textmate on Mac for coding. On PC when ever I want to tab in or out a block of code I just highlight and press tab or shift+tab to move it in our out. It's very useful when you are adding an extra loop or conditional statement…
Derek Organ
  • 8,323
  • 17
  • 56
  • 75
37
votes
3 answers

How to use a regular expression to remove lines without a word?

I am using textmate to edit a file. I would like to remove all the lines not containing a word. Here is an example. apple ipad hp touch pad samsung galaxy tab motorola xoom How can i remove all the line not containing the word "pad", and get this…
Victor Lam
  • 3,646
  • 8
  • 31
  • 43
35
votes
9 answers

How can I make Textmate always ignore the /log folder in the "Find in Project" search?

How can I make Textmate always ignore the /log folder in the "Find in Project" search?
razenha
  • 7,660
  • 6
  • 37
  • 53
35
votes
5 answers

How to start textmate in command line

Because I didn't create textmate link when installing, so it can not find 'mate' command. who can help me to deal with this? thanks
why
  • 23,923
  • 29
  • 97
  • 142
1
2 3
74 75