> For the complete documentation index, see [llms.txt](https://docs.tableplus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tableplus.com/query-editor/multiple-carets.md).

# 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.
