A commercial text editor for OS X

learn more… | top users | synonyms

1
vote
1answer
335 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
50 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
120 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
1k 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.
0
votes
1answer
1k 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
70 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
425 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
189 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
203 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
900 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
196 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
283 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
4answers
17k 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
520 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 ...
1
vote
1answer
100 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
378 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
94 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
280 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
1k 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
1k 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
2k 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
70 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
185 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
60 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
290 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
199 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
77 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
413 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
88 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 ...
4
votes
1answer
86 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
2answers
928 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
63 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
88 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
241 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
290 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
295 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
3answers
2k views

How to format code in Textmate

I like Textmate but its really driving me crazy when it comes to formatting code whatever the language I'm working with. Is there any way to format code? shortcut, bundle or anything that can help (eg ...
0
votes
2answers
678 views

Tabify / Beautify HTML in Texmate?

How can I "tabify" HTML in Textmate? I've tried selecting all, and then using Cmd+option+[ but it comes out a little weird... If it's not possible to do this in TextMate, if someone could help me ...
1
vote
1answer
795 views

Can I higlight brackets / parenthesis pairings by clicking on them in Textmate?

I recently started using Textmate, and I am loving it. I come from Notepad ++, and there is only one thing I miss: the ability to click on a bracket or parenthesis and highlighting the opening and ...
1
vote
1answer
498 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
208 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?
0
votes
1answer
229 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
728 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 ...