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

j and k don't move into the same column #8840

Closed
tinhajj opened this issue Jan 21, 2024 · 3 comments
Closed

j and k don't move into the same column #8840

tinhajj opened this issue Jan 21, 2024 · 3 comments

Comments

@tinhajj
Copy link

tinhajj commented Jan 21, 2024

Describe the bug
If you push j or k and you are moving to a line with a different tab indentation the cursor doesn't stay in the same column even if it could have.

To Reproduce

  1. Start on a line that has no whitespace in the beginning
  2. Use j or k to move to a line that has tab characters in front of it

Also I believe you need to make sure tab display size is greater than 1

Expected behavior
The cursor should stay in the same column if its possible

Screenshots
2024-01-21 15-15-02.webm

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.27.2
  • VSCode version: 1.85.1
  • OS: Windows, happens on Mac OS too
@tinhajj tinhajj changed the title j and k don't move downwards into the same column j and k don't move into the same column Jan 21, 2024
@TheDevMinerTV
Copy link

This is probably related to #8108

@mmviamm
Copy link

mmviamm commented Mar 10, 2024

and it happens when you set the foldfix true in settings
"vim.foldfix": true

@ontanj
Copy link
Contributor

ontanj commented Apr 10, 2024

relates to #1323

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

4 participants