A commercial text editor for OS X
1
vote
1answer
26 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 ...
0
votes
2answers
39 views
VIM Editor: File Enconding and Line Endings
When saving files, these are my default settings in TextMate (Mac OS X):
File Encoding: UTF8 (recommended)
Line Endings: LF (recommended)
How can I set VIM to save files with the same file encoding ...
0
votes
1answer
18 views
Can textmate sort my code into readable columns?
I like to indent repetitive lines of code so they are easy to look at and see small differences. As an example, this is hard to read:
address = "1800 Washington St."
name = "George McGoo"
user_type = ...
0
votes
0answers
10 views
I can no longer run ruby scripts from textmate
I used to have a setup where I could run ruby scripts directly from textmate, even if I used a set of gems and included them with require 'mygem'.
So I have a file ~/.tm_properties which enabled this ...
0
votes
0answers
13 views
TextMate 2.0 Alpha Can't Install C# Bundle
I'm trying to open a .cs file in TextMate 2.0 Alpha and I get a little box that recommends I install a C# bundle. I click ok, and I get a popup that says "Installed 'C#'. But the popup doesn't go ...
1
vote
1answer
46 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 ...
0
votes
0answers
19 views
Is there a way to make TextMate remember its state when switching branches?
I'm looking for a plugin or bundle which enables TextMate to bind it's state to the current branch. By state I mean open tabs and open folders in the project drawer.
Here is my scenario:
working on ...
0
votes
1answer
45 views
Tweak the TextMate's soft wrap
I don't know if this can be done globally or only in concrete bundles. If so, I'm interested in doing it only in the LaTeX files (LaTeX bundle then). If the solution only works globally, well, no ...
0
votes
1answer
15 views
Change Textmate Bookmark Shortcuts
How do I change the Textmate bookmark shortcuts?
The default Textmate navigate bookmark shortcuts are F2 / ⇧ + F2. This is not very convenient for me, because on my Mac the function keys are set to ...
1
vote
0answers
15 views
In textmate Is there a way to select the method/function the caret is in?
In textmate, I know I can select a few different things using the built-in select keyboard shortcuts, but I haven't seen any way to select the current method that I am in. I commonly find myself ...
2
votes
2answers
57 views
Lessc Textmate bundle doesn't save .css file
I installed: https://github.com/appden/less.tmbundle and the lessc compiler and it seems to work (no errors) but I don't see a compiled .css file.
Any ideas?
1
vote
0answers
32 views
Clipboard contents are changed without warning by TextMate
If I copy a section of text from Chrome (also Safari, TextEdit, etc.) and look at what is in the clipboard the types listed (this example is for Chrome) are:
(
"public.utf8-plain-text",
...
0
votes
1answer
16 views
Would it be possible to open up textmate and multiple specific files at the same time?
I understand from bash I can do :
mate name/of/file.ext
And if I wanted to open up many files I can do :
mate name/of/file.ext other_file.rb some_file.txt
But what if I wanted to open an entire ...
0
votes
2answers
85 views
How to open file using TextMate with new tab
Everytime i open a file with text mate and it is by default in new window, is it possible to open in new tab so I don't need to mess with the windows?
I am using latest textmate2 downloaded from ...
3
votes
1answer
2k 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: ...
2
votes
2answers
147 views
How can I disable extended keyboard characters in OS X Lion?
I'm using Textmate on OS X Lion and I used to be able to use Shift+Alt+W to
"Wrap selection in open/close tags"
but this no longer works for me. Instead I get a weird double comma character when I ...
0
votes
1answer
37 views
How to remove TextMate plugin
I install viMate (a vi keybinding plugin for TextMate) but now I want to remove it from my TextMate. I tried reinstalling TextMate but it didn't work. Can someone help with this?
Thanks in advance.
1
vote
1answer
71 views
How can I set TextMate as the default application when clicking on filenames in iTerm?
I'm using iTerm as my default bash shell with Mountain Lion
One of the features is when you click on a file name in the shell, it opens it in a TextEditor.
At the moment though, each time I click a ...
6
votes
2answers
133 views
Is it possible to use NOT in a regular expression in TextMate?
I have a Matlab project which I'm working on in the OSX editor TextMate. I need to find all instances of a certain word, let's say it's "foo", that is not either preceded by a "." or succeeded by a ...
2
votes
2answers
289 views
Is there a way to “Execute and update '# => ' markers” in Sublime Text 2?
This is my most favourite feature from ruby bundle in TextMate. Unfortunately, I can't find how to do the same in ST2. It still inserts the marker when you press TAB after the # symbol, so, I hope, ...
3
votes
2answers
118 views
What is the path to the 'mate' executable in Textmate 2's app bundle? (mate command install fails)
On a fresh installation of Textmate 2 the mate command will not install. Textmate>Preferences>Terminal>Install button does nothing.
Am I correct in assuming that the mate executable should be ...
2
votes
0answers
140 views
What syntax highlighting should I use for a Nagios configuration file?
What syntax highlighting should I use with nagios configuration files? Textmate has a lot of options for syntax highlighting but I can't find one that works.
I've tried using the Apache2 syntax, ...
4
votes
1answer
2k 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 ...
0
votes
0answers
35 views
TextMate: configure columns to be 79 characters wide?
I'm editing a JavaScript file in TextMate. I want to format the code so lines of more than 79 characters are automatically broken onto a new line. Actually, I can't check in my code till I've done ...
0
votes
1answer
21 views
How can I disable the colors dialog for Texmate?
I often edit a webpage in HTML and then switch to Chrome to preview it. In chrome to activate the web inspector you can use Command+Shift+C but if you're in Textmate that will pull up the colors ...
2
votes
0answers
204 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 ...
2
votes
0answers
134 views
How can I select enclosing quotes with TextMate?
In Textmate I can "Select Enclosing Brackets" with Command+Shift+B:
How can I set up a similar keyboard shortcut to select everything between the single / double quotes which encompass the cursor?
...
0
votes
1answer
124 views
Can I set a background image in the Textmate editor window?
In TextMate I can set the background color, and background opacity, but is it possible to use an image as the background - like in iTerm2?
If not, are there any external programs which I could use ...
0
votes
1answer
56 views
How can I prevent Textmate from reloading files when I change git branches?
I use Textmate to edit source that resides in git branches. This is what I am trying to do:
1) On branch A, open file index.htm in Textmate.
2) Checkout branch B, open file index.htm in another ...
0
votes
1answer
127 views
Textmate 2: Edit Each Line in Selection
Textmate used to allow selecting multiple lines and doing ⌥ + ⌘ + A to add text to the end of each line.
This no longer seems to work in Textmate 2.
Any ideas if this feature still works?
0
votes
1answer
97 views
How come TextMate's copy and paste never pastes the way you want it to?
It's 99% of the time indented to the wrong place.
I was curious what I'm missing on how to make it so that I can copy a piece of text, and paste it in the same context of its indentation that was ...
1
vote
1answer
114 views
Adding commands to TextMate's LaTeX bundle
I wish to add a host of commands (e.g., \enquote) to TextMate's LaTeX bundle. I wish to do that both for correct colour highlighting and for auto-completion (with the Esc or Tab key).
Where is the ...
0
votes
1answer
394 views
How do I use regular expressions in TextMate's find dialog box to search and replace?
I want to replace all the
\caption(.1..)
\caption(.2.)
\caption(.3..)
\caption(.4..)
by
\caption{}
What should I put in the search box?
1
vote
1answer
104 views
Skype versions higher then 5.x blocking TextMate Scroll - Line up binding
I've a very unpleasant issue. Skype is actually blocking a key binding to be triggered from within TextMate. Let me explain this a bit further.
I noticed that CTRL+ALT+CMD UP didn't trigger Scroll - ...
1
vote
2answers
70 views
textmate matlab.tmbundle transpose operator
The matlab.tmbundle for textmate seems to consider a single quote ' as the beginning of a quote instead of the transpose operator. I couldn't really find a solution online and I am dubious that the ...
0
votes
1answer
55 views
Save automatically when focus is lost
How can I enable this feature? See 19.5 in this TextMate Manual
0
votes
1answer
350 views
Updated LaTeX Bundle for TextMate [closed]
Where can I download an updated version of the LaTeX Bunble for TextMate (I'm still using v.1.5.10). Thanks!
0
votes
1answer
355 views
TextMate - Recover unsaved files
I was stupid and didn't save 2 textmate documents I was working on. Then my computer froze and I had to restart it. Is there any way to get them back? Is there an autosave file somewhere?
0
votes
0answers
219 views
Smart Quotes and TextMate
Anyone out there with Macs and the TextMate editor know how to make it save files always in ASCII, and never let it turn on smart quotes, smart dashes, and smart copyright symbol? There's a client I ...
0
votes
1answer
327 views
How to adjust indentation in TextMate
In TextMate I'd like to adjust the number of spaces added for indentation for JavaScript, CSS and PHP files. I found the bundle editor where I think this should be done, but I don't understand waht do ...
1
vote
3answers
501 views
Is there an Alternative to TextMate's mate and rmate for Windows?
As part of the upcoming TextMate 2 release, there will be a new feature called rmate, which will allow you to edit files from a remote machine (Linux/Unix/OSX) via SSH using your local copy of ...
0
votes
1answer
75 views
How do I re-enable an “Item” in Bundle Settings for Textmate?
So I went to Bundles -> Edit Bundles and then picked PHP then Settings and this I unchecked Enable this for Indentation Rules, and now I cannot re-enable it because it's greyed out and I cannot ...
0
votes
1answer
145 views
Installing a bundle for TextMate
I've downloaded the 30 day trial version of TextMate and wanted to use a plugin for coffeescript.
The instructions for installing the plugin say to go to this directory
cd ~/Library/Application\ ...
0
votes
1answer
83 views
Is it possible to rearrange commands and snippets inside of a Bundle's Menu Actions in TextMate 2's Bundle Editor (yet)?
In the Bundle Editor in TextMate 1, you could just drag them around to reorder bundle items or put them inside of a sub menu. I don't see any way to do that in TextMate 2.
3
votes
1answer
140 views
What is the whitespace indicated with a dot in TextMate?
In the screenshot of TextMate below, I turned on "Show Invisibles." What's the whitespace character on the third line?
Text I imported from somewhere has these dot spaces, and I'm trying to figure ...
1
vote
1answer
180 views
textmate how to insert new line above current line?
is there a keyboard shortcut for inserting a new line above the current line? Kind of the opposite of cmd+return
Thanks!
1
vote
0answers
37 views
Can Textmate detect file type before saving?
Is there a way to make Textmate recognize the file type automatically before saving?
I often create a new file for the purposes of quickly testing code and it would be nice if I didn't have to select ...
0
votes
0answers
96 views
Tooltips for custom function signatures in TextMate
I'm using TextMate, and there is a good short key to see "documentation for function call (tooltip)". But it works only for PHP-internal functions.
It would be good to have this functionality for ...
4
votes
2answers
550 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.
2
votes
1answer
1k views
Toggle between column selection and regular selection in Sublime Text 2
In Textmate, I can make a regular multiline selection using the keyboard and switch to column selection mode by pressing the alt (⌥) key.
I have not found a similar way of doing this in Sublime Text ...