DEV Community

Golf-Lang
Golf-Lang

Posted on • Edited on • Originally published at golf-lang.blogspot.com

1

Using Vim color schemes with Golf

Golf installation comes with a Vim module for highlighting Golf code. After installing Golf, run this to install the Vim module:

gg -m
Enter fullscreen mode Exit fullscreen mode

The default color scheme looks like this:

Image description
To change color scheme, type ":colorscheme " in command mode, then press Tab to see available color schemes. Press Enter to choose one. For instance, in 'darkblue' color scheme, it may look like:

Image description
To make the change permanent, edit file ".vimrc" in home directory:

vi ~/.vimrc
Enter fullscreen mode Exit fullscreen mode

and append line:

colorscheme darkblue
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay