pycharm select multiple lines cursor code example
Example 1: pycharm multiple cursors
Linux/Windows: Alt+j
macOS: Ctrl+g
Example 2: 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.