We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This plugin is great! However, it would be even better if it also restored the scroll position.
E.g. suppose the viewport is 3 lines tall and user is editing line 03 and it's in the center of their viewport.
03
01 -- top of the screen 02 03 cursor | 04 -- bottom of the screen 05 06 07
When they jump to line 07 and then press Ctrl+I, they end up in this situation:
07
-- top of the screen 01 02 03 cursor | -- bottom of the screen 04 05 06 07
The text was updated successfully, but these errors were encountered:
Looks like getScrollTop and setScrollTop could help. I'll try to look into this…
getScrollTop
setScrollTop
Sorry, something went wrong.
Thank you very much for the suggestion. I guess it is possible to do so indeed. PR are more than welcome!
No branches or pull requests
This plugin is great! However, it would be even better if it also restored the scroll position.
E.g. suppose the viewport is 3 lines tall and user is editing line
03
and it's in the center of their viewport.When they jump to line
07
and then press Ctrl+I, they end up in this situation:The text was updated successfully, but these errors were encountered: