79332049

Date: 2025-01-06 04:21:53
Score: 1.5
Natty:
Report link

Thanks to the comment of @topsail, I've found the issue. I opened the command palette and entered Developer: Toggle Keyboard Shortcuts Troubleshooting. It showed me that ctrl+x is invoking default:cut command. The File -> Preferences -> Keyboard Shortcuts listed its source as user. I removed that, and a cut command (all lowercase) again with source=user. Now ctrl+x invokes Cut (with capital C) which cuts the text correctly.

I'm not sure where those default:cut and cut commands came from. Maybe when I upgraded from a very old VSCode version? Because I wasn't using VSCode in a while, and just upgraded it.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @topsail
  • Self-answer (0.5):
Posted by: Aidin