Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [textmate-2]

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

1
vote
1answer
101 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 ...
0
votes
0answers
41 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 ...
0
votes
1answer
54 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.
0
votes
1answer
83 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....
2
votes
1answer
307 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 ...
0
votes
0answers
59 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 ...
0
votes
1answer
290 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 ...
0
votes
1answer
164 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 ...
3
votes
1answer
709 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,...
2
votes
1answer
406 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 ...
0
votes
1answer
893 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: ...
2
votes
1answer
593 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 ...
4
votes
1answer
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 ...
5
votes
1answer
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/...
3
votes
2answers
798 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 ...
9
votes
1answer
10k 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 ...
2
votes
0answers
221 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 ...
8
votes
3answers
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.
30
votes
2answers
8k 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.
8
votes
2answers
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 ...