2022 Developer Survey is open! Take survey.

Questions tagged [textmate-2]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
86 views

TextMate 2: Add a file association to an existing bundle

My question is directed related to this question. The difference is that TextMate v.2.0.6 appear to have evolved to the point where answers to that question are not helping. Question: How to add a ...
user avatar
  • 103
0 votes
0 answers
169 views

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"...
user avatar
1 vote
2 answers
399 views

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 <style> tags, and the contents of JavaScript <script> tags. However, I'd like to ...
user avatar
  • 1,134
0 votes
0 answers
160 views

How to force Textmate to open file in New Window, always?

How to force Textmate (is for Macs only) to always open file in a New Window without setting projectDirectory = $CWD... which kinda screws up project search. Yes, I'm willing to go as far as ...
user avatar
  • 1
0 votes
1 answer
152 views

How to disable soft wraps for single file in TextMate 2?

I want to keep "Soft Wrap" enabled by default, however for some files I need to disable it so I will not need to click "Disable Soft Wrap" every time I open the file. Is it possible? Thanks.
user avatar
  • 103
0 votes
1 answer
145 views

How do I configure TextMate to source ~/.bashrc when executing shell scripts?

Currently when I attempt to use the Shell Script bundle in TextMate to execute an open shell script, it uses its own environment variables and does not source my user's ~/.bashrc file before execution....
user avatar
  • 591
2 votes
1 answer
695 views

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 ...
user avatar
  • 724
0 votes
0 answers
74 views

Hyperlink to file in TextMate

I use TextMate to edit LaTeX documents. Let's say I have the file foo.xlsx on my Desktop. In my .tex file how can I add a hyperlink to foo.xlsx, so that when I click on the link, the file is opened ...
user avatar
  • 299
0 votes
1 answer
435 views

getting yml syntax highlighting in textmate2

I ignored the prompt of textmate2 to to associate yml files with yml by mistake, and instead chose .txt. the result is no syntax highlighting and i can't figure out how to fix it. Installing and ...
user avatar
0 votes
1 answer
197 views

Webmate Textmate Plugin for Textmate 2.0

I downloaded the new version of Textmate last night (v 2.0 build 9515). I tried to load it with the Webmate plugin which allows you to display HTML pages that your coding in a preview window and it ...
user avatar
  • 1,588
4 votes
1 answer
975 views

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,...
user avatar
  • 1,070
2 votes
1 answer
462 views

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 ...
user avatar
  • 123
0 votes
1 answer
936 views

Comment bundle in TextMate 2 produces errors

I'm very fond of TextMate's "Comment Line/Selection" bundle, which lets me use ⌘-/ to comment or un-comment highlighted lines. Recently, however, when I use that key combination, I get this error: ...
user avatar
  • 305
2 votes
1 answer
650 views

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 ...
user avatar
  • 841
4 votes
1 answer
1k views

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 ...
user avatar
6 votes
1 answer
7k views

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/...
user avatar
3 votes
2 answers
925 views

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 ...
user avatar
  • 31
11 votes
1 answer
12k views

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 ...
user avatar
  • 271
2 votes
0 answers
231 views

Syntax Highlighting in TextMate2 [duplicate]

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 ...
user avatar
  • 223
8 votes
3 answers
2k views

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.
user avatar
31 votes
2 answers
9k views

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.
user avatar
  • 413
9 votes
2 answers
2k views

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 ...
user avatar