Vim is known for being powerful—and occasionally difficult to use—but with a few keystrokes, you can effectively make quick changes to your files, whether containing code, notes, or your latest novel. In this lab, you will edit and add text to a file, copy, paste, delete, and join lines.
Successfully complete this lab by achieving the following learning objectives:
- Update Dockerfile
Dockerfileto include the missing line,
COPY . .on line 7. Ideally, this should involve entering Visual mode, copying, pasting, and deleting words bordered by whitespace.
- Update server.js
server.jsto resolve any case issues and join the interrupted line, line 5, with its other half.
- Update app.js
app.jsto include a comment,
// Call Express, at the top of the file.