⌘D selects the word at the cursor, or the next occurrence of the current selection.
What if I want to select not the next but the LAST (or previous) occurence ? This is especially useful when checking if a variable is present in my function above where I'm currently standing with my cursor.
I've tried a bunch of shortcuts to add before ⌘ like Shift and CTRL and Option, but none do the work.
CodePudding user response:
You should look into Keyboard Shortcuts
you can open them from Command Palette
and search for Selection To Previous Find Match
, by default they are not assigned.