Due: Tue. 02/17 at 11:59PM

Overview

In this exercise, you will complete additional vim exercises. You will repeat exercises similar to this throughout the course of the semester. Over the course of the semester, the exercises will gradually introduce more and more vim features.

Receiving your exercise

You can copy the exercises from the following location:

/home/ckazer/public/cs14/exercises/vim/vim_exercises_03

Use scp (or rsych) to copy the files to your cs14vm. scp works similarly to cp except that you must specify both the host you are copying from/to and the file/directory on that host.

So, to copy a directory recursively from the CS Network to your cs14vm, you would use

$ scp -r <source_directory> cs14vm:<destination>

Rather than copy-pasting the directory, try typing it out using tab completion!

Using asciinema

For this exercise, you must submit one or more asciinema recordings of you completing the exercise, as evidence of completing the assignment from the command line.

You can start an asciinema recording called vim_exercise.cast as follows:

$ asciinema rec vim_exercise.cast

Use Ctrl+d or enter the command exit to stop recording. If you record your work in multiple sessions, give each recording a different name. E.g, vim_exercise_pt1.cast, vim_exercise_pt2.cast, vim_exercise_pt3.cast.

Warning
asciinema essentially functions as a "keystroke logger". You should not enter any sensitive information, like passwords or other personal data, while using it.

Completing the exercise

Open the file(s) vim_exercises_03 with nvim and follow the instructions to make modifications.

Submitting the exercise

Once you are done, ensure that a directory named

/local/submissions/exercises/vim_exercises_03/

exists on your cs14vm. Copy your finished exercise and asciinema recording to that directory. The instructor will copy your exercise directly from that directory at the due date.