Does anyone know how to show colors in the gVim embedded terminal?

For instance when you do a !git diff file.c.


That built-in terminal is just a very bare one; it doesn't offer capabilities like color highlighting. If you want that, you need to either use terminal Vim, or launch the external command in a separate terminal window:

:!gnome-terminal -x sh -c 'git diff file.c'
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.