Usage

Bookmarks

The new organization of bookmarks depends on profiles. Bascially, you need to create profiles first (there are several pre-defined profiles if you install iTerm from scratch), and then create your bookmarks. There are 3 kinds of profiles associated with each bookmark: Keyboard, the Terminal, and Display. By using profiles, you can conveniently create bookmarks that share same properties.

Note that when you are supplying a command in a bookmark, you must use a profile in which the "Close the session when it ends" option is not set. Otherwise, the session will immediately close upon the completion of the command.

Keyboard Profiles

There is a "Global" profile in which you define keys for global things such as switching tabs, scrolling screens.

The other profiles are used for bookmarks. You can specify either an escape sequence, a hexcode, or to ignore, for each key. You can modify the default ones or create your own. The global profile is read if there is no match for the key input in the bookmark specific profile.

Terminal Profiles

Terminal profiles let you specify the emulation behavior of iTerm.

Display Profiles

Display profiles let you specify the display behavior of iTerm. You can create your own color set, specify window size and choose your favorite font. Notice since every tab within a window should have same size and font, the window settings will only be honored for the new created windows.

Hidden Settings

There are a few settings that you cannot access via iTerm's own Preferences panel. However, you can use 'defaults" command to change them to your taste. The available settins along with the default settings are:

defaults write net.sourceforge.iTerm UseUnevenTabs -bool false
defaults write net.sourceforge.iTerm MinTabWidth -int 75
defaults write net.sourceforge.iTerm MinCompactTabWidth -int 60
defaults write net.sourceforge.iTerm OptimumTabWidth -int 175
defaults write net.sourceforge.iTerm StrokeWidth -float 0
defaults write net.sourceforge.iTerm BoldStrokeWidth -float -2
defaults write net.sourceforge.iTerm SearchCommand \
        -string "http://google.com/search?q=%@"

The first four are for setting the tab size. And the next 2 are for setting the stroke width of fonts rendering. The numbers in the example are all default settings. Experiment with different numbers. For example, to enable antialias for very small fonts, type these commands:

defaults write net.sourceforge.iTerm StrokeWidth -float -1

The last one is for the search command launched from the contextual menu. The default is to use google. You can set it to anything you want. For example, if you like yahoo, here is the command:

defaults write net.sourceforge.iTerm SearchCommand \
        -string "http://search.yahoo.com/search?p=%@"