-
Notifications
You must be signed in to change notification settings - Fork 132
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
Increase readability of PowerShell commands outputs #143
Comments
Would you happen to have another light colorscheme you can test with and post the screenshot, so that I can better understand whether the problem comes from Vim or PowerShell? |
Yes, it also happened with other light colorscheme like solarized and even the default theme of Vim, note that I use pwsh as the terminal, but I can fix it by adding these line to the vimrc file:
|
PowerShell's default Instead, I recommend configurting your shell, for example by installing a small PowerShell module: https://stackoverflow.com/a/30788506/4716370. Using that approach, any color configured through Vim should fit nicely in the output of PowerShell commands. |
I have successful config it, the solution is based on this discussion: " https://vi.stackexchange.com/questions/25456/how-can-i-change-the-colorscheme-of-the-vim-terminal-buffer ".
Still keep the colorscheme and also make the directory readable in visual mode. Reply to me if my solution makes the contribution. |
It's great that it works for you, and I appreciate you sharing your solution. However such changes can't be accepted here because they don't apply universally. What works in PowerShell will not work in a Linux shell, mainly because the colors used here deviate from the usual ANSI colors semantics (on top of being off palette): Here is what things look like in a Linux shell with Everforest's defaults: The fact that it works for 1 user in 1 very specific config (Windows + PowerShell + gVim + light mode) doesn't make it reasonable to enforce on everyone. A colorscheme's defaults ought to remain as universal as possible. The strange colors you are observing are caused by your shell being misconfigured, and can therefore be reproduced with any Vim colorscheme. Luckily, the beauty of Vim is that you can configure to you preferences, like you did. As closing words, I am cross-referencing simialr issues that were opened in the past: |
I have done the following steps before reporting this issue:
Operating system/version
Windows 11
GUI client/version
Vim 9.1
Feature matrix
I have a problem with the terminal in side gvim. When I use the Everforest theme, the color of directory name's is not readable when I select it or move the cursorline to it. How can I change the color of directory in the terminal?
Minimal vimrc that can reproduce this bug.
Steps to reproduce this bug using minimal vimrc
nothing
Expected behavior
I want the directory's name have the black or grey color
Actual behavior
The directories's name is not readable when I move the cursor line to it or select it.
The text was updated successfully, but these errors were encountered: