How do I turn off mouse block selection in IntelliJ?
UbuntuIntellij IdeaUbuntu Problem Overview
For some reason, dragging the mouse cursor started doing block selects instead of the normal line select mode:
(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.
Ubuntu Solutions
Solution 1 - Ubuntu
"Edit" > "Column Selection Mode"
Solution 2 - Ubuntu
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
Solution 3 - Ubuntu
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.
Solution 4 - Ubuntu
CMD + SHIFT + *
On a Macbook pro with UK keyboard
Solution 5 - Ubuntu
Or if you are on MacOS: simply press ⇧⌘A in Editor, search for Column Section Mode and just turn it OFF.