Photo credit: https://www.flickr.com/photos/spacex/44451125454/
I just discovered how to turn on syntax highlighting by default on Vim. All you have to do is add the following line to your ~/.vimrc file:
:syntax on
If you don't have a .vimrc file, a quick way to add one is by running the following command:
$ echo ":syntax on" >> ~./vimrc
I was impressed to find that Vim contains Groovy syntax highlighting by default. Enjoy!
Share this: