Questions tagged [textmate-2]

TextMate 2 is the open-source successor to TextMate, an OS X text editor.

TextMate 2 is the open-source successor to TextMate, an OS X text editor that runs on OS X 10.7 or later.

It was published on GitHub as an alpha version in December 2011. To this date, it is still considered alpha.

22 questions
31
votes
2 answers

How do I create a new snippet in TextMate 2?

How do I create a new snippet in TextMate 2? When I go to Edit Bundles I can't figure out how to create a new snippet.
jshen
  • 413
11
votes
1 answer

How to get syntax highlighting working in TextMate 2

I just cloned TextMate 2 from GitHub. Followed the instructions in the readme file and everything went smooth with the installation. However, there is no syntax highlighting. No problem – just need themes, right? I found a theme I liked,…
enewe101
  • 291
  • 1
  • 2
  • 6
9
votes
3 answers

Expand/Collapse project drawer folders in TextMate 2

I don't know what I did, TextMate 2 expanded the entire files of my project in the sidebar. Now the performance drastically went down. I can't able to figure out how to collapse it.
9
votes
2 answers

How to move TextMate 2 output pane to a new window

So I've been trying TextMate 2 out and one of the changes is split panes. Now when I run rspec tests the output appears in a split pane at the bottom of the screen. Has anyone figured out how to move this back to a separate window or is it just not…
6
votes
1 answer

How to install TextMate 2 in OS X 10.7 (Lion)?

Have searched but have not found a TextMate 2 .dmg file available for OS X 10.7 (Lion). Is there one downloadable online? Also, there are pre-built binaries for TextMate 2 here: https://github.com/textmate/textmate/downloads However, I downloaded…
4
votes
1 answer

Setting TextMate 2 as Git's difftool

Is it possible to set TextMate 2 as the default Git difftool/mergetool? If so, what are the commands? I have found instructions for the diffmerge tool here, but I would like to try it with text mate, but I know that are the commands to use. I am…
Tiago Veloso
  • 1,090
4
votes
1 answer

How do you save a recorded macro in TextMate 2?

TextMate 2 has a round red button in the bottom right corner of each window that pulses when clicked and records a macro of your actions while it is on. As far as I can tell the only way to replay a recorded macro is Edit > Macros > Replay…
3
votes
2 answers

What is the path to the 'mate' executable in TextMate 2's app bundle?

On a fresh installation of TextMate 2 the mate command will not install. The TextMate > Preferences > Terminal > Install button does nothing. Am I correct in assuming that the mate executable should be somewhere in the app bundle? I think it used…
John
  • 31
2
votes
1 answer

Bad current working directory for Textmate 2

I'm using TextMate 2.0-alpha.9427 on OS X 10.8.2. Since two days, when I run a script (Python or shell script), instead of the directory of the script itself, the current working directory is something like…
Aristide
  • 123
2
votes
1 answer

TextMate 2 “Go To Symbol” not working for PHP

I’m running TextMate 2.0-alpha.9419 and experiencing this issue: the editor doesn’t see my method definitions within a class, and won’t let me jump to them via “Go To Symbol”. The only method that TM does recognise is __construct which is hardly…
Arnold
  • 861
2
votes
0 answers

Syntax Highlighting in TextMate2

Possible Duplicate: How to get syntax highlighting working in TextMate 2 I pulled TextMate2 from GitHub and built it but I can't get the syntax highlighting to work. I've installed the bundles using the built-in bundle installer and I've…
CaseyB
  • 223
2
votes
1 answer

Set TextMate 2 as default editor

How do I set TextMate 2 as default editor for text files in Mac OSX Sierra? According to the 2nd answer in https://stackoverflow.com/questions/9370584/mac-os-x-set-textmate-as-default-text-editor I tried: defaults write com.apple.LaunchServices…
traveh
  • 764
1
vote
0 answers

How to Merge Textmate Windows?

I accidentally double-clicked the tab header, and TextMate moved the tab into a separate window. Is there some way to merge it back or disable the doubleclick nonsense altogether? I know about "Window" menu, but it has only the "Merge All Windows"…
1
vote
2 answers

How can I embed additional languages in TextMate 2's “HTML” bundle?

TextMate 2's "HTML" bundle ships with built-in support for highlighting HTML tags, the contents of CSS