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

Regression: Unable to move up more than one line in visual mode #4853

Closed
GeoffreyRobert opened this issue May 14, 2020 · 2 comments
Closed

Comments

@GeoffreyRobert
Copy link

Bug description
In version 1.14.2:
When in line-selection visual mode, can't move cursor up more than two lines.

To Reproduce

  1. Set extension to 1.14.2
  2. Open any file in editor
  3. Place cursor at the end of more than 4 lines of text (line Navigation mode #4)
  4. Shift + V : toggle line selection
  5. Press K once : previous line gets selected (line Add ex mode #3)
  6. Press K : one more line gets selected (line vim needs to be activated always, for all files #2)
  7. Press K : cursor moves back to line Add ex mode #3 instead of moving up to line add config to launch tests #1
  8. Repeat 6. and 7. and the cursor cycles between line vim needs to be activated always, for all files #2 and Add ex mode #3

Expected behavior
On step 7. the cursor should move up one more line instead of moving DOWN one line.
Expected behavior occurs when using version 1.42.1

Environment

  • Extension (VsCodeVim) version: 1.42.2
  • VSCode version: 1.45.0
  • OS: Ubuntu 20.04

Additional context
Note the bug only occurs when bumping to 1.42.2, everything's nominal using 1.42.1

@JoshTRN
Copy link

JoshTRN commented May 14, 2020

This is a reproduction of my issue #4848. If it matters to you, if you turn fold fix off, it works.

@J-Fields
Copy link
Member

Duplicate of #4848

@J-Fields J-Fields marked this as a duplicate of #4848 May 14, 2020
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

3 participants