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
20
votes
8 answers

Emacs recursive project search

I am switching to Emacs from TextMate. One feature of TextMate that I would really like to have in Emacs is the "Find in Project" search box that uses fuzzy matching. Emacs sort of has this with ido, but ido does not search recursively through…
hekevintran
  • 22,822
  • 32
  • 111
  • 180
20
votes
3 answers

Find out to which highlight-group a particular keyword/symbol belongs in vim

I am coming to Vim from TextMate, and I would like to customise my vim colorscheme. It would be really helpful if I could find out to which highlight-group(s) any particular word or symbol belongs. In TextMate, I would place the caret on the…
nelstrom
  • 18,802
  • 13
  • 54
  • 70
18
votes
2 answers

Is there a better Python bundle for textmate than the one in the bundle repository?

At this time Textmate's official Python bundle is really bare bones, especially in comparison to the Ruby bundle. Does anyone know of a Python bundle that is more complete? EDIT: I am fully aware that there are editors and environments that are…
guns
  • 10,550
  • 3
  • 39
  • 36
18
votes
4 answers

How do I view git diff with textmate

I have my editor setup to be textmate but when I do a git diff it uses vi to show me the diff output, is there any way to set it to show the diff in textmate?
John Duff
  • 38,090
  • 5
  • 35
  • 45
18
votes
3 answers

TextMate - How to install a bundle?

I see a lot of bundles here I'd like to get my hands on http://svn.textmate.org/trunk/Bundles/ The problem is I don't know how to install them. I've read the section 5 of manual dedicated to bundles, but there's no example how to install those from…
Murgh
  • 507
  • 3
  • 6
  • 12
18
votes
2 answers

Bundler Gemfile syntax highlight in Text Mate

Hello I'm learning Rails3 so I start to use gem Bundler (http://github.com/carlhuda/bundler) Does anybody know, how to setup TextMate to highlight Gemfile syntax? Thanks!
A B
  • 2,013
  • 2
  • 21
  • 22
17
votes
1 answer

Is there a way to comment out a large block of code in TextMate?

I don't see anything in the Ruby bundle that will help me add comments to a large block of code. The links I have found online to such a shortcut do not appear to be valid any more.
RubyRedGrapefruit
  • 12,066
  • 16
  • 92
  • 193
17
votes
3 answers

How do I use a shortcut to comment out code automatically in Textmate?

Is there a shortcut to highlight and comment code in textmate, rather than putting in the comments manually?
cjm2671
  • 18,348
  • 31
  • 102
  • 161
17
votes
3 answers

Pros and cons to RubyMine and TextMate

I need to move to a "serious" Ruby (on Rails) IDE now that Netbeans is discontinuing Ruby support. I don't want to start a trolling war, but could I'd love to hear the pros and cons of using TextMate or RubyMine as an IDE, to help me choose which I…
iainbeeston
  • 1,851
  • 1
  • 21
  • 20
17
votes
2 answers

Can TextMate show tab vs space characters?

Using TextMate on Mac, the "invisibles" can be displayed by using View -> Show Invisibles But the space vs tab characters are not shown, and Preferences doesn't seem to have any entry to change that either. Is there a way to show them? It is…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
17
votes
4 answers

Change language being spell-checked in Textmate

In OS X applications such as Mail and Firefox you can right click in a text field and change the language being spell-checked. I can't figure out how to do the same in Textmate. Can it be done easily, and if, how?
jacob
  • 1,214
  • 2
  • 13
  • 22
17
votes
4 answers

TextMate tips for Rails Development

Working on Rails code for a bit has started me on the spiral into obsessively customising my dev environment (I say obsessive as at the last Rails meetup I went to there was some guy who was raving about shaving milliseconds off each line of code…
Ganesh Shankar
  • 4,826
  • 8
  • 43
  • 56
17
votes
1 answer

Generate TextMate language grammar from PEG.js grammar

Is there a tool that translates a PEG.js grammar to a TextMate grammar? I am building my own language and would like to have syntax highlighting for it in my preferred editor, TextMate. The grammar of my language is built with PEG.js. According to…
Manuel Leuenberger
  • 2,327
  • 3
  • 21
  • 27
16
votes
7 answers

How to open an app in terminal and passing the current working directory?

I often want to open the entire directory I'm working in by using the mate command, but how do I pass in the working directory itself? For example, if I'm working in a rails app and I want to open the app folder into the TextMate tree, I would do…
Alex Coplan
  • 13,211
  • 19
  • 77
  • 138
16
votes
6 answers

Open local text application to edit remote text file using ssh?

So i am in a VPS terminal using ssh. In normal case I could just run locally mate and it fires up TextMate with that file. Is it possible to use the same command and somehow open the local TextMate application but editing the remote…
never_had_a_name
  • 90,630
  • 105
  • 267
  • 383
1 2
3
74 75