You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows build number: Microsoft Windows [Version 10.0.19041.508]
Windows Terminal version (if applicable): Windows Terminal Preview / Version: 1.3.2382.0
It's also worth pointing out the problem exists with the regular stable release of Windows Terminal too.
Steps to reproduce
Within Ubuntu 20.04 LTS WSL 2 install Vim with sudo apt-get update && sudo apt-get install vim-gtk
touch test.txt
vim test.txt
Notice that you're in REPLACE mode instead of NORMAL mode
Expected behavior
When opening a file you should be in NORMAL mode by default.
Actual behavior
You're in REPLACE mode by default instead of NORMAL mode.
I believe this is specific to MS terminal because this problem doesn't happen with wsltty (another Windows terminal). I've also never seen this problem happen in native Linux on any terminal with the same vimrc file that I use.
The workaround for now is to set set t_u7= in your vimrc, but this conflicts with other terminals so it's not a bullet proof solution.
The interesting thing is the issue doesn't happen if you run vim -u NONE which disables user specific configuration, but this thread on StackOverflow makes it seem like it definitely is something stemming from the Windows terminal in the end https://superuser.com/a/1525060.
The text was updated successfully, but these errors were encountered:
ghost
added
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Needs-Tag-Fix
Doesn't match tag requirements
labels
Sep 12, 2020
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
ghost
added
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
and removed
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Needs-Tag-Fix
Doesn't match tag requirements
labels
Sep 12, 2020
Environment
It's also worth pointing out the problem exists with the regular stable release of Windows Terminal too.
Steps to reproduce
sudo apt-get update && sudo apt-get install vim-gtk
touch test.txt
vim test.txt
Expected behavior
When opening a file you should be in NORMAL mode by default.
Actual behavior
You're in REPLACE mode by default instead of NORMAL mode.
I believe this is specific to MS terminal because this problem doesn't happen with wsltty (another Windows terminal). I've also never seen this problem happen in native Linux on any terminal with the same vimrc file that I use.
The workaround for now is to set
set t_u7=
in your vimrc, but this conflicts with other terminals so it's not a bullet proof solution.The interesting thing is the issue doesn't happen if you run
vim -u NONE
which disables user specific configuration, but this thread on StackOverflow makes it seem like it definitely is something stemming from the Windows terminal in the end https://superuser.com/a/1525060.The text was updated successfully, but these errors were encountered: