TextMate2ExpertPreferences

FAQ.TextMate2ExpertPreferences History

Hide minor edits - Show changes to output

February 17, 2013, at 12:57 UTC by Allan Odgaard - Moved to GitHub
Changed lines 2-37 from:
TextMate has a few settings which are not exposed in the GUI.

You can change these with the [`defaults`](http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/defaults.1.html) shell command but you need to do this while TextMate is not running.

You set a key to a given value with the following syntax:

defaults write com.macromates.TextMate.preview «key» «value»

You can always reset a key to its default value using:

defaults delete com.macromates.TextMate.preview «key»

Or you can read the value of a key using:

defaults read com.macromates.TextMate.preview «key»


### `disableAntiAlias`

Disables the anti-aliasing of fonts in the editor window.

Example:

defaults write com.macromates.TextMate.preview disableAntiAlias -bool YES

### `volumeSettings`

Use of extended attributes can be disabled. The value is an associative array with path prefix and another associative array with settings for that path (presently only extendedAttributes is supported, but SCM badges, display names, and more is likely to appear). So if for example we wish to disable extended attributes for files under /net/ we can do:

defaults write com.macromates.TextMate.preview volumeSettings '{ "/net/" = { extendedAttributes = 0; }; }'

### `fontLeadingDelta` & `fontAscentDelta`

These must be set as floats or integers (not strings).

defaults write com.macromates.TextMate.preview fontLeadingDelta -float 0
to:

[Moved to GitHub](https://github.com/textmate/textmate/wiki/Hidden-Settings).
February 17, 2013, at 12:54 UTC by Allan Odgaard - Update
Changed line 3 from:
[Toko Bunga Online](http://www.tokobungasabana.com) | [Anti Rayap](http://www.doxapest.co.id/index.php/pest-control-dan-anti-rayap) | [Pest Control](http://www.doxapest.co.id/index.php/pest-control-dan-anti-rayap)
to:
Deleted lines 18-25:
### `fileBrowserPlacement`

This allows you to move the file browser from the left to the right side of the window.

Example:

defaults write com.macromates.textmate fileBrowserPlacement right
Deleted lines 25-48:

### `htmlOutputPlacement`

HTML output for commands can be either moved to the right of the editor view or into a separate window. Values: `window`, `right` (The width for the `right` setting is presently not persisted across relaunches (and defaults to 100px).)

Example:

defaults write com.macromates.TextMate.preview htmlOutputPlacement window

### `disableTabBarCollapsing`

Always show the tab bar even with only a single tab.

Example:

defaults write com.macromates.TextMate.preview disableTabBarCollapsing -bool YES

### `initialFileBrowserURL`

Set (to a URL) to change the initial location of the file browser (for new windows).

Example:

defaults write com.macromates.TextMate.preview initialFileBrowserURL "file://$HOME/Source/"
February 15, 2013, at 02:09 UTC by Danielo -
Changed lines 2-4 from:
TextMate has a few settings which are not exposed in the GUI. You can change these with the [`defaults`](http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/defaults.1.html) shell command but you need to do this while TextMate is not running.
to:
TextMate has a few settings which are not exposed in the GUI.
[Toko Bunga Online](http://www.tokobungasabana.com) | [Anti Rayap](http://www.doxapest.co.id/index.php/pest-control-dan-anti-rayap) | [Pest Control](http://www.doxapest.co.id/index.php/pest-control-dan-anti-rayap)
You can change these with the [`defaults`](http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/defaults.1.html) shell command but you need to do this while TextMate is not running.
February 14, 2013, at 19:20 UTC by cthe - Remove spam
Changed lines 2-4 from:
TextMate has a few settings which are not exposed in the GUI.
[Toko Bunga Online](http://www.tokobungasabana.com) | [Anti Rayap](http://www.doxapest.co.id/index.php/pest-control-dan-anti-rayap) | [Pest Control](http://www.doxapest.co.id/index.php/pest-control-dan-anti-rayap)
You can change these with the [`defaults`](http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/defaults.1.html) shell command but you need to do this while TextMate is not running.
to:
TextMate has a few settings which are not exposed in the GUI. You can change these with the [`defaults`](http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/defaults.1.html) shell command but you need to do this while TextMate is not running.
January 23, 2013, at 02:36 UTC by daniel -
Changed line 3 from:
to:
[Toko Bunga Online](http://www.tokobungasabana.com) | [Anti Rayap](http://www.doxapest.co.id/index.php/pest-control-dan-anti-rayap) | [Pest Control](http://www.doxapest.co.id/index.php/pest-control-dan-anti-rayap)
February 24, 2012, at 08:25 UTC by Infininight - Decrease heading size.
Changed lines 19-20 from:
## `fileBrowserPlacement`
to:
### `fileBrowserPlacement`
Changed lines 27-28 from:
## `disableAntiAlias`
to:
### `disableAntiAlias`
Changed lines 35-36 from:
## `htmlOutputPlacement`
to:
### `htmlOutputPlacement`
Changed lines 43-44 from:
## `disableTabBarCollapsing`
to:
### `disableTabBarCollapsing`
Changed lines 51-52 from:
## `initialFileBrowserURL`
to:
### `initialFileBrowserURL`
Changed lines 59-60 from:
## `volumeSettings`
to:
### `volumeSettings`
Changed line 65 from:
## `fontLeadingDelta` & `fontAscentDelta`
to:
### `fontLeadingDelta` & `fontAscentDelta`
February 24, 2012, at 08:25 UTC by Infininight - Markdown format.
Added line 1:
(:markdown:)
Changed lines 4-5 from:
You can change these with the [[http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/defaults.1.html | @@defaults@@]] shell command but you need to do this while TextMate is not running.
to:
You can change these with the [`defaults`](http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/defaults.1.html) shell command but you need to do this while TextMate is not running.
Changed lines 19-20 from:
!! `fileBrowserPlacement`
to:
## `fileBrowserPlacement`
Changed lines 27-28 from:
!! `disableAntiAlias`
to:
## `disableAntiAlias`
Changed lines 35-36 from:
!! `htmlOutputPlacement`
to:
## `htmlOutputPlacement`
Changed lines 43-44 from:
!! `disableTabBarCollapsing`
to:
## `disableTabBarCollapsing`
Changed lines 51-52 from:
!! `initialFileBrowserURL`
to:
## `initialFileBrowserURL`
Changed lines 59-60 from:
!! `volumeSettings`
to:
## `volumeSettings`
Changed lines 63-66 from:
defaults write com.macromates.TextMate.preview volumeSettings '{ "/net/" = { extendedAttributes = 0; }; }'

!! `fontLeadingDelta` & `fontAscentDelta`
to:
defaults write com.macromates.TextMate.preview volumeSettings '{ "/net/" = { extendedAttributes = 0; }; }'

## `fontLeadingDelta` & `fontAscentDelta`
Changed lines 69-70 from:
defaults write com.macromates.TextMate.preview fontLeadingDelta -float 0
to:
defaults write com.macromates.TextMate.preview fontLeadingDelta -float 0
(:markdownend:)
February 24, 2012, at 08:13 UTC by Infininight - Remove header.
Deleted lines 0-1:
! TextMate 2 Alpha Expert Preferences
February 24, 2012, at 08:12 UTC by Infininight - Initial import.
Added lines 1-70:
! TextMate 2 Alpha Expert Preferences

TextMate has a few settings which are not exposed in the GUI.

You can change these with the [[http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/defaults.1.html | @@defaults@@]] shell command but you need to do this while TextMate is not running.

You set a key to a given value with the following syntax:

defaults write com.macromates.TextMate.preview «key» «value»

You can always reset a key to its default value using:

defaults delete com.macromates.TextMate.preview «key»

Or you can read the value of a key using:

defaults read com.macromates.TextMate.preview «key»


!! `fileBrowserPlacement`

This allows you to move the file browser from the left to the right side of the window.

Example:

defaults write com.macromates.textmate fileBrowserPlacement right

!! `disableAntiAlias`

Disables the anti-aliasing of fonts in the editor window.

Example:

defaults write com.macromates.TextMate.preview disableAntiAlias -bool YES

!! `htmlOutputPlacement`

HTML output for commands can be either moved to the right of the editor view or into a separate window. Values: `window`, `right` (The width for the `right` setting is presently not persisted across relaunches (and defaults to 100px).)

Example:

defaults write com.macromates.TextMate.preview htmlOutputPlacement window

!! `disableTabBarCollapsing`

Always show the tab bar even with only a single tab.

Example:

defaults write com.macromates.TextMate.preview disableTabBarCollapsing -bool YES

!! `initialFileBrowserURL`

Set (to a URL) to change the initial location of the file browser (for new windows).

Example:

defaults write com.macromates.TextMate.preview initialFileBrowserURL "file://$HOME/Source/"

!! `volumeSettings`

Use of extended attributes can be disabled. The value is an associative array with path prefix and another associative array with settings for that path (presently only extendedAttributes is supported, but SCM badges, display names, and more is likely to appear). So if for example we wish to disable extended attributes for files under /net/ we can do:

defaults write com.macromates.TextMate.preview volumeSettings '{ "/net/" = { extendedAttributes = 0; }; }'

!! `fontLeadingDelta` & `fontAscentDelta`

These must be set as floats or integers (not strings).

defaults write com.macromates.TextMate.preview fontLeadingDelta -float 0