when I am selecting multiple lines in vscode with cmd shift arrow key as you can see in the attached photo, each line gets selected individually. How can I disable this and make the selection work normally(go to the end of each line as I move down the arrow key)?
CodePudding user response:
The pattern of selections in your image is exactly what I get if the Column Selection Mode
functionality is turned on. However, you say it is not enabled.
The next possibility to check is whether the Ctrl Shift downArrow command is bound to something else other than what you expect it to be.
It is bound to cursorDownSelect
by default and that is the behaviour you are trying to achieve. You can check to see what else it might be bound to by going to the Gear icon/Keyboard Shortcuts
editor, enabling the Record Key
icon to the right of the input box. And then type Ctrl Shift downArrow to get a list of commands bound to that keybinding.
You indicated that that keybinding was indeed bound to something else by you that you could disable to get your desired behaviour.