Learning vi
1h 28mBeginner2014-09-04
Authors

David D. Levine
Making technology better for people
Course details
Although other text editors may be easier to use, vi is built into all Unix systems (including Linux and Mac OS). Knowing a few basic vi commands guarantees you'll be able to work with these systems when no other editor is installed. In this course, David D. Levine shows you how to get in and out of vi, switch modes, and start editing files in place. Learn how to change text within a file, use commands like undo and yank, find and replace text, and invoke more advanced Unix commands. Although it may be arcane, vi is still the standard text editor for all Unix systems. Start learning it now and run your systems more smoothly in the future.
Learning objectives
Identifying vi’s modes.
Distinguishing how to move around within files.
Explain ways to edit text such as inserting text.
Determine how to move content using undo, repeat, and yank.
Break down how to utilize editing features such as auto-indent, indenting, and word wrap.
Recognizing how to filter text through shell commands.
Learning objectives
Identifying vi’s modes.
Distinguishing how to move around within files.
Explain ways to edit text such as inserting text.
Determine how to move content using undo, repeat, and yank.
Break down how to utilize editing features such as auto-indent, indenting, and word wrap.
Recognizing how to filter text through shell commands.
Skills covered
viSoftware Development ToolsLearningOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know before watching this course
- 03 - Using the exercise files
1. Exploring vi
- 04 - What is vi
2. Getting Started with vi
- 05 - Entering and leaving vi
- 06 - Understanding vi's modes - Command, Insert, Colon
- 07 - Using vi in a terminal emulator window
- 08 - Managing files
3. Moving Around within a File
- 09 - Moving the cursor
- 10 - Moving by words, sentences, and paragraphs
- 11 - Moving by lines
- 12 - Scrolling the text
4. Basic Text Editing
- 13 - Inserting text
- 14 - Deleting text
- 15 - Changing text
- 16 - Using some other editing commands
5. Undo, Repeat, Yank, and Put
- 17 - Working with undo, redo, and repeat
- 18 - Moving content with delete, yank, and put
6. Search and Replace
- 19 - Searching text
- 20 - A brief introduction to regular expressions
- 21 - Regular expression examples
- 22 - Searching and replacing text
7. Advanced Editing Features
- 23 - Indenting, auto-indent, and word wrap
- 24 - Customizing the vi environment using the .exrc and .vimrc files
- 25 - Filtering text through shell commands
- 26 - Using lines and ranges in colon commands
Conclusion
- 27 - Goodbye