0
votes
0answers
5 views

OSX - How can I make Textmate 2 automatically close the previous output window

On my old computer, when I use Command-R to run a python script in Textmate 2, it opens an output window. If I run the script again, Textmate closes the previous terminal window and creates a new one. ...
-1
votes
0answers
18 views

How to retrieve last version of file in Mac OS X? [duplicate]

I just made a very bad mistake. I compiled my C++ source file and wrote the binary back to my source file, like: g++ program.cpp -o program.cpp So now my program.cpp is just my binary and my source ...
0
votes
1answer
12 views

TextMate does not allow accessing menu bar using the keyboard

TextMate does not allow access to menu items by the keyboard. As soon as the menu bar is activated, TextMate editor reclaims the focus. So no opportunity to select the menus. I have tried various key ...
0
votes
0answers
11 views

Strange issue with Textmate

i've noticed a strange issue with my TextMate installation. I've tried re-installing TextMate and clearing out preference files but I am still getting this issue: Whenever I use Textmate, and command ...
0
votes
1answer
61 views

How to close the Run window in TextMate 2?

In TextMate 2, I can run the current file by pressing CmdR, and it will show in a new area under the text editor. But how can I close it?
0
votes
1answer
124 views

TextMate can't autocomplete jquery methods by pressing esc?

I'm using TextMate (mac), I was told that this app can autocomplete jquer methods or functions by pressing the esc key. I have the script tag like this: <script type="text/javascript"> ...
1
vote
0answers
39 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", ...
2
votes
2answers
515 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
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 ...
3
votes
1answer
237 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
257 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 ...
1
vote
1answer
298 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
140 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
990 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
128 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
286 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 ...
2
votes
1answer
691 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
180 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
250 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 ...
0
votes
1answer
68 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
347 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
173 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
191 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?
3
votes
2answers
254 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 ...
3
votes
1answer
323 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
852 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
90 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
2answers
255 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
885 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
1k 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
63 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
85 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
228 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
266 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
624 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
99 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
284 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
238 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
131 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
284 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 ...
13
votes
2answers
10k 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
250 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
73 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
1k 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
1k 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
258 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 ...
8
votes
4answers
7k 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
212 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
577 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 ...
59
votes
12answers
19k 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 ...