Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new command: Reset horizontal scroll #15

Open
talks2much opened this issue Jul 29, 2022 · 0 comments
Open

new command: Reset horizontal scroll #15

talks2much opened this issue Jul 29, 2022 · 0 comments
Assignees

Comments

@talks2much
Copy link

Can be useful because:
deleting really long line from its end, makes vscode to stay on this vertical scrolling (you won't stick at the start as usual), this makes you less effective as you can no longer assess code indentation properly. you can also ask me for reproduction

Builtin commands / methods allow to control scroll only vertically, which is stupid, but we can place cursor in the start and then back to its origin position, which would reset horizontal scroll

Btw need to test wether it effects location history (Go Back)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants