Cursor doesn't stay in the same row when moving up/down when there's tabs in the middle of the line
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
When there's tabs to align text, going up/down causes the cursor to change columns
To Reproduce
Steps to reproduce the behavior:
- Have any text that uses tab to align, ex:
h -> H
continue -> CONTINUE
- Put the cursor in the tabs
- Move cursor Up/Down
Expected behavior
Cursor to stay in the same column
Screenshots

Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.24.3
- VSCode version: 1.73.1 (commit 6261075646f055b99068d3688932416f2346dd3b)
- OS: Linux Mint 20.3 x64 5.4.0-132-generic
Additional context
Happened while editing a plain text file (.txt)
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
Start by reproducing the issue in a plain-text file containing tabs, using the example in the report, and verify how moving the cursor up or down changes its column. Trace the cursor-movement handling from that reproduction; done means the cursor remains in the same visual column across both lines, with coverage for tabs in the middle of a line.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100