TextMate Help

Some non-visible stuff.

Mouse Gestures

Holding to “close other” also works in the file browser or when using ⌘T (and ⌘T now does multi-select).

One exception to “ closes other” is when single-clicking the icon of a bundle (e.g. .app) in the file browser. In this case the single-click works as “Show Package Contents”.

Completion ()

The current word suffix is taken into consideration when hitting escape.

For example in this case:

enum mark_t { kErrorMarkType, kWarningMarkType };
mark_t m = ‸MarkType;

The resulting line will become:

mark_t m = kWarning‸MarkType;

Grammar

Bundles

Discontinuous Selection

Activated by typing/deleting or using a leftward or rightward movement while a column selection is active. Alternatively use “Find All”

Find History

Just like clipboard history: ⌃⌥⌘F.

Other

Possible to enter e.g. main.{cc,h} in a Save As dialog for brace expansion (saves as first expansion, background tabs are created for further expansions).

⌘T can filter on full path by including /, extension by starting with ., can go to a line by suffixing with a line specification (see elsewhere for syntax)

Using ⌘T with find clipboard containing «file»:«line» will use that as default text.

Syntax / API