2. Generic bindings

What if you want add bindings which are not specific to a document type. Do you really have to include them in all configuration files?

What if you really hate some of the default bindings of XXE? Do you really have to stop using XXE?

The answer is no to both questions. Simply add your generic bindings to a file called customize.xxe anywhere XXE can find it. For example, create this file in the addon/ subdirectory of your user preferences directory. XXE user preferences directory is:

For more information about how XXE finds its configuration files, please read Section 1, “Dynamic discovery of add-ons”.

If several configuration files called customize.xxe are found, their contents are merged with a higher priority to customize.xxe files found in the user preferences directory.

File customize.xxe may also be used to specify parameterGroup, imageToolkit, spreadsheetFunctions, property.

A very useful[2] sample customize.xxe may be downloaded and installed using XXE add-on manager (OptionsInstall Add-ons). Excerpt of this sample customize.xxe:

                     . . .
  <binding>
    <keyPressed code="ESCAPE" />
    <charTyped char="l" />
    <command name="convertCase" parameter="lower" />
  </binding>

  <binding>
    <keyPressed code="ESCAPE" />
    <charTyped char="u" />
    <command name="convertCase" parameter="upper" />
  </binding>

  <command name="insertCommandOutput">
    <macro>
      <sequence>
        <command name="run" />
        <command name="insertString" parameter="%_" />
      </sequence>
    </macro>
  </command>

  <binding>
    <keyPressed code="ESCAPE" />
    <charTyped char="!" />
    <command name="insertCommandOutput" />
  </binding>
                     . . .                   

Important

Defining a binding in customize.xxe prevents XXE from using the same keystroke as a menu accelerator. For example, if you bind a command such as "recordMacro toggle" to Ctrl+O, then menu item FileOpen will loose its customary shortcut.



[2] Yours truly cannot use XXE without it.