Sublime Forum

How to cancel multi-selection and recover cursor position?

#1

As the title, assuming I want to cancel multi-selection after doing it, how to recover the cursor to its original position?
As shown in the screenshot, ESC will always move the cursor to the most front one rather than the first selected one.

0 Likes

#2

I don’t know if there is a way, but if the number of selections is small, you could use “soft undo” (Ctrl+U) as many times as needed to trace back your steps to where you started.

0 Likes

#3

Or if there are many and you have reached the last one, press ESC then Ctrl+D to find again the first one … Then ESC :smile:

0 Likes

#4

Sublime-Extras has a plugin called choosy_single_selection which lets you keep hitting escape to pick which selection you want to end up with. I highly recommend it.

0 Likes

#5

Thank you all. This thread was drown in spams at that time so I post it on reddit and got replied.

0 Likes