Whats the difference bettween m and <a-m>?

Could someone give an example of where to use <a-m> instead of m ?

They behave essentially the same if you’re inside the sequence but if you’re outside one goes to the next sequence and the other goes to the previous one. e.g. if you have your cursor inside an interpolated string in C# with the cursor somewhere around the word “Body:”

$"Name: {o.name}. Body: {o.body}"

<a-m> will select {o.name} and m selects {o.body}.

4 Likes

Thanks @prion !
I just assumed that m was working like % in vim: meaning you have to be on the matching caharacter to make it work. Didn’t know you could do it from anywhere…

New power unlocked !