-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ctrl + h
's behavior is differ from command prompt window
#4397
Comments
Ctrl + h
's behavior is differ from command prompt window
So, this is one of those issues we might just have to live with for now. We may need to wait for /dup #879 so that Windows Vim can use raw key mode. |
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! |
@DHowett-MSFT I encountered the same issue, but don't think it's related to Vim for Windows. Here's my result:
|
This is one of those weird things 😄 WT and OpenSSH_for_Windows actually use the same translation backend to talk to windows console applications, but WT uses a newer version of it. The older version was more compatible with certain windows apps, but it worked less well with everything else. |
The problem is that 3935 solved the problem described in 879 the only way that is correct for a Terminal emulator. We're right here on the boundary between what consoles and terminals need to support, and we made the call to be a terminal first. I'm not certain that was the right decision? |
The bot mentioned a "referenced thread", where is that? Would like to track this, it broke some Vim muscle memory for me. |
the problem is that the terminal generate same codes i don't think this is correct way to fix. |
I'm probably re-hashing old conversations, sorry, it's hard to read all threads on GitHub. How about sending esc+ctrl-h? That seems to always work in the shells I came across? |
Environment
Steps to reproduce
just type Ctrl + h
Expected behavior
Delete a character before the cursor, as same as command prompt window.
Actual behavior
Delete a whole word before the cursor.
Notes
I guess that this is a side effect of #3935
The text was updated successfully, but these errors were encountered: