How do I turn off mouse block selection in IntelliJ?

UbuntuIntellij Idea

Ubuntu Problem Overview


For some reason, dragging the mouse cursor started doing block selects instead of the normal line select mode:

enter image description here

(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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionripper234View Question on Stackoverflow
Solution 1 - Ubuntuddx001View Answer on Stackoverflow
Solution 2 - UbuntuTomasz NurkiewiczView Answer on Stackoverflow
Solution 3 - UbuntuPylinuxView Answer on Stackoverflow
Solution 4 - UbuntuAlbert James TeddyView Answer on Stackoverflow
Solution 5 - UbuntuamatkivskiyView Answer on Stackoverflow