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
0
votes
3 answers

TextMate: using tmctags bundle, opens in new window!!! how do i open it as a tab?

I have this issue with textmate where it opens up a file in a new window, but not a tab. thereby its harder to navigate and also disables me from using tcmtags on that new file. Has anyone ever ran into this issue? I suspected it was some type of…
user139078
  • 411
  • 1
  • 4
  • 12
0
votes
1 answer

TextMate RubyAMP bundle, error: "invalid multibyte char"

I've installed the bundle, but when I'm trying to use option-shift-m (jump to method), I'm getting a weird error message: /tmp/ruby-amp-978.rb:18: invalid multibyte char (US-ASCII) /tmp/ruby-amp-978.rb:18: invalid multibyte char…
zero-divisor
  • 560
  • 3
  • 19
0
votes
1 answer

TextMate - Commands - Change current line number

I'm currently trying to create a template in TextMate. The template is very basic: Nothing special. But I want when the template is created, to put the text cursor between the the start and end tag. I know this can be done with…
Kyle
  • 3,935
  • 2
  • 30
  • 44
0
votes
2 answers

Textmate tutorial terminal mac-osx

I have installed Textmate editor on my terminal and I am looking for some tutorial to discover Textmate's command lines ? Does anyone has a some links ? Best, Newben
epsilones
  • 11,279
  • 21
  • 61
  • 85
0
votes
1 answer

Textmate Hide/Show Comments

Is there any way with TextMate to hide comments when editing code? Sometimes I want to see my code with the full comments and other times just want to see the code itself with all comments hidden. I was hoping there would be a way to toggle the…
Frank
  • 163
  • 2
  • 3
  • 11
0
votes
4 answers

TextMate: Shortcut for switching focus between editor and project drawer

I'm looking for a shortcut for switching focus between editor and project drawer in TextMate. I googled a bit with different results, but none of the shortcuts is working for…
zero-divisor
  • 560
  • 3
  • 19
0
votes
2 answers

Why is TextMate treating two spaces as a single character?

When I enter two spaces into TextMate 1.5.7, under certain circumstances it seems to treat the two spaces as a single character.. For example when typing ("[space][space]") (" |") \_ the cursor If I then press backspace, both spaces get…
dbr
  • 165,801
  • 69
  • 278
  • 343
0
votes
1 answer

TextMate refusing to launch in Lion

I found this post useful and important to share, so if anybody has problems running textmate after updating to OSX lion, do as follows...
headkit
  • 3,307
  • 4
  • 53
  • 99
0
votes
1 answer

Create Textmate Bundle Command and Manipulate Selected Text

I do a lot of work with temperatures in Textmate and I'd love to create a command or snippet that would do the following. I could highlight a number like the 131 below Cook the food at 131. Them run the command and it would automatically calculate…
Jason Logsdon
  • 507
  • 5
  • 19
0
votes
3 answers

TextMate-style code beautifucation in vim?

I have a bunch of ugly code in vim: it's not indented consistently at all. TextMate has this wonderful "code cleanup" function... and I'm sure vim is just as powerful, I just don't know how to automatically clean up my entire file (putting…
Zachary Burt
  • 51
  • 1
  • 2
0
votes
1 answer

a simple (i think) REGEX needed for Textmate

Can someone please advise how to do this search and replace in textmate. I think I need a REGEX (but i know very little about REGEXes!) i want to change all these bullet images to GIFs... bullet-1.png becomes bullet-1.gif and I want where the…
swisstony
  • 1,667
  • 3
  • 18
  • 27
0
votes
1 answer

match all tags after a specific tag

I'm beating this dead horse here:

I wan't be matched!

me 2!

  • Lorem ipsum sit dolor amet
  • Lorem ipsum sit dolor amet …
holographix
  • 2,497
  • 2
  • 32
  • 46
0
votes
3 answers

Find and concatenate result in a pattern

I have a long PHP file and I want to copy all the variable names only and build an insert sql query. Is there a way where I can search for a pattern using regular expression and concatenate the find result till I collected all the variable and spit…
TheTechGuy
  • 16,560
  • 16
  • 115
  • 136
0
votes
1 answer

Single quotes in OS X Dvorak keyboard in TextMate

I'm using a dvorak layout in OS X in TextMate. When I type the single quote key (the q key in qwerty) I get curly single quotes like this: ’ I only want simple single quotes like this: ' I can't seem to find the key to type simple quotes or whatever…
tanman
  • 1,379
  • 1
  • 10
  • 19
0
votes
2 answers

Why people use textmate?

I was recently introduced to text mate and I admit it is a decent editor with color coding and ability to accommodate different languages (PHP, HTML, Java, C++, etc) but the single most important time saver for me is code completion. I don't believe…
Ben
  • 1,233
  • 2
  • 14
  • 17