# Multiple Carets

We have brought the multiple selection experience from your favorite Code Editor to TablePlus’ Query Editor. And it’s available on the latest official build of macOS version.

Here is the sneak peek of the multiple cursors:

### **Add cursors at arbitrary positions**

To add an addtional cursor at a random place, select a position with your mouse/touchpad and use **`⌘ + Click`**.

![Multiple cursors in TablePlus](https://tableplus.com/assets/images/multi-cursors/select-random.gif)

### **Add cursors to the next line**

To add additional cursors above or below the current position use: **`⌃ + ⇧ + ↑`** or **`⌃ + ⇧ + ↓`**

![Multiple cursors in TablePlus](https://tableplus.com/assets/images/multi-cursors/up-down.gif)

### **Select next instances**

To select the next instance one by one, use **`⌘ + D`**.

* When your selection is a string, highlight the string and press **`⌘ + D`**.
* When your selection is a word, you can just put the cursor at the word and press **`⌘ + D`** without having to highlight the entire word first.

![Multiple cursors in TablePlus](https://tableplus.com/assets/images/multi-cursors/select-one-by-one.gif)

### **Select all instances**

If you want to add additional cursors to select all instances of the current selection, use **`⌘ + ⌃ + G`**.

![Multiple cursors in TablePlus](https://tableplus.com/assets/images/multi-cursors/multiple-selection.gif)

### **Escape multi cursors**

To escape the multi-line selection, press **`Esc`**&#x6B;ey.


---

# 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://docs.tableplus.com/query-editor/multiple-carets.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.
