A commercial text editor for OS X

learn more… | top users | synonyms

3
votes
1answer
451 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
425 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!
2
votes
1answer
204 views

Focusing the drawer in TextMate on Lion

In Snow Leopard and before, Ctrl-Tab would toggle keyboard focus between the active editing window and the project drawer, so that you could navigate the project tree with the arrow keys, jump to the ...
2
votes
1answer
196 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?
1
vote
0answers
139 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 ...
2
votes
1answer
1k views

Execute script in Sublime Text 2 (cmd + r in Textmate)

In Textmate I can use CMD + R to run a script (e.g .rb or a shell script). How do I do that in Sublime Text 2?
2
votes
1answer
2k 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 ...
0
votes
1answer
71 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.
0
votes
1answer
468 views

TextMate very slow on Samba Drive

I loaded an entire Samba drive as a TextMate project. Every single time I lose cursor of TextMate to do something else like checking the web browser... and then try to click on TextMate again it ...
1
vote
1answer
2k views

wrap selection around … in notepad++

Is there any way to wrap the selected text in ',",),},],> or around any symbol in notepad++? I have looked around all of the plugins but there is nothing similar to what Textmate or eclipse can do.
0
votes
1answer
200 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
318 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 ...
0
votes
1answer
130 views

Undo TextMate command ctrl+shift+alt+p

I was going to try out a keyboard shortcut for doing a preview of CSS in TextMate. By mistake I pushed the wrong key combination(ctrl+shift+alt+p) which displayed a little window in the CSS document ...
2
votes
1answer
683 views

How can I disable spell checking for a block of text in TextMate?

When I am editing a plain text document and making notes in it, TextMate will put red lines under parts of it which should not be spell checked: How can I disable spell checking for a block of text?...
1
vote
1answer
111 views

Can I prevent textmate from auto adding semicolons after colons?

Is there a way to prevent textmate from auto-typing a ; after every : when editing CSS? I still want it to auto add closing brackets and curly braces. Just not semi-colons. I've seen the option in ...
3
votes
1answer
465 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
2answers
2k 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
3k views

Vim: FuzzyFinder versus CommandT plugin? [closed]

I've been searching for a "fuzzyfinder" plugin like the "Go to file" option on textmate. I have found two plugins that seems to mimic this function: FuzzyFinder Command-T Does anybody have any ...
1
vote
1answer
1k views

How do I use “cin” and “cout” in C++ with TextMate?

I am new to both C++ and TextMate, and I'm running into a problem. When I run my extremely basic "programs" in TextMate using C++, it completely ignores the statement "cout >>" and just either ignores ...
2
votes
1answer
3k 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
72 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?
3
votes
2answers
2k views

Textmate - don't even use soft tabs

I've just moved to Mac and am trying out TextMate, so I'm not familiar with bundle config etc. Is there a way to make TextMate just use spaces, rather than soft tabs, for all file types? For example: ...
1
vote
3answers
2k views

How can I enable variable highlighting and bracket highlighting for TextMate?

I am trying TextMate on a Mac and there are a lot of things i miss on Notepad++ that I wish TextMate has. Does anyone know if there is a way to enable bracket highlighting so I can see which ...
0
votes
1answer
203 views

Textmate: assigning language highlighting to files with some extensions

do you know if I can assign a specific highlighting to some files or extensions with textMate? For example, I have a example.module file and I want to assign a php highlighting to it. thanks
1
vote
0answers
62 views

Mac text editor that can colour chunks of code?

I'm an avid Textmate user and for the job I'm working on could really do with highlighting large chunks of code. It's a proper soup at the moment and it would be great if I could highlight a chunk and ...
1
vote
3answers
351 views

How do I remove TextMate's temporary files using rm?

Note that I'm not trying to disable the creation of these files. I want to keep them around until I'm ready to commit changes to my source control. The files are scattered throughout many ...
4
votes
1answer
87 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?
1
vote
1answer
75 views

What are the various ways to manage TextMate bundles?

I find the capabilities and diversity of TextMate bundles to be pretty good, but even in 2011 there doesn't seem to be a great way to sanely manage TextMate bundles, keep things updated, and add and ...
3
votes
1answer
3k views

TextMate GetBundle stopped working in Snow Leopard

It seems that I am no longer able to Get Bundles using TextMate after upgrading to Snow Leopard. I get the following error message. Googling shows no solutions. I have updated to the latest ...
1
vote
0answers
145 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 ...
3
votes
1answer
517 views

Calculating in TextMate using “Filter Through Command”

I have a line in a file, which I have open in TextMate. I would like to select the line, or rather the content of the line; 54 + 34.43 and have it be replaced with the total sum. I've used the "...
2
votes
2answers
2k views

Shell Window within Textmate

Is there a TextMate Plugin that provides a simple shell window within the editor window? I use the "Missing Drawer" plugin, which replaces the built-in project drawer, so i guess that it is basically ...
2
votes
5answers
745 views

Textmate opening links from Tweetdeck

Since setting Textmate to open html files by default, it tries to open links inside Tweetdeck. If I switch it back to opening html files in a browser, it is fine, but I want to open html files in ...
3
votes
1answer
66 views

Upgrade/downgrade quotes in Textmate

Let's say I have this text: "stringy thingy" Is there a Textmate command or bundle that lets me place my cursor inside the quotes, press a command key sequence, and it will automatically change ...
0
votes
2answers
297 views

Unfolding not matching problem with TextMate/Python mode

As shown below: TextMate's Python mode can't detect the end of a Python function. As a result, the folding/unfolding action isn't working for Python code. Is this a bug of the Python bundle? If ...
2
votes
2answers
1k views

Run a script on save in textmate

I was wondering if it was possible to run a custom script on save based on certain file names in textmate. For example I'd like to auto compile a C program sometime on save.
0
votes
1answer
240 views

TextMate indentation “navigation” as in Notepad++

I want to duplicate the function from Notepad++ where you can easily view your indentation in your code. I want the dotted border that is lined within the indent. Is there a plugin for this? Or ...
0
votes
1answer
101 views

TextMate editor window live code return

I'm trying to figure out if there is a way in TextMate that I can send out the code I'm typing on the fly to TextEdit. Maybe some AppleScript or something, any thoughts? Thanks.
1
vote
1answer
351 views

Indentation-based Folding for TextMate

SASS and HAML have indentation-based syntax, much like Python. Blocks of related code have the same number of spaces at the start of a line. Here's some example code: #drawer height: 100% color: ...
2
votes
1answer
257 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
338 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 ...
1
vote
1answer
600 views

How can I type a single quote in Textmate?

Textmate has automatic quotation closure (clojure) and that's great most of the time. But a lot of times I just need to type a single ' or " and as far as I know there is no way to do this - which is ...
2
votes
1answer
274 views

How to merge 2 columns to one in TextMate?

Anyone knows how would one merge such list as item 1 item 2 item 3 item 4 to item 1 item 2 item 3 item 4 in TextMate or TextWrangler?
2
votes
2answers
239 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 ...
2
votes
2answers
318 views

Textmate unable to find Mercurial hg

When I attempt to run Mercurial diff from within Textmate, I get an error "Couldn't find hg." hg works from the command line and is in my path. Any suggestions?
0
votes
1answer
873 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
123 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, ...
1
vote
1answer
148 views

How to move the cursor to the beginning of my code on a line in Textmate?

I know I can press "Apple Left" or "Ctrl a" to move the cursor to the beginning of a line. But how to move the cursor to the beginning of my code? (like I can do M-m in GNU Emacs on Terminal). Ex. ...
0
votes
1answer
340 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 ...
2
votes
1answer
347 views

Shortcut for Refresh All Projects?

I began to use Textmate. When it's focused, it read the project directory recursively and it stops responding for a while. So I installed ReMate plugin and it adds option for 'Disable Refresh on ...