update docs for keybindings

This commit is contained in:
stefan schippers 2025-04-03 06:25:23 +02:00
parent f43273757d
commit 28aca824ed
4 changed files with 351 additions and 111 deletions

View File

@ -119,6 +119,7 @@ LeftButton Double click Terminate Polygon placement
- BackSpace Back to parent schematic
- Delete Delete selected objects
- Insert Insert element from library
shift Insert Open persistent insert symbol dialog box
- Print Scrn Grab screen area
- Escape Abort, redraw, unselect
ctrl Enter Confirm closing dialog boxes
@ -137,7 +138,7 @@ ctrl Right Next tab (if tabbed interface enabled)
- '#' Highlight components with duplicated name (refdes)
ctrl '#' Rename components with duplicated name (refdes)
- '5' View only probes
ctrl '0-9' set current layer (4 -13)
ctrl '0-9' set current layer (0-9)
'0' set selected net or label to logic value '0'
'1' set selected net or label to logic value '1'
'2' set selected net or label to logic value 'X'
@ -160,6 +161,7 @@ ctrl 'd' Delete files
shift 'D' Unselect selected objects by area
ctrl 'e' Back to parent schematic
- 'e' Descend to schematic
alt+shift 'E' Edit selected schematic in a new window, new xschem process
alt 'e' Edit selected schematic in a new window
'\' Toggle Full screen
shift 'F' Horizontal flip selected objects
@ -176,7 +178,9 @@ alt 'h' create symbol pins from schematic pins
ctrl 'h' Follow http link or execute command (url, tclcommand properties)
shift 'H' Attach net labels to selected instance
ctrl+shift 'H' Make schematic and symbol from selected components
- 'i' Descend to symbol
- 'i' Descend to symbol
ctrl 'i' Open persistent insert symbol dialog box
shift 'I' Insert symbol
alt 'i' Edit selected symbol in a new window
alt+shift 'J' Create labels with 'i' prefix from highlighted nets/pins
alt 'j' Create labels without 'i' prefix from highlighted nets/pins
@ -191,11 +195,13 @@ shift 'K' Unhilight all nets
ctrl 'k' Unhilight selected nets
alt 'k' Select all nets attached to selected wire / label / pin.
- 'l' Start line
shift 'L' Toggle orthogonal routing (automatic H-V or V-H)
ctrl 'l' Make schematic view from selected symbol
alt+shift 'l' add lab_wire.sym to schematic
alt 'l' add lab_pin.sym to schematic
ctrl+shift 'o' Load most recent schematic
ctrl 'o' Load schematic
shift 'O' Toggle Light / Dark colorscheme
shift+ctrl 'O' Load most recent file
ctrl 'o' 0pen file
- 'm' Move selected objects. 'm' and 'ctrl-m' commands are swapped if enable_stretch is set
ctrl 'm' Move selected objects, stretching wires attached to them
Alt 'm' Move selected objects, insert wires when separating touching instance pins/wires
@ -209,8 +215,7 @@ shift 'O' Toggle Light / Dark colorscheme
ctrl 'o' Load schematic
- 'p' Place polygon. Operation ends by placing last point over first.
alt 'p' Add symbol pin
ctrl 'p' Pan schematic view
shift 'P' Pan, other way to.
shift 'P' Pan view area
alt 'q' Edit schematic file (dangerous!)
- 'q' Edit prop
shift 'Q' Edit prop with vim
@ -252,10 +257,8 @@ ctrl 'z' Zoom out
shift '*' Postscript/pdf print
ctr+shift '*' Xpm/png print
alt+shift '*' Svg print
'-' dim colors
ctrl '-' Test mode: change line width
ctrl '+' Test mode: change line width
'+' brite colors
- '_' Toggle change line width
- '%' Toggle draw grid
ctrl '=' Toggle fill rectangles

View File

@ -2622,7 +2622,7 @@ static void handle_key_press(int event, KeySym key, int state, int rstate, int m
}
else if(state==ControlMask) { /* choose layer */
char n[30];
xctx->rectcolor = (int)key - '0'+4;
xctx->rectcolor = (int)key - '0';
my_snprintf(n, S(n), "%d", xctx->rectcolor);
tclvareval("xschem set rectcolor ", n, NULL);
@ -2642,16 +2642,15 @@ static void handle_key_press(int event, KeySym key, int state, int rstate, int m
xctx->only_probes = !xctx->only_probes;
tclsetboolvar("only_probes", xctx->only_probes);
toggle_only_probes();
} /* /20110112 */
break;
break;
}
case '6':
case '7':
case '8':
case '9':
if(state==ControlMask) { /* choose layer */
char n[30];
xctx->rectcolor = (int)key - '0'+4;
xctx->rectcolor = (int)key - '0';
my_snprintf(n, S(n), "%d", xctx->rectcolor);
tclvareval("xschem set rectcolor ", n, NULL);
@ -3501,7 +3500,7 @@ static void handle_key_press(int event, KeySym key, int state, int rstate, int m
}
}
else if(SET_MODMASK) { /* reload */
else if(EQUAL_MODMASK) { /* reload */
if(xctx->semaphore >= 2) break;
tcleval("tk_messageBox -type okcancel -parent [xschem get topwindow] "
"-message {Are you sure you want to reload from disk?}");
@ -3582,7 +3581,7 @@ static void handle_key_press(int event, KeySym key, int state, int rstate, int m
draw();
}
else if(rstate==ControlMask) { /* testmode */
else if(rstate==ControlMask) { /* Unselect floater texts */
unselect_attached_floaters();
}

View File

@ -59,6 +59,7 @@ LeftButton Double click Terminate Polygon placement
- BackSpace Back to parent schematic
- Delete Delete selected objects
- Insert Insert element from library
shift Insert Open persistent insert symbol dialog box
- Print Scrn Grab screen area
- Escape Abort, redraw, unselect
ctrl Enter Confirm closing dialog boxes
@ -77,7 +78,7 @@ ctrl Right Next tab (if tabbed interface enabled)
- '#' Highlight components with duplicated name (refdes)
ctrl '#' Rename components with duplicated name (refdes)
- '5' View only probes
ctrl '0-9' set current layer (4 -13)
ctrl '0-9' set current layer (0-9)
'0' set selected net or label to logic value '0'
'1' set selected net or label to logic value '1'
'2' set selected net or label to logic value 'X'
@ -100,6 +101,7 @@ ctrl 'd' Delete files
shift 'D' Unselect selected objects by area
ctrl 'e' Back to parent schematic
- 'e' Descend to schematic
alt+shift 'E' Edit selected schematic in a new window, new xschem process
alt 'e' Edit selected schematic in a new window
'\' Toggle Full screen
shift 'F' Horizontal flip selected objects
@ -116,7 +118,9 @@ alt 'h' create symbol pins from schematic pins
ctrl 'h' Follow http link or execute command (url, tclcommand properties)
shift 'H' Attach net labels to selected instance
ctrl+shift 'H' Make schematic and symbol from selected components
- 'i' Descend to symbol
- 'i' Descend to symbol
ctrl 'i' Open persistent insert symbol dialog box
shift 'I' Insert symbol
alt 'i' Edit selected symbol in a new window
alt+shift 'J' Create labels with 'i' prefix from highlighted nets/pins
alt 'j' Create labels without 'i' prefix from highlighted nets/pins
@ -131,6 +135,7 @@ shift 'K' Unhilight all nets
ctrl 'k' Unhilight selected nets
alt 'k' Select all nets attached to selected wire / label / pin.
- 'l' Start line
shift 'L' Toggle orthogonal routing (automatic H-V or V-H)
ctrl 'l' Make schematic view from selected symbol
alt+shift 'l' add lab_wire.sym to schematic
alt 'l' add lab_pin.sym to schematic
@ -146,11 +151,11 @@ shift 'N' Top level only netlist
ctrl 'n' Clear schematic
ctrl+shift 'N' Clear symbol
shift 'O' Toggle Light / Dark colorscheme
ctrl 'o' Load schematic
shift+ctrl 'O' Load most recent file
ctrl 'o' Open file
- 'p' Place polygon. Operation ends by placing last point over first.
alt 'p' Add symbol pin
ctrl 'p' Pan schematic view
shift 'P' Pan, other way to.
shift 'P' Pan view area
alt 'q' Edit schematic file (dangerous!)
- 'q' Edit prop
shift 'Q' Edit prop with vim
@ -160,7 +165,7 @@ alt 'r' Rotate objects around their anchor points
shift 'R' Rotate
- 'r' Start rect
shift 'S' Change element order
ctrl+shift 'S' Save as schematic
ctrl+shift 'S' Save as schematic
- 's' run simulation (asks confirmation)
ctrl 's' Save schematic
alt 's' Reload current schematic from disk
@ -192,10 +197,8 @@ ctrl 'z' Zoom out
shift '*' Postscript/pdf print
ctr+shift '*' Xpm/png print
alt+shift '*' Svg print
'-' dim colors
ctrl '-' Test mode: change line width
ctrl '+' Test mode: change line width
'+' brite colors
- '_' Toggle change line width
- '%' Toggle draw grid
ctrl '=' Toggle fill rectangles

File diff suppressed because one or more lines are too long