Foldfix ignores relative line numbers
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
When having "vim.foldfix": true and relative lines enabled, j and k act like gj and jk.
If you type 39j here instead of going to line number 39 you move down 39 visual lines just like when using 39gj
What can I do to prevent this behavior while still having foldfix.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with "vim.foldfix": true, relative line numbers enabled, and counts such as 39j. Start by tracing the foldfix handling and the j/k motion behavior; done means counted motions use logical lines while foldfix still works and the reported case is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100