gschemrc (Lepton EDA Reference Manual 1.9.18)

#### 3.2.2 `gschemrc` ¶

Configuration file for `lepton-schematic` schematic editor.

Files named `gschemrc` are read from `~/.config/lepton-eda/` (user configuration) and from a directory where you run `lepton-schematic` (configuration for current directory). Expressions in this file control the following settings:

- Color scheme used to draw schematics.

      (primitive-load file)

  Load a color scheme from file file, for example:

      (primitive-load "/usr/share/lepton-eda/gschem-colormap-bw")

- Custom keyboard shortcuts.

      (global-set-key key action)

  Assign key combination key to action action, for example:

      (global-set-key "<Control><Shift>N" '&file-new-window)
      (global-set-key "A A" '&add-attribute )

  Other actions and shortcut definitions can be found in the menu.scm and keys.scm files.