Search code examples
ubuntuintellij-idea

How do I turn off mouse block selection in IntelliJ?


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.


Solution

  • 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