A commercial text editor for OS X

learn more… | top users | synonyms

1
vote
3answers
3k 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
799 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
985 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
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?
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
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 ...
2
votes
1answer
698 views

problem with Textmate and placing of cursor after end of line character

Maybe a simple question but I'm a little frustrated. I must have changed a setting in Textmate but can't seem to figure out what I have done. I can place the cursor in any place on a line even after a ...
1
vote
1answer
682 views

Shortcut to insert comments on TextMate?

In Coda I can make a selection (of code) and press Cmd+/ and it will comment it. If I'm in an HTML section it will use <!-- --> and if I'm in a PHP section it will use /* */. I enjoyed this but ...
5
votes
1answer
2k views

Textmate: How to export Themes?

I created a new theme in textmate in preferences->fonts & colors, and I would like to share it with my friend. But I don't know how to export it. It would be logical to save my theme ...
0
votes
1answer
1k views

TextMate CSS autocompletion

Recently I updated my installation of TextMate and I have noticed something rather annoying. When writing CSS code, it no longer automatically appends the semicolon. Here is how it was if I typed "...
1
vote
1answer
159 views

Lost Git bundle in Textmate?

I'm not sure what happened here but I seem to have lost the git bundle in Textmate? I thought I might have accidentally removed it, but when I reinstall it, it still doesn't show up in my bundle list? ...
0
votes
1answer
48 views

Textmate bundle for AspectJ?

Where can I get a Textmate bundle for AspectJ syntax?
2
votes
1answer
253 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?
0
votes
1answer
493 views

Replacing all white spaces with commas in a 46MB text file

How long should replacing all white spaces with commas take in my 46MB text file using a simple text editor such as textmate on Mac?
0
votes
1answer
702 views

TextMate Themes Missing

I recently tried installing a few new TextMate themes to toy around with and am unable to use them for some reason. I double-clicked the tmTheme files to install them and TextMate launched, but the ...
1
vote
1answer
131 views

Textmate not working after adding /sw/lib

I am trying to use textmate from commandline as: mate file.txt but it doesn't work anymore after adding /sw/lib to my DYLD_LIBRARY_PATH. This is annoying because I want to be able add "/sw/lib" to my ...
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 ...
0
votes
1answer
228 views

Lost a keyboard shortcut in Textmate - how to get it back?

I lost the greatest keyboard shortcut for Textmate: Command+/ to toggle commenting a line of code. I thought maybe it was some Bundle I installed so I removed them all, even deleted the app and ...
2
votes
0answers
144 views

Preview in TextMate html created by ruby script

If I create ruby (or maybe not ruby, no difference) script in TextMate which produces html, is there an easy way to preview it using combination like ⌘R or using Web Preview? Now I found two ways to ...
1
vote
2answers
70 views

What does option-up and option-down do in TextMate?

If you press alt-up and alt-down in the cursor jumps vertically through the document while staying within a column. Its movement seem unpredictable but I'm sure there's a use for it. Anyone know what ...
1
vote
0answers
120 views

Mercurial Textmate bundle broken after switch to 1.5.10

After I left Textmate 1.5.9 for 1.5.10 the Textmate Mercurial bundle didn't find hg anymore. Probably due to this change: [CHANGED] Commands (without shebang) no longer source the default shell ...
0
votes
3answers
491 views

How to change the default file format for saving files in Text Mate

The default file format for text mate is .txt. I would like to change this to .md for markdown, but I can't figure out where to do this.
2
votes
0answers
260 views

Is there a TextMate bundle that includes a pane to manage bookmarks across files? [closed]

The regular bookmark feature in Textmate does not include a pane that allows you to jump to any bookmark in any file. This feature exists in Eclipse as shown below. Are there any bookmark managers ...
9
votes
1answer
7k views

Why TextMate doesn't replace tabs with spaces?

I'm using the Soft Tabs option in TextMate, but my files still contain TAB characters instead of "4-spaces". This is how it works: I open a file, it contains TABs I turn on the Soft Tabs option I ...
0
votes
1answer
354 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 ...
18
votes
3answers
12k 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++?
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 ...
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: ...
0
votes
1answer
419 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
75 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 ...
2
votes
1answer
108 views

TextMate blogging bundle: real sync between blog and project?

I'm looking for a solution to sync between a blog and a project or any other folder for that matter. Alternatively, any other Mac app would help which allows to sync an xmlrpc.php with a folder. The ...
6
votes
3answers
2k 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 ...
0
votes
1answer
113 views

How can I make TextMate aware of outside changes?

When I edit a document with TextMate, and I edit the same document with other tools, it seems that TextMate isn't aware of changes made by the other tools. I tested with emacs and emEditor, and it ...
6
votes
3answers
2k views

In Vim's insert mode, how can you go to the end of the line and insert a newline?

In TextMate, when you're not at the end of a line and you want to enter a newline, you can type Cmd-Return. Is there an equivalent for this in Vim, when you're in insert mode?
2
votes
9answers
6k views

Programmer's text editor with vertical split view for Mac OS X

I have been using TextMate 'til now, but I am missing exactly one feature: vertical split view. I know that Coda supports it, but I am not a big fan of a huge IDE which changes my workflow too much – ...
1
vote
1answer
438 views

textmate open Ruby on Rails partial shortcut

Is there a shortcut to open a Ruby on Rails partial in textmate? <%= render :partial => "/arts/menu", :locals => {:art => @art} %> Shift + Alt + Command + ↓ does not display partials....
1
vote
3answers
640 views

Default position and size for new Textmate windows

In TextMate, is it possible to define the default size and position for new windows? How?
8
votes
2answers
2k 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
542 views

TextMate on OS X - tab completion not working

What gives. I'm obviously being really thick. I open a file using TextMate (mate r1577 (2010-11-18)) on Mac OS X (10.5.8) When I try and use tab to complete a snippet, for example vp<TAB> does ...
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 ...
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 ...
3
votes
3answers
3k views

Is there a way to combine multiple TextMate windows?

After files have already been opened in separate windows, is there a way to combine them in TextMate 1.5.9? Or, is there a way to get CyberDuck to open group files edited at the same time as TextMate ...
0
votes
1answer
303 views

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 ...
11
votes
4answers
10k 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 ...
0
votes
1answer
163 views

Is there ANY possible way to make TextMate's ⌘-F regex by default?

TextMate newbie here. I hate to have to grab my mouse to click that Regular Expressions box nearly every time I search. EDIT: the Regex check box becomes unchecked anytime after using ⌘-F in Safari.