PyCharm: Turning selection to multiple cursors per line

Another option: with text selected, toggle column selection mode:

enter image description here

The default shortcut to toggle the mode is:

  • Linux/Windows: altshiftinsert
  • Mac cmdshift(numpad) *

(or EditColumn Selection Mode)

It’s an inconvenient shortcut for Mac, as most laptops have no numpad. I remapped it to cmdshift8.

Column selection mode actually has other purposes too: it changes the default behavour when selecting text with the keyboard and mouse. Toggle it off again to return to normal selection behaviour.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)