Tagged Questions
0
votes
1answer
22 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:
...
1
vote
1answer
36 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 ...
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",
...
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
149 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 ...
3
votes
2answers
121 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 ...
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
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
127 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
129 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 ...
0
votes
1answer
400 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 - ...
0
votes
0answers
221 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
330 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 ...
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\ ...
3
votes
1answer
142 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 ...
4
votes
2answers
554 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.
0
votes
1answer
66 views
Typing a certain key causes TextMate to save the file
Every time I type a T in Textmate, it tries to save the file. Any ideas on how to fix this?
I was messing with some bundles yesterday so it might be related to that.
2
votes
2answers
266 views
How can I set a shortcut key for selecting the PHP language in TextMate?
In the bottom of my TextMate window I have a list of languages I can select by using the mouse or hotkeys. For some reason PHP does not have a hotkey associated with it, and I can't figure out where ...
2
votes
1answer
150 views
Command-Right_Arrow and Command-Left_Arrow stopped working in Textmate on OS X Lion 10.7.2
As the title says, I have no clue what has happened, but it's annoying without it.
Anyone had this issue and/or know how to fix it?
0
votes
1answer
177 views
global keyboard shortcut to open AckMate on OSX
I'd like to bind a global keyboard shortcut to open AckMate within TextMate, even if I don't have TextMate open (open the most recent project in that case). How can I do this on Mac OSX?
2
votes
2answers
221 views
In TextMate, how do I position the cursor inside a newly generated HTML tag?
I came from the Windows TextMate clone e-texteditor. And in that app, and set to Ruby on Rails bundle while in an .html.erb document, if I was to type Ctrl-Alt-W (equivalent to Ctrl-Shift-W in ...
7
votes
2answers
1k 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 ...
3
votes
1answer
246 views
Is it possible to lose the TextMate Markdown Preview header?
Is it possible to remove the header in TextMate's Markdown Preview mode, or make it smaller?
It takes quite a bit of screen space.
2
votes
1answer
577 views
How can I set the print font-size in Textmate?
I've opened a text file in Textmate, and when I get ready to print it the font size is enormous. Not much fits on one page, even though it is just code with a fixed with.
I can copy and paste it into ...
1
vote
1answer
86 views
Why TextMate “-w” option doesn't work?
I use MacBook Air with OSX 10.7.2 and TextMate Version 1.5.10 (1631).
If I type:
mate -w 1.txt
and then close TextMate, the shell doesn't return (i.e. I don't get the shell prompt back).
...
2
votes
1answer
213 views
Alias that allows to edit ~/.bashrc and then “sources” it automatically - Why it doesn't work?
I use MacBook Air with OSX 10.7.2.
I would like to create an alias that does the following:
Opens TextMate with ~/.bashrc and allows me to edit it
Once I close TextMate, "sources" ~/.bashrc (so if ...
2
votes
2answers
573 views
Textmate: regular expression to replace matches preserving case?
How can I use a single search / replace to replace all words town with village preserving the case of the first letter in this sentence:
Towns are small cities. I live in a town.
2
votes
1answer
880 views
Is it possible to run JavaScript in Textmate?
If I try to run it now I get a XCode error. Do I need to install a JavaScript interpreter on my computer?
0
votes
1answer
50 views
How do I import external files by copying them in TextMate?
In TextMate, there is an option to import external files, but it only creates references to those files. How can I copy the files rather than reference them?
4
votes
1answer
78 views
Open Textmate with drawer hidden?
When I open a folder with textmate, either from finder, quicksilver, or the shell addon (mate), the project drawer pops up. Is there a way this can be hidden by default?
2
votes
1answer
171 views
Why do some text editors offer to end your file with a line break? Why is that important?
Why do some text editors such as BBEdit and Textmate offer to end your file with a newline (line break)? Why is that important?
Are there any caveats to not ending a file with a line break?
0
votes
1answer
226 views
How to use the latest Java from NetBeans 7.0 on TextMate?
Several months ago I downloaded NetBeans 7.0 with All Supported technologies from this page.
I find myself on TextMate more often instead of NB when experimenting Java codes, I open NB maybe once in ...
0
votes
1answer
488 views
TextMate Scala bundle
Scala and Textmate have been around for a while, but I wonder why there's no TM Scala Bundle here yet.
Is there a usable one without a hard/uncommon installation process?
The one which is as easy as ...
0
votes
1answer
79 views
Allow cmd+` to toggle between most recent windows in TextMate
In OS X if you press CMD + TAB you switch to your most recent application. If you press it again you switch to the application you were just using (because it becomes the most-recent).
In Textmate, ...
0
votes
1answer
236 views
Exclude filetypes in a Textmate project
I know in TextMate I can go to preferences -> advanced -> folder references and play with the regex pattern to remove certain types of files and folders by default.
I heard that if you have an ...
1
vote
1answer
226 views
Chunked undo in TextMate
TextMate undoes typed text one character at a time. I'm using chunked undo to mean the OS X standard behavior where undo applies for everything typed after a retype delay. Can TextMate do this?
1
vote
0answers
122 views
“Program terminated by uncaught signal” when running Python from TextMate
When I use command + R to run my Python code in TextMate under Mac OS X, I receive the follow output:
Program terminated by uncaught signal #10 after 0.32 seconds.
However when running my code with ...
0
votes
1answer
232 views
Textmate: Find and replace across project with contents of one file from said project
I have a regular expression to find the text i want (i wrapped the relevant section in custom tags) and i can do it by hand without much issue but what I want is a way to automatically find and ...
8
votes
2answers
8k views
How can I let TextMate show line numbers when I'm coding C++?
How can I let TextMate show line numbers when I'm coding C++?
0
votes
1answer
222 views
On Mac OS X over time I get multiple instances of TextMate running. Is there any way to prevent this?
On Mac OS X over time I get multiple instances of TextMate running. Is there any way to prevent this?
edit: i'm launching from the command line alias, and from the finder. yes, i only have one copy ...
0
votes
1answer
67 views
Running hot-key based on its Language in TextMate
When I have a command A of OBjective-C that has key Command-Shift-R, and command B of Text mode that has the same hotkey, I have a pop up with the activation key of Command-Shift-R regardless of the ...
6
votes
3answers
940 views
Textmate not opening at all on Mac OS X
This is a very simple and strange error - TextMate is not opening at all. I have a license fully paid for, I checked my Mac OS X activity monitor and there is no TextMate process running.
Is there a ...
5
votes
2answers
855 views
Textmate add multiline text at end of line
In Textmate, I am able to add text to several lines at once by clicking and holding the Option key and dragging with the mouse. say I have the following lines:
foo 1:
foo 2:
foo 3:
I can easily ...
0
votes
1answer
228 views
OSX: copy (command-c) adds to clipboard. How to disable?
Since a while a copy action (command-c) adds the current selection to the clipboard instead of replacing the clipboard. This mostly happens while coding in TextMate but also happened in CSSedit. The ...
7
votes
4answers
5k views
How to add TextMate to my PATH on Mac?
When you start using TextMate, you are instructed to create an alias for mate='open -a TextMate.app'. But now I am using another program that requires me to add it to the PATH. I'm not sure how to do ...
2
votes
2answers
185 views
Let Textmate “remember” the root password
There are times I need to edit root protected files, so I have to keep entering the root password again and again. I've already set up the rule so terminal is gonna ask me for root password only once ...
0
votes
1answer
501 views
Keyboard shortcut for spelling dropdown menu in OS X beyond Devonthink Pro?
Similar to this question: http://superuser.com/questions/93937/keyboard-shortcut-to-right-click-in-mac-os-x , I'm trying to find more efficient ways to use spell check in OS X. I've discovered that ...
48
votes
12answers
16k views
Markdown Live Preview Editor?
I am currently using Textmate to create Markdown documents, but it requires me to press CtrlOptionCmd + P everytime I want to 'update' the Markdown output window. Essentially I am using it like a ...