# Add another cursor at next match

**URL:** <https://discuss.kakoune.com/t/add-another-cursor-at-next-match/2608>\
**Category:** Recipes & Guides\
**Created:** [December 24, 2024, 12:34am UTC](https://discuss.kakoune.com/t/add-another-cursor-at-next-match/2608 "2024-12-24T00:34:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom-huntington](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/tom-huntington/32/1067_2.png) [@tom-huntington](https://discuss.kakoune.com/u/tom-huntington)\
**Post date:** [December 24, 2024, 12:34am UTC](https://discuss.kakoune.com/t/add-another-cursor-at-next-match/2608/1 "2024-12-24T00:34:46Z")

</div>

You can add another cursor at the next matching location by using `Alt+Shift+.` in visual studio, and `Ctrl+D` in vscode.

In Kakoune, you can use `*` to add the current selection to the search register, and then use `n` to move the cursor to the next match.

How can I keep the current cursors while adding a new cursor at the next match?

---

<div class="post-metadata">

**Author:** ![tom-huntington](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/tom-huntington/32/1067_2.png) [@tom-huntington](https://discuss.kakoune.com/u/tom-huntington)\
**Post date:** [December 24, 2024, 12:37am UTC](https://discuss.kakoune.com/t/add-another-cursor-at-next-match/2608/2 "2024-12-24T00:37:57Z")

</div>

[docs](https://github.com/mawww/kakoune/blob/master/doc/pages/keys.asciidoc#searching)

**N**

add a new selection with next match after the main selection
