Questions tagged [textmate2]

TextMate is a text editor for macOS; on topic questions include those about general use of the software and development of bundles and extensions.

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

139 questions
1
vote
0 answers

Running Matlab code in Textmate

I am having difficulties executing Matlab code in the Terminal using the matlab.tmbundle for TextMate... Spawning Matlab works fine as well as running code directly from the terminal but it seems that the code is getting lost when I attempt to run…
markdjthomas
  • 115
  • 3
  • 9
1
vote
2 answers

Command R browser refresh in TextMate 2

Using the HTMLbundle in TextMate version 2.0-alpha.9503, OSX 10.9. I have a html page open in the editor. When I press command R the first time it switches me to Chrome and refreshes the page. On subsequent command R keypress, I get switched to the…
user772110
  • 411
  • 4
  • 11
1
vote
1 answer

How to set background color(s) of Textmate 2?

As shown in the above screen shot, the background of code (inside ) is different from the area outside PHP code. How can I change the background color of PHP code? For example, if I change the language to Perl, the color is same inside and…
ohho
  • 50,879
  • 75
  • 256
  • 383
1
vote
1 answer

TextMate 2 command-line `mate` failing: no /bin/mate in 'SharedSupport/...'

I've tried several solutions on OS X Snow Leopard to get TextMate2 to recognise mate filename, but it appears there's no 'mate' for the mate command to call: $cd /Applications/TextMate.app/Contents/SharedSupport/ $ ls -al total 0 drwxr-xr-x 3…
Dave Everitt
  • 17,193
  • 6
  • 67
  • 97
1
vote
2 answers

Included files after list not rendered correctly

main.asc: == Items include::foo.asc[] include::bar.asc[] foo.asc === Foo Title ==== List of things * thing one * thing two bar.asc === Bar Title this is a summary of bar When main.asc is rendered, the following text is displayed: Items Foo…
craig
  • 25,664
  • 27
  • 119
  • 205
1
vote
1 answer

Include external folders in project file browser

In Textmate 1 I was used to being able to include folders from different locations in my project drawer. Is this still possible in Textmate 2? Example: I’ve got the follwing (real) file structure: /my_software /system_a /module_b …
Rob
  • 1,158
  • 1
  • 12
  • 22
1
vote
1 answer

Is there a way to turn off page-at-a-time scrolling animation in Textmate 2?

Textmate 2 animates scrolling when using PageUp/PageDown keys. This against the Human Interface Guidelines, and it is sloooooooow. Anyone know how to turn it off?
Michael Johnston
  • 5,298
  • 1
  • 29
  • 37
1
vote
2 answers

Textmate, how to find out which theme I am using?

I am using TextMate version 2.0-alpha.9387, I don't see any options in Preferences.
ideawu
  • 2,287
  • 1
  • 23
  • 28
1
vote
0 answers

Visually Nested Blocks

Does any one know if textmate has a visual way to denote a nested block? I just started using coffee script (which uses tabbed nesting) and thought it would be great to have something similar to…
Bertiewo
  • 103
  • 1
  • 1
  • 8
1
vote
1 answer

How to open files in one single window when using Textmate 2

When I want to open many files which are not in the same path or projects, I want to them to be opened in tabs not in separated windows. Is there any setting or configuration item to do this? I am using Textmate 2. Thank you for any help or advise.
morphinewan
  • 434
  • 2
  • 6
  • 17
1
vote
2 answers

Get rid of TextMate2 TODO shortcut - no solution possible

EDIT: There currently is no solution. It turns TextMate 2 doesn't maintain the ability to insert the "kill buffer" with ^Y. While it is possible to rebind a ^Y to "Paste" (command-V), I want the emacs behavior of inserting the "kill buffer". The…
Rose Perrone
  • 61,572
  • 58
  • 208
  • 243
0
votes
0 answers

How to hide deleted files in TextMate's file browser

If I open a folder that uses source control in TextMate, it will show deleted files with an x. How do I hide deleted files? The solution in this answer does not work: How can I keep deleted files from showing up in TextMate 2 file-browser sidebar?
Michael Ozeryansky
  • 7,204
  • 4
  • 49
  • 61
0
votes
1 answer

Set textmate2 to save automatically with a .java extension?

I was wondering if textmate2 can be set to save a file in a .java extension. I'm looking around for such a feature but can't find anything. Can anyone help me out?
0
votes
1 answer

Why does textmate modify the file mtime after closing the tab?

I use electron-vue to automatically reload the page, and every time I close the file, textmate automatically update mtime of the file. This was not the case before, and I don't know why.
plusor
  • 69
  • 6
0
votes
1 answer

Please add the directory containing “/Users/me/.rvm/bin/rvm-auto-ruby

I am trying to my ruby code in TextMate and I am planning to use a specific gem with a bundle I have. When I try to run my ruby code with command + R, I get the following error. What is wrong with my path? The current PATH…
user2012677
  • 5,465
  • 6
  • 51
  • 113