pegy17110
06/10/2024, 5:17 PMStefan Schippers
06/11/2024, 12:37 PM###########################################################################
#### KEYBINDINGS
###########################################################################
#### General format for specifying a replacement for a keybind
#### Replace Ctrl-q with Escape (so you wont kill the program)
# set replace_key(Control-q) Escape
#### swap w and W keybinds; Always specify Shift for capital letters
# set replace_key(Shift-W) Key-w
# set replace_key(Key-w) Shift-W
Stefan Schippers
06/11/2024, 12:42 PM#### translate Control-q to Escape. Escape does just a redraw schematic.
# set replace_key(Control-q) Escape
#### swap w and W keybinds; Always specify Shift for capital letters
# set replace_key(Shift-W) Key-w
# set replace_key(Key-w) Shift-W
#### redefine undo and redo (and move zoom out crom ctrl-z to u)
# set replace_key(u) Control-z ;# zoom out
# set replace_key(Control-z) u ;# undo
# set replace_key(Control-Shift-Z) Shift-U ;# redo
# set replace_key(Control-y) Shift-U ;# redo
#### Use shift-E to descend to symbol and 'i' to place a component
#### for Cadence nostalgic ...
# set replace_key(Shift-E) i
# set replace_key(i) Shift-I
pegy17110
06/11/2024, 12:46 PMStefan Schippers
06/11/2024, 1:03 PMset replace_key(u) Control-z ;# zoom out
will transform u
keypresses to Control-z
(Zoom out by default). The original u
function (Undo) will not be available, unless some other keybinding is translated to `u`:
set replace_key(Control-z) u ;# undo