Skip to content

Vim Extensions on PE Hosts

CS2030S provides a minimal set of vim extensions (i.e., plugins and color schemes) officially. At the beginning of the semester, students can install the same set of extensions following the vim setup procedure. The same set of official extensions will be made available during the practical exams.

Students are free to install any additional color schemes or plugins if they wish. These additional extensions, however, are not allowed and will not be available during the practical exams.

The following are the officially supported vim extensions in CS2030S.

Color Schemes

We installed three color schemes ~cs1010/.vim/colors. You may copy them over to your own home directory, by running

1
2
mkdir -p ~/.vim
cp -r ~cs1010/.vim/colors ~/.vim

The three color schemes are:

You can change your vim color scheme using the :color command. For instance,

1
:color gruvbox

You can add the line color gruvbox (without :) to your ~/.vimrc so that the color scheme is loaded at the start of every vim session.

Some color schemes display differently depending on whether the background is set to dark or light

Some examples, with set background=dark in ~/.vimrc:

The Vim default color scheme:

default

The molokai (CS1010's default) color scheme:

molokai

The gruvbox color scheme

gruvbox