Sublime Forum

How To Change Rectangular Selection Mouse Mapping

#1

I am used to holding the ALT key followed by selecting with my mouse for rectangular selections. This is not working for my latest installed version of Sublime Text (Build 4200). Holding down SHIFT + right mouse button drag does work, but I have to Google search for how to do this each time.

Am I able to change this setting to ALT + left mouse drag? If yes, how can I do it?

0 Likes

#2

What platform are you on? None of the mouse button bindings have changed since they were created. Assuming you’re on windows the default bindings are alt+shift+button1 or shift+button2. You can change the bindings under Preferences > Mouse Bindings.

0 Likes

#3

This is WIndows 11. Let me try it on my Mac Book to see if it works there. I am also facing the same issue on Sublime Text at work that is not the latest build. ALT + left mouse also does not perform rectangular selections there either.

0 Likes

#4

The keybindings on mac and windows are not the same, for the same reason copy isn’t ctrl+c on macOS.

0 Likes

#5

OPTION + LEFT mouse click works for rectangular selections for MacOS. This is close enough for Windows to be remembered.

Windows, however, ALT + left mouse does not work on any installs. SHIFT + right mouse button does work that is really bizarre that I will never remember.

0 Likes

#6

Yes, as I said it’s alt+shift+left mouse on windows and always has been. See the aforementioned mouse bindings.

0 Likes

#7

For me on all Windows installs, it is SHIFT + right mouse button.

It is not ALT + SHIFT+ left mouse button at all on any Windows install that I have.

0 Likes

#8

It’s working for me, does it work in safe mode for you?

0 Likes

#9

Okay – I see what is happening now. It appears there are multiple mouse bindings for it. Pressing ALT + SHIFT + left button does indeed allow for rectangular selections. In addition to this, SHIFT + this other mouse key I am using also allows for it. This is not the left mouse button. It is either middle or RIGHT.

0 Likes