VSCodeVim / VSCodeVim/Vim

Relative line numbers don't update when moving cursor down in visual block mode

Open
#8,629 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

When in visual block mode, if i move my cursor down by any lines the relative line numbers don't update, but when i move the cursor up they do. The relative line numbers update in all other modes as far as i can tell.

Example reference point with my cursor at line 10.

Screen Shot 2023-09-27 at 11 01 52 AM

Moving cursor up when in visual block mode. As you can see the reference line number and relative line numbers to it change from the reference point above.

Screen Shot 2023-09-27 at 11 02 02 AM

Moving cursor down when in visual block mode. The reference line number and relative line numbers do not change when moving the cursor down

Screen Shot 2023-09-27 at 11 02 15 AM

VSCode Environment:
Version: 1.82.2 (Universal)
Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
Date: 2023-09-14T05:59:47.790Z (1 wk ago)
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin x64 20.6.0

Vim Extension Version 1.26.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in VS Code with the Vim extension, enabling relative line numbers and entering visual block mode. Trace the handling of cursor movement and line-number updates for downward movement, then verify that the reference and relative numbers change in both directions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.