-
-
Notifications
You must be signed in to change notification settings - Fork 572
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
vim
in cmd::Cmder
display black screen
#2384
Comments
Press |
I can't test it now, because I've switched to Linux. |
I have a similar problem on Windows 11 21H2 22000.318 |
I have the same issue, fresh install of Win 11, vim in conemu displays only ZZ |
My guess, you do not use the Connector. If so - display problems are not in ConEmu, but in msys/cygwin. Sometimes the |
I'm using Cmder, but I switched to "plain" ConEmu to reproduce the problem. I downloaded again ConEmu, and found that vim works when used from Bash -- Git Bash, but doesn't work from Shells -- Cmd. |
I'm using cmder (version 1.3.18.1106, downloaded and installed last week). Seeing @gquerret's post I checked vim in |
Today I noticed something that might be connected: ConEmu64_ggEzxdI32G.mp4 |
Same here. |
I've just spotted that not only resizing the real console helps, but also resizing conemu window restores the proper content |
I am having the same issue. The most frequent time I encounter this is when using |
this one seems to be related: #2404 |
Same here and resizing the window can fix it. |
Switching to 'legacy console' in 'CMD' properties |
Same issue with Cmder on Windows 11... vi leads to "black screen" with just "ZZ" on 2nd line. Resizing the window fixes the issue... definitely don't want to have to do that every time, of course. It would be nice not have to switch CMD to "legacy console"... must be a better fix, at some point, but I can confirm that "legacy console" mode for CMD fixes this issue. I accessed it under Cmder System Menu (lower right hand corner of Cmder window) --> Debug --> Properties --> "Use legacy console" checkbox. |
issue still valid in build |
Use winpty (not good)Found the issue long time ago. My way to use vim is to use it with winpty like
Don't know why...
Even worse situation, it causes unreliable on-screen cut/paste. It pasted incorrect content often. A couple more time might succeed however. |
The problem doesn't appear after upgrading. |
@playgithub could you please share what have you upgraded? |
I'm using
|
For me the fresh installation of cmder is still not working, have the same symptoms as before. The same happens after manually upgrading to conemu |
Same here, Windows 11 as well. It occurs to me when turn to Vim using git functions:
Cmder version: Version 1.3.18.1106 |
Is that reproduced with build 220418? |
Same here, but using Ctrl + L is enough to clear the screen. Not perfect, but better than the existing situation. |
@playgithub, Can you try to uncheck |
It doesn't solved the problem after quit
Where are the options? |
Turning off |
@dphildebrandt As I've mentioned above, ConEmu
|
I just got a new laptop and installed the latest version for cmder and had this issue as well. I did not want to disable anything, so I was trying to find a correlation in the problem between terminals. |
I have the same issue. Clean Windows 11 install. CMDer installed via Chocolatey. I tried rolling back a few versions but same issue. Workaround: I noticed that CTRL-Z redraws the page and makes vim functional again |
I found another workaround that I haven't seen mentioned: If you have WSL enabled, you can run "wsl vim" and to run vim from an installed linux distribution. I'm using git bash in conemu with 'alias vim="wsl vim"' and it works nicely. |
it's working for me, thx |
The issue still exists in ConEmu build 220807 and can be temporarily fixed by simply resizing the Conemu window. @Maximus5 You ALWAYS say, 'use the connector'. There are NO examples of using the connector with a Is it even possible to use the connector with a |
This is not a Cmder issue. I load up a default Conemu configured shell and have exactly the same issue. Updating/reinstallng Cmder will not help you. |
I had this problem when I ran the git-bash from Total Commander on Windows 11 via a hotkey definition in
For whatever reason, I've been using this for a long time, but I noticed that another tab with "Git bash" task works fine, so I just changed the command to use |
Still an issue in ConEmu 221218. I saw this on Windows 11 today but do not seem to have the issue on Windows 10 but I need to confirm this. This is using a The connector does not seem to support
|
Is this an issue only some of us are encountering? Here's my config:
I've installed Git for Windows, so that's from where vim is running:
Conemu Help shows:
This is a nice workaround. I have wsl (Ubuntu), and that will suffice for now. When I do a git commit -m it still wants to use the vim from my path.
That's another nice workaround ... kind of. Is there anything else that can resolve this without needing workarounds? |
I've given up and moved to cmder inside Windows Terminal (https://medium.com/talpor/windows-terminal-cmder-%EF%B8%8F-573e6890d143) it works like a charm |
same here brand new install of git and cmder |
Yes, this workaround works for me. thx |
it works! |
Working for me too, although it sometimes leaves a couple of lines of corrupt text on my console after existing vim. Easy enough to ctrl+L to redraw or ignore the lines. This is good enough until we get a proper fix. thanks @elienFR |
Just a small point, the arrow keys don't work for paging with the work-around. E.g. |
I've seen the same issue here and managed to workaround this with neovim (which seems also have some more nice features).
|
Thanks for the info @drew-chien. Best solution so far.. |
I have started using unreleased Cmder that uses Windows Terminal instead of Conemu and it works prretty well also. FWIW I am a Cmder maintainer. https://github.com/cmderdev/cmder/actions/runs/7805213995
|
it is possible to use previous cmder releases with windows terminal as well, as described in this reply. I've been working this way for a year now and I don't think I will ever return to the conemu based solution. |
"cmder inside Windows Terminal" is a good a solution. |
Versions
OS: Windows 11 21H2 22000.194
ConEmu Version: 210912
Problem description
vim
incmd::Cmder
display black screenbut it works blindly, e.g.
:q
leads to quitThe text was updated successfully, but these errors were encountered: