'How to prevent VSCode's Select All (Ctrl+A) from moving the cursor to the bottom of the current file?

When I select all text in the editor (Ctrl+A), the code does not scroll down to the bottom, however the cursor does. When I press Escape and I want to continue writing code, I'd like the cursor to be at the same position it was before. What happens right now is: when I press Escape, the code scrolls all the way down. I then have to find the previous cursor position.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source