Config editor keyboard shortcuts

Overview

The CDRouter web UI includes an easy-to-use editor for modifying configuration files that describe a DUT’s behavior.

The configuration file template (which is used whenever a new configuration file is created) organizes testvars and groups them into expandable and collapsible sections per CDRouter expansion. Each testvar has help text which automatically appears in the right margin when the cursor is placed anywhere on a line containing a testvar name.

The new config editor includes a number of useful keyboard shortcuts which make it easy to create and edit new CDRouter config files. A list of the most popular keyboard shortcuts for the new config file editor can be shown by pressing Alt + H. A full list of all available keyboard shortcuts is provided below.

CDRouter Shortcuts

Keyboard Shortcut Action
Ctrl + Space Autocomplete section name, testvar name, or testvar value
Alt + ; Comment in/out current line or selected lines
Ctrl + / Show/hide inner-most SECTION block
Shift + Ctrl + / Show/hide all SECTION blocks
Alt + G Go to a specific line number
Alt + C Check the config file for errors
Alt + H Display keyboard shortcut window
Ctrl + . Increment instance number of all wildcard testvars in the current or selected lines.
Ctrl + , Decrement instance number of all wildcard testvars in the current or selected lines.

Universal Shortcuts

Keyboard Shortcut Action
Left Arrow Move cursor one character left
Right Arrow Move cursor one character right
Up Arrow Move cursor up one line
Down Arrow Move cursor down one line
End Jump to the end of the current line
Home Jump to the beginning of the current line
Page Up Move the cursor one page up
Page Down Move the cursor one page down
Delete Delete the character to the right of the cursor
Backspace Delete the character to the left of the cursor
Tab Add one tab
Shift + Tab Auto indent
Enter Newline and indent
Insert Toggle overwriting of characters

PC Shortcuts

Keyboard Shortcut Action
Ctrl + A Select all
Ctrl + D Delete the current line
Ctrl + Z Undo
Shift + Ctrl + Z Redo
Ctrl + Y Redo
Ctrl + Home Jump to the beginning of the file
Alt + Up Jump to the beginning of the file
Ctrl + End Jump to the end of the file
Ctrl + Down Jump to the end of the file
Ctrl + Left Move the cursor to the beginning of the current text block
Ctrl + Right Move the cursor to end of the current text block
Alt + Left Move cursor to the beginning of the current line
Alt + Right Move cursor to the end of the current line
Ctrl + Backspace Delete all characters to the left of the cursor until the first space
Ctrl + Delete Delete all characters to the right of the cursor until the first space
Ctrl + S Save the file
Ctrl + F Find a keyword in the file
Ctrl + G Find next occurrence of keyword
Shift + Ctrl + G Find previous occurrence of keyword
Shift + Ctrl + F Replace keyword with value
Shift + Ctrl + R Replace all keywords with value
Ctrl + [ Indent one less level
Ctrl + ] Indent one more level

Mac Shortcuts

Keyboard Shortcut Action
Cmd + A Select all
Cmd + D Delete the current line
Cmd + Z Undo
Shift + Cmd + Z Redo
Cmd + Y Redo
Cmd + Up Jump to the beginning of the file
Cmd + End Jump to the end of the file
Cmd + Down Jump to the end of the file
Alt + Left Move the cursor to the beginning of the current text block
Alt + Right Move the cursor to the end of the current text block
Cmd + Left Move cursor to the beginning of the current line
Cmd + Right Move cursor to the end of the current line
Alt + Backspace Delete all characters to the left of the cursor until the first space
Alt + Delete Delete all characters to the right of the cursor until the first space
Cmd + S Save the file
Cmd + F Find a keyword in the file
Cmd + G Find next occurrence of keyword
Shift + Cmd + G Find previous occurrence of keyword
Cmd + Alt + F Replace keyword with value
Shift + Cmd + Alt + F Replace all keywords with value
Cmd + [ Indent one less level
Cmd + ] Indent one more level