vim

Making Vim Syntax Highlighting Work Inside Git Bash

Submitted by Dmitry Boychev on Mon, 07/28/2014 - 11:06

If you have used Git Bash and its Vim, which both come as one package, you have probably stumbled on the issue of making syntax highlighting work.

Whenever you type the command “vi file_name” in Git Bash and type, for example, some php code, you will see the plain white text on the black background. To try and fix the issue, you would just type the command “: syntax on”, because it always worked, right? Well, not so much with the Git Bash Vim scenario.

Subscribe to vim