Ready for Linux

Switch with confidence

Optional related walkthrough

Vim text editor basics

Use the Vim walkthrough as context for modal editing and saving. The lesson practices vi and its shared basic commands; Vim-specific features are not required or promised by the browser editor.

Video published . Study notes by Ready for Linux.

Study notes: Vim text editor basics

Vi-style editors distinguish normal mode from insert mode. Open a disposable practice file, press i to enter text, then Escape to return to normal mode. :wq writes the file and exits. The browser lesson uses vi and teaches the shared basics; the full Vim program has additional features.

vi practice-note.txt
# In vi: i, type a note, Escape, :wq, Enter
cat practice-note.txt

These study notes are a companion example, rather than a video transcript. Use the related lesson's instructions for its assessed task. Full-access lessons require an account and a course pass.

Reference: Vim user manual: editing your first file.

Related lessons