Using Vim color schemes with Golf

Golf-Lang - Sep 29 '24 - - Dev Community

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
. . . . . . . . . . . . . . . . . . . . .