pycharm multiple cursors when selecting code example
Example: multiple selection in pycharm
Find action
If you do not remember a shortcut for the action you want to use,
press Ctrl+Shift+A to find any action by name.
For multiple selection, just type "multi" in the dialog box.
I hope you will get the one relevant for your purpose.