VSCode has a default shortcut for copying a line up or down:
The combination of
Ctrl+Alt consumes the up/down key.
I guess this is because
Ctrl+Alt+directional key is used for moving a window the workspace left/right/above/below the current one.
But the system settings (Settings»Keyboard»Customize Shortcut) show only keyboard shortcuts for moving windows left and right. Maybe because my workspaces are “horizontally aligned”.
How can I disable the system shortcut, so that it doesn’t get consumed by the system and get passed through to VSCode?