Vim Starts in Replace Mode Randomly #9930

Open
opened 2026-01-31 02:07:47 +00:00 by claunia · 0 comments
Owner

Originally created by @rsynnest on GitHub (Jul 30, 2020).

Environment

Windows build number: 10.0.19041.0
Windows Terminal version: 1.2.2022.0 (Preview Build)
WSL2 Debian or Ubuntu

Steps to reproduce

  1. Open a Debian or Ubuntu WSL2 instance in a Windows Terminal
  2. Open vim and it will sometimes open in REPLACE mode. This happens seemingly at random, so you may need to quit and reopen vim a few times until you see the --REPLACE-- on the bottom left.
  3. I've reproduced the same behavior over SSH on various systems running different versions and flavors of Linux with various vanilla or custom .vimrc files. This behavior is not reproducible in other terminal emulators (specifically MobaXterm). This behavior also does not appear to affect Neovim in Windows Terminal.

Expected behavior

vim opens in Normal mode every time.

Actual behavior

vim randomly opens in Replace mode sometimes.

Originally created by @rsynnest on GitHub (Jul 30, 2020). # Environment ```none Windows build number: 10.0.19041.0 Windows Terminal version: 1.2.2022.0 (Preview Build) WSL2 Debian or Ubuntu ``` # Steps to reproduce 1. Open a Debian or Ubuntu WSL2 instance in a Windows Terminal 2. Open vim and it will sometimes open in REPLACE mode. This happens seemingly at random, so you may need to quit and reopen vim a few times until you see the `--REPLACE--` on the bottom left. 3. I've reproduced the same behavior over SSH on various systems running different versions and flavors of Linux with various vanilla or custom `.vimrc` files. This behavior is not reproducible in other terminal emulators (specifically MobaXterm). This behavior also does not appear to affect Neovim in Windows Terminal. # Expected behavior vim opens in Normal mode every time. # Actual behavior vim randomly opens in Replace mode sometimes.
claunia added the Resolution-Duplicate label 2026-01-31 02:07:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9930