-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Describe the bug
When vim.foldfix is set to true and Line Wrap is enabled, vertical movement using count + k (relative line jumps) becomes inaccurate. The cursor fails to land on the line indicated by the relative line number. This issue is consistently reproducible in .tex files and untitled files.
To Reproduce
Steps to reproduce the behavior:
- Create a new Untitled file (or open a
.texfile) and paste several lines of text. - Enable Line Wrap in settings (
"editor.wordWrap": "on"). - Set
"vim.foldfix": trueinsettings.json. - Use a count to jump upward, e.g., type
10k. (across a wrapped line) - See error: The cursor lands on the wrong line (offset from the expected relative line number).
Expected behavior
The cursor should move precisely to the relative line number specified by the count, even when foldfix is enabled and lines are wrapped.
Screenshots
(I first typed "k, k", it looks good; then I typed "2, k", it works like "2, g, k")
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.32.4
- Cursor Version: 0.45.11 (Universal) / VSCode version: 1.96.2
- OS: macOS 15.6 24G84 arm64
Additional context
no
Metadata
Metadata
Assignees
Labels
No labels
