-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Wrong cursor placement after indenting multiple lines #1135
Comments
Just a side note - this was a regression on the v0.4.9, on the version v0.4.8 and prior the cursor position was correct. |
Ahh, pointing that out is really helpful. I know why this is: 648dbf9 Easy bug fix to whoever wants it. Otherwise I'll get to it in the next few days. 😄 |
This seems to be all good now? |
Still seeing the issue with version 0.4.10. I did some digging and found out that the culprit is the following line on my config:
If I remove that line from the config, the cursor positioning is always correct, but with the solidBlockCursor enabled it gets the position wrong. |
Still seeing this issue in 0.6.2. Disabling |
I believe this is fixed by #1402. Please re-open if that's not the case. |
Please thumbs-up 👍 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.
What did you do?
Select multiple lines with linewise-select (shift+v)
Indent them with
<
or>
Press
k
orj
What did you expect to happen?
Indent the lines, and move the cursor one line up/down from the first line of the selection.
What happened instead?
The lines were indented correctly, but the cursor movement after the indentation started from the last line of the (cleared) selection instead of the first, despite the cursor showing on the first line of the selection after they have been indented.
Technical details:
The text was updated successfully, but these errors were encountered: