A commercial text editor for OS X

learn more… | top users | synonyms

0
votes
0answers
489 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 ...
4
votes
1answer
2k 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 ...
4
votes
3answers
2k 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
100 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
209 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\ ...
1
vote
2answers
215 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
452 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
432 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
51 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 ...
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
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 ...
3
votes
2answers
2k views

TextMate 2: can the file browser [project drawer] be put on the right side?

in TextMate 2, can the file browser be put on the right side? the old textmate solution does not seem to work.
5
votes
3answers
2k views

Is there a way to line wrap selected text in TextMate?

I sometimes write long comments in my code. I hate manually wrapping them after 80 characters, and rewrapping them if I edit the comment. Is there a way (or a bundle) that will apply an 80 character ...
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.
2
votes
2answers
626 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
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?
0
votes
0answers
244 views

TextMate: gear menu won't open with Ctrl-Escape

I am trying to open the gear menu when the caret is inside e.g. an 'echo' inside a .php file. Ctrl-Esc does nothing. Can someone think of a way to debug this?
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
319 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 ...
8
votes
4answers
25k views

How do I make Vim beautiful (read: Textmate font/color ) on Mac OS X Lion? [closed]

I am just starting to make the Textmate to Vim switch. I love it, but it's so ugly. I'm running Mac OS X Lion and needed Ruby support so I am using Vim 7.3 as installed via Homebrew not the Vim Lion ...
2
votes
1answer
688 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
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
2answers
1k 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
95 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
313 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
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 ...
0
votes
3answers
2k views

How to show indentation guides in TextMate

How do I show indentation guides in TextMate? Anyone knows if there is a bundle for this? There's no setting, obviously.
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
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

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?
2
votes
1answer
225 views

How to open current TextMate file in another application

I'm basically using TextMate only for its project drawer, find in project, and AckMate. What I'd like to do is automatically open the current file in another application (Aquamacs to be specific). Is ...
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
353 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 ...
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 ...
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 ...
3
votes
1answer
96 views

Textmate: Start with project drawer open AND files open

Is there a way to start a new instance of Textmate with the project drawer open AND 1 or more files open? It is acceptable if the files or project drawer are opened AFTER Textmate starts as long as ...
3
votes
1answer
523 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 "...
4
votes
2answers
2k views

How do I install the C# TextMate bundle?

I found two C# text mate bundles. csharp-tmbundle: It says, this is the official TextMate bundle, but when I download it, I only get directories, not a .tmbundle file. C# Bundle for TextMate (...
2
votes
1answer
91 views

No break space is inserted when using multiple line edit in TextMate

I reinstalled the newest TextMate(Version 1.5.10 (1631)) on OS X Lion. It works fine, but when I do multiple line edit and insert space character, I end up having no break space (0xc2 0xa0). Why is ...
4
votes
1answer
88 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
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 ...
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
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.
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?
4
votes
1answer
368 views

Textmate single quotes autoclosure

I’m using TextMate 1.5.10 on OS X Lion, and for some weird reason I don‘t get autocomplete for single quotes ('). Double quotes (") work fine. Since I personally prefer to use single quotes whenever ...
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 ...