Chapter 4. Text Editing: Emacs and VI

Emacs
Short presentation
Getting started
Handling buffers
Copy, cut, paste, search
Quit Emacs
Vi: the ancestor
Insert mode, command mode, ex mode...
Handling buffers
Editing text and move commands
Cut, copy, paste
Quit Vi
A last word...

As stated in the introduction, text editing[9] is a fundamental feature when using a UNIX system. The two editors we are going to take a quick look at are a little difficult to use initially, but once you understand the basics, each can prove to be a powerful tool.



[9] To edit text” means to modify the contents of a file containing only letters, digits, and punctuation signs; such files can be electronic mail messages, source code, documents, or even configuration files.