====== Config ======

After you close the application for the first time a config file gets written containing global settings. There are seperate config files for zim in read-write and zim in readonly mode. Both files can be found at ''$XDG_CONFIG_HOME/zim/'', where ''$XDG_CONFIG_HOME'' defaults to ''$HOME/.config/''.

===== Config options =====

=== pane_vis (0) ===
Boolean whether the side pane is visible or not.

The ALT-I keybinding toggles this option.

=== pane_pos (120) ===
Size of the side pane when it is visible. This option
is automaticly updated when the application closes.

=== pathbar_type (trace) ===
Can be either "trace", "namespace" or "hidden".

When set to "trace" the pathbar shows the history,
when set to "namespace" the pathbar shows the current
namespace.

The ALT-J keybinding toggles this option.

=== icon_size (large-toolbar) ===
Determines the size of the icons in the toolbar.
See FIXME for other valid values.

=== x (500) ===
This option sets the width of the window. It is automaticly
updated when you close the application.

=== y (350) ===
This option sets the height of the window. It is automaticly
updated when you close the application.

=== default_root (undef) ===
This option can set a directory to use as repository root when
none was given at the command line. If set you can call ''zim''
without arguments.

=== browser (undef) ===
This option can configure a command to use when an external
link was clicked. If undefined the ''$BROWSER'' environment
variable is used. If the command contains a ''%s'' it is replaced
with the url, else the url is appended.

Note that the browser is used for all external link regardless of
protocol.

=== home (Home) ===
Default home page. This is used for the "home" button and
keybinding.

=== date_page (:Date:%Y_%m_%d) ===
Format string used to generate the page name for the "date"
keybinding (ALT-D). See strftime(3) for format options.

=== hist_max (20) ===
Maximum number of items in the history.

=== undo_max(50) ===
Maximum number of steps in the undo stack.

=== follow_new_link (1) ===
If set new links created with the ^L keybinding are immediatly
followed.

=== use_tray_icon (0) ===
This option enables the "hide to tray" feature.
