-
-
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
Cursor jumps to position in vertical split after delete #3455
Comments
Seems related to #2688, but that should be fixed in this version, so I'm submitting again. |
I can say I've noticed this myself recently too, but with horizontal splits. Hopefully I'll be able to look at it by this weekend or next, unless someone beats me to the punch. |
It's happening to me too. Any quickfix to this? |
For future reference, and because I was guilty of this so many times, it's generally encouraged to just pile on the thumbs up on the first comment to say you are also affected by it instead of making a comment. |
Upstream issue: microsoft/vscode#15178. Full background: microsoft/vscode#51001 (comment) |
…geTextEditorSelection.
…ngeTextEditorSelection.
I'm not completely convinced I've fixed the issue via #3539, but I believe I have. If somebody could give it a shot and let me know if that works for them, too, I'd appreciate it. |
…ngeTextEditorSelection.
ouch.. quick splitting of panes in VIM is one of its most useful features... this essentially makes splitting the same file across panes and using one to reference the other chaotic and unpredictable. |
It's dealbreaking. I've wasted so much time trying to bring my nvim environment up to snuff because I can't work with it. |
If you folks can live with visual selections not working quite properly, the patch in #3539 does seem to fix the issue. Excepting searches within visual selections, it does seem to work, @flowchartsman / @heisian, and if you wanted to help figure out why visual selections aren't working, I can point you at some of my guesses as to where the problem might be arising. |
The bug also happens when you hit 'v', 'd' and any key, or 'v', 'x' and any key, or 'J' and any key. I found a workaround. When you delete a line, you can cancel the jumping effect by hitting 'ctrl-]'. A box appear with 'no definition found' and you can move as normal. The thing is, you have to hit 'ctrl-]' each time you delete a line or you join. |
Another workaround: use
I'm curious why the visual line up/down commands don't suffer from the same bug? Extension (VsCodeVim) version: 1.7.1 |
…ngeTextEditorSelection.
Closing as this should've been fixed by #4074. Let me know if this is still reproducible. |
Describe the bug
If I have the same file open in a vertical split, and the cursor is at another position in the other split, if I hit "j" or "k" to move after deleting, the cursor will jump to the same line as it is in the other split
To Reproduce
Steps to reproduce the behavior:
:vs
dd
j
ork
Expected behavior
Cursor moves up or down one line normally
Actual behavior cursor jumps
Screenshots
In the following gif, I delete a line with
dd
, and hitj
in an attempt to scroll down.Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: