The Simics CLI supports two modes with different keyboard shortcuts: Windows and GNU Readline style. Most shortcuts are the same in both modes but there are some minor differences between the two as listed in the following table. The mode can be set in the preferences, via the GUI or the CLI:
simics> prefs->readline_shortcuts = TRUE simics> save-preferences
The command line in Simics can be accesses in several different ways. The shortcuts are supposed to be the same everywhere, but some terminals and telnet clients may not forward certain key combinations to Simics. A typical example where keyboard shortcuts do not work properly is the Cygwin terminal on Windows hosts. To run Simics in command-line mode on Windows, a standard Windows command line console is recommended.
The following is a list of all keyboard shortcuts supported in Simics, where
some are marked as Windows or GNU Readline only.
Move Shortcuts
Action | Shortcuts |
Move character left | Ctrl-B, Left |
Move character right | Ctrl-F, Right |
Move word left | Alt-B, Ctrl-Left |
Move word right | Alt-F, Ctrl-Right |
Move to start of line | Ctrl-A (GNU Readline), Home |
Move to end of line | Ctrl-E, End |
Edit Shortcuts
Action | Shortcuts |
Enter line | Ctrl-J, Ctrl-M, Enter |
Copy | Ctrl-C, Ctrl-Insert |
Paste | Ctrl-Y (GNU Readline), Ctrl-V, Shift-Insert |
Cut | Ctrl-X, Shift-Delete |
Cut to end of line | Ctrl-K |
Cut to start of line | Ctrl-U |
Cut previous word | Ctrl-W |
Select character left | Shift-Left |
Select character right | Shift-Right |
Select word left | Ctrl-Shift-Left |
Select word right | Ctrl-Shift-Right |
Select to start of line | Shift-Home |
Select to end of line | Shift-End |
Select line | Ctrl-A (Windows) |
Delete character left | Ctrl-H, Backspace |
Delete character right | Ctrl-D, Delete |
Delete word left | Ctrl-Backspace, Alt-Backspace, Alt-Delete |
Delete word right | Alt-D, Ctrl-Delete |
Delete to start of line | Ctrl-Home |
Delete to end of line | Ctrl-End |
History Shortcuts
Action | Shortcuts |
Next in history | Ctrl-N, Down |
Previous in history | Ctrl-P, Up |
First in history | Alt-<, Page Up |
Last in history | Alt->, Page Down |
Reverse search | Ctrl-R |
Scroll page up | Shift-Page Up |
Scroll page down | Shift-Page Down |
Completion Shortcuts
Action | Shortcuts |
Auto complete | Ctrl-I, Tab |
Show completions | Alt-? |
Transpose Shortcuts
Action | Shortcuts |
Uppercase word | Alt-U |
Lowercase word | Alt-L |
Capitalize word | Alt-C |
Transpose characters | Ctrl-T |
Transpose words | Alt-T, Ctrl-Shift-T |
Undo Shortcuts
Action | Shortcuts |
Cancel multi-line editing | Ctrl-G |
Undo | Ctrl-_, Ctrl-Z (Windows) |
Revert line | Alt-R |
Clear screen | Ctrl-L |