Learn how to use vi, the text editor built into Unix systems, to manage files, edit text, search and replace text, and more.
Overview
Syllabus
Introduction
- Welcome
- What you should know before watching this course
- Using the exercise files
- What is vi?
- Entering and leaving vi
- Understanding vi's modes: Command, Insert, Colon
- Using vi in a terminal emulator window
- Managing files
- Moving the cursor
- Moving by words, sentences, and paragraphs
- Moving by lines
- Scrolling the text
- Inserting text
- Deleting text
- Changing text
- Using some other editing commands
- Working with undo, redo, and repeat
- Moving content with delete, yank, and put
- Searching text
- A brief introduction to regular expressions
- Regular expression examples
- Searching and replacing text
- Indenting, auto-indent, and word wrap
- Customizing the vi environment using the .exrc and .vimrc files
- Filtering text through shell commands
- Using lines and ranges in colon commands
- Goodbye
Taught by
David D. Levine