For some reason, dragging the mouse cursor started doing block selects instead of the normal line select mode:
https://i.stack.imgur.com/70bmw.png
(Please ignore the fact that this image is from Visual Studio and not IntelliJ)
I tried pressing scroll-lock, pressing and releasing the alt/ctrl/shift keys, but still selecting doesn't revert to the normal "select full lines" mode. When I click and hold, then drag the mouse, I get a block (rectangle) selection.
Do you know how to undo this?
P.S. I'm running IntelliJ 9 on Ubuntu.
P.S. Holding SHIFT and pressing the up arrow button also does block select instead of normal multiline select.
"Edit" > "Column Selection Mode"
Use Alt + Shift + Insert to switch between Column and Insert selection mode.
Copying comment from brent.payne below:
If you are on ubuntu running on a bootcamp mac (macbook pro here) then the key stroke is Alt + Shift + Fn + Enter. Fn + Enter = Ins since no Ins key exists on the macbook pro
First you do
"Edit" > "Column Selection Mode"
THEN you go into
Settings -> Keymap
and search for Column Selection Mode
, then you right click it and remove the key bindings so that it doesn't come on again.
CMD + SHIFT + *
On a Macbook pro with UK keyboard
Or if you are on MacOS: simply press ⇧⌘A in Editor, search for Column Section Mode and just turn it OFF.
Success story sharing