VSCodeVim / VSCodeVim/Vim

Failing to change cursor and display --REPLACE-- mode at the bottom "status bar" when I hit `r` to enter replace mode. `R` works as expected.

Open
#6,211 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Steps to reproduce:

  1. Enter "r" when in normal mode, and work in replace mode.
  2. Enter "shift + r" when u come back to normal mode for contrast.

Screenshots:

2021-02-27 (3)
When I press "r", it functions properly but fails to change the cursor and it doesn't prompt --REPLACE-- at the bottom. (As you can see above)^

========================================================================

2021-02-27 (2)
On the other hand "Shift + r" (batch replace) works as expected. (As you can see above)^

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

Start by reproducing normal-mode r and R in VSCodeVim, then trace the replace-mode handling responsible for cursor and status-bar updates. Done means pressing r changes the cursor and displays --REPLACE--, matching the existing behavior of R.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, 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.