Configuring hotkeys
The system supports 29 hotkeys. Pressing a hotkey executes the command or function assigned to the hotkey.
Table 4 shows the default definitions for the hotkeys. You can change or remove hotkey definitions.
A hotkey can correspond to only one command or function. If you assign multiple commands or functions to the same hotkey, the most recently assigned command or function takes effect.
A command or function can be assigned to multiple hotkeys. You can use any of the hotkeys to execute the command or function.
If a hotkey is also defined by the terminal software you are using to interact with the device, the terminal software definition takes effect.
To configure a hotkey:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure a hotkey. | hotkey hotkey { command | function function | none } | Table 4 shows the default definitions for the hotkeys. |
3. (Optional.) Display hotkeys. | display hotkey | This command is available in any view. |
Table 4: Default definitions for hotkeys
Hotkey | Function or command |
---|---|
Ctrl+A | move_the_cursor_to_the_beginning_of_the_line: Moves the cursor to the beginning of a line. |
Ctrl+B | move_the_cursor_one_character_to_the_left: Moves the cursor one character to the left. |
Ctrl+C | stop_the_current_command: Stops the current command. |
Ctrl+D | erase_the_character_at_the_cursor: Deletes the character at the cursor. |
Ctrl+E | move_the_cursor_to_the_end_of_the_line: Moves the cursor to the end of a line. |
Ctrl+F | move_the_cursor_one_character_to_the_right: Moves the cursor one character to the right. |
Ctrl+G | display current-configuration |
Ctrl+H | erase_the_character_to_the_left_of_the_cursor: Deletes the character to the left of the cursor. |
Ctrl+K | abort_the_connection_request: Aborts the connection request. |
Ctrl+L | display ip routing-table |
Ctrl+N | display_the_next_command_in_the_history_buffer: Displays the next command in the history buffer. |
Ctrl+O | undo debugging all |
Ctrl+P | display_the_previous_command_in_the_history_buffer: Displays the previous command in the history buffer. |
Ctrl+R | redisplay_the_current_line: Redisplays the current line. |
Ctrl+T | N/A |
Ctrl+U | N/A |
Ctrl+V | paste_text_from_the_clipboard: Pastes text from the clipboard. |
Ctrl+W | delete_the_word_to_the_left_of_the_cursor: Deletes the word to the left of the cursor. |
Ctrl+X | delete_all_characters_from_the_beginning_of_the_line_to_the_cursor: Deletes all characters to the left of the cursor. |
Ctrl+Y | delete_all_characters_from_the_cursor_to_the_end_of_the_line: Deletes all characters from the cursor to the end of the line. |
Ctrl+Z | return_to_the_User_View: Returns to user view. |
Ctrl+] | kill_incoming_connection_or_redirect_connection: Terminates the current connection. |
Esc+B | move_the_cursor_back_one_word: Moves the cursor back one word. |
Esc+D | delete_all_characters_from_the_cursor_to_the_end_of_the_word: Deletes all characters from the cursor to the end of the word. |
Esc+F | move_the_cursor_forward_one_word: Moves the cursor forward one word. |
Esc+N | move_the_cursor_down_a_line: Moves the cursor down one line. You can use this hotkey before pressing Enter. |
Esc+P | move_the_cursor_up_a_line: Moves the cursor up one line. You can use this hotkey before pressing Enter. |
Esc+< | move_the_cursor_to_the_beginning_of_the_clipboard: Moves the cursor to the beginning of the clipboard. |
Esc+> | move_the_cursor_to_the_end_of_the_clipboard: Moves the cursor to the end of the clipboard. |