# 9.7 Lua Shortcut Hotkey

| Modifier key | Function key  | Function                                                                                              |
| ------------ | ------------- | ----------------------------------------------------------------------------------------------------- |
| Ctrl         | A             | Select all                                                                                            |
| Ctrl         | B             | Insert bit address                                                                                    |
| Ctrl         | C             | Copy                                                                                                  |
| Ctrl         | D             | Copy cursor line                                                                                      |
| Ctrl         | E             | When the cursor is within a pair of brackets (outside), the cursor switches position inside (outside) |
| Shift+Ctrl   | E             | When the cursor is within a pair of brackets (outside), select the text within the brackets (outside) |
| Ctrl         | F             | Search                                                                                                |
| Ctrl         | H             | Replace                                                                                               |
| Ctrl         | L             | Delete cursor line                                                                                    |
| Shift+Ctrl   | L             | Change the character to lowercase                                                                     |
| Ctrl         | S             | Save                                                                                                  |
| Ctrl         | T             | Swap position between cursor line and previous line                                                   |
| Shift+Ctrl   | U             | Capitalize the selected content                                                                       |
| Ctrl         | V             | Paste                                                                                                 |
| Ctrl         | W             | Insert word address                                                                                   |
| Ctrl         | X             | Cut                                                                                                   |
| Ctrl         | Y             | Redo                                                                                                  |
| Ctrl         | Z             | Undo                                                                                                  |
|              | Arrow key↑    | Move cursor up                                                                                        |
| Shift        | Arrow key↑    | Select up area                                                                                        |
| Shift+Alt    | Arrow key↑    | Upward vertical area selection                                                                        |
| Ctrl         | Arrow key↑    | Slide up the window                                                                                   |
| Shift+Ctrl   | Arrow key↑    | Move selected line up                                                                                 |
|              |               |                                                                                                       |
|              | Arrow key↓    | Move cursor down                                                                                      |
| Shift        | Arrow key↓    | Select down area                                                                                      |
| Shift+Alt    | Arrow key↓    | Downward vertical area selection                                                                      |
| Ctrl         | Arrow key↓    | Slide down the window                                                                                 |
| Shift+Ctrl   | Arrow key↓    | Move selected line down                                                                               |
|              |               |                                                                                                       |
|              | Arrow key←    | Move cursor to the left                                                                               |
| Shift        | Arrow key←    | Select a symbol to the left                                                                           |
| Shift+Alt    | Arrow key←    | Select a symbol to the left                                                                           |
| Ctrl         | Arrow key←    | Skip a word to the left                                                                               |
| Shift+Ctrl   | Arrow key←    | Select a word to the left                                                                             |
|              |               |                                                                                                       |
|              | Arrow key→    | Move cursor to the right                                                                              |
| Shift        | Arrow key→    | Select a symbol to the right                                                                          |
| Shift+Alt    | Arrow key→    | Select a symbol to the right                                                                          |
| Ctrl         | Arrow key→    | Skip a word to the right                                                                              |
| Shift+Ctrl   | Arrow key→    | Select a word to the right                                                                            |
|              |               |                                                                                                       |
| Ctrl         | Numeric key+  | Zoom in                                                                                               |
| Ctrl         | Numeric key - | Zoom out                                                                                              |
| Ctrl         | Slash '?/'    | Annotate selected content                                                                             |
|              | Tab           | Indent 4 spaces                                                                                       |
| Shift        | Tab           | Reduce 4 spaces                                                                                       |
|              |               |                                                                                                       |
|              | Home          | Move the cursor to the beginning of the line                                                          |
| Shift        | Home          | Select the cursor position to the beginning of the line                                               |
|              | End           | Move the cursor to the end of the line                                                                |
| Shift        | End           | Select the cursor position to the end of the line                                                     |
|              | PageUp        | The cursor moves up one page according to the window size                                             |
| Shift        | PageUp        | Select the cursor position to the previous page                                                       |
|              | PageDown      | The cursor moves down one page according to the window size                                           |
| Shift        | PageDown      | Select the cursor position to the next page                                                           |
|              | Insert        | Switch input mode                                                                                     |
|              |               |                                                                                                       |
|              |               | Delete symbol                                                                                         |
|              | Delete        | Delete a symbol backward                                                                              |
| Ctrl         | Backspace     | Delete the content of a word range to the left of the cursor                                          |
| Ctrl         | Delete        | Delete the content of a word range to the right of the cursor                                         |
| Ctrl+Shift   | Backspace     | Delete all contents to the left of the cursor                                                         |
| Ctrl+Shift   | Delete        | Delete all contents to the right of the cursor                                                        |
|              |               |                                                                                                       |
|              |               | paragraph operation                                                                                   |
| Ctrl         | \[            | Move cursor up                                                                                        |
| Ctrl+Shift   | \[            | Move cursor up and select area                                                                        |
| Ctrl         | ]             | Move cursor down                                                                                      |
| Ctrl+Shift   | ]             | Move cursor down and select area                                                                      |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wecon.gitbook.io/pistudio-manual/9.-scripts/lua-script/lua-shortcut-hotkey.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
