I am editing a function. I want to rename the variable
bar in it. So I go to the beginning of the function and hit
cmd-d. Good. So I type
cmd-d again. Ah! It highlights the second occurrence. Good. So I keep hitting
Oh no! I just overshot! Now it marked a
foo that is outside the current function!
What do I do to “undo” the last