Vim icon indicating copy to clipboard operation
Vim copied to clipboard

j and k don't move into the same column

Open tinhajj opened this issue 2 years ago • 3 comments

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 avatar Jan 21 '24 20:01 tinhajj

This is probably related to https://github.com/VSCodeVim/Vim/issues/8108

TheDevMinerTV avatar Jan 22 '24 14:01 TheDevMinerTV

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

mmviamm avatar Mar 10 '24 17:03 mmviamm

relates to #1323

ontanj avatar Apr 10 '24 13:04 ontanj