-
-
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
Pasting after deleting a line leaves cursor in wrong position #1218
Comments
The issue is present in a number of variations. The common theme is pasting something with a newline at the end. After hitting escape it should leave the cursor on the pasted line. |
Does esc have anything to do with it? Can you show me the text you're operating on that reproduces this? |
Correct, |
Can you give me an example of some text that you ran Do you have anything weird in your user settings? :P |
Nah this is a fresh install of vscode with the extension. Here is some sample text:
Placing the cursor on line 3 |
How weird; I can't reproduce that. Could you do me a favor and download the latest Insiders build of Code and see if the bug still reproduces there? |
Sure. Will report back with my findings. |
Interesting! That does indeed fix it. |
Ok I identified the issue and it isn't the Insiders build that fixed the issue, it is this setting:
With it |
Wow, super weird! Thanks for the report. |
Huh, solid block cursor actually cause a LOT of bugs. Definitely worth investigating further. Also very strange. |
Holy cow! I just want to say that is a really annoying and obscure bug. |
Sorry for the late response here, but I can confirm this is indeed fixed @jpoon @xconverge . Thanks! |
@benlakey We've actually just removed |
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?
dd shift-p escape
What did you expect to happen?
After pasting the line and hitting escape it should leave the cursor on the line that was pasted.
What happened instead?
The cursor is placed on the line underneath.
Technical details:
The text was updated successfully, but these errors were encountered: