Timeline for Disable/change colors in vim terminal (but not in open file)
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 18, 2022 at 4:17 | comment | added | filbranden | Welcome to Vi and Vim! | |
| Apr 17, 2022 at 20:23 | answer | added | user41754 | timeline score: 1 | |
| Apr 17, 2022 at 19:44 | comment | added | Christian Brabandt | @obr I still don't understand. please clearly describe where you want colors and where not. And where you see color differences. Perhaps a screenshot showing those color differences might be helpful. Note: you may want to consider to set the environment vairable NO_COLOR only inside the terminal of vim | |
| Apr 17, 2022 at 18:00 | comment | added | user41754 | @ChristianBrabandt -- If I set $TERM to NO_COLOR, then don't get any colors in nvim. I want no (or the default) colors in the terminal opened inside of nvim; I still want color in the terminal opened outside nvim. I've also updated the post... The issue appertnly extends beyond the terminal. | |
| Apr 17, 2022 at 17:59 | history | edited | user41754 | CC BY-SA 4.0 | added 341 characters in body |
| Apr 17, 2022 at 16:46 | comment | added | Christian Brabandt | @obr So is it about the prompt colors or not? Then configure your shell to not output any colors in the prompt | |
| Apr 17, 2022 at 16:42 | comment | added | user41754 | I just tested out another color scheme, and the issue was still there, albeit with different colors. | |
| Apr 17, 2022 at 16:23 | comment | added | user41754 | I'm not sure, but this might have something to do with my colorscheme (palenight)... | |
| Apr 17, 2022 at 16:22 | comment | added | user41754 | @ChristianBrabandt -- The colors when I'm editing a file in neovim are fine. The colors when I'm working in the terminal outside of nvim are fine. The terminal inside of vim (when I type :term) is the problem and the screenshot above. | |
| Apr 17, 2022 at 15:58 | comment | added | D. Ben Knoble | Could be related to :help g:terminal_ansi_colors or the particular terminal emulator and $TERM. You can sometimes request no colors by setting the environment variable NO_COLOR | |
| Apr 17, 2022 at 14:43 | comment | added | Christian Brabandt | are you talking about your prompt colors? Or where exactly? If for the prompt, than configure your prompt to not emit colors when run from neovim terminal | |
| S Apr 17, 2022 at 6:05 | review | First questions | |||
| Apr 17, 2022 at 6:16 | |||||
| S Apr 17, 2022 at 6:05 | history | asked | user41754 | CC BY-SA 4.0 |