DOC HOME
SITE MAP
MAN PAGES
GNU INFO
SEARCH
PRINT BOOK
Editing files
A quick tour of vi
Starting vi
Entering text
What to do if you get stuck
Saving files and quitting vi
Moving around a file
Deleting and restoring text
Restoring deleted text
Using the deletion buffers
Searching for text
Replacing and modifying text
Substituting text
Performing global substitutions
Specifying addresses
Confirming substitutions
Repeating and undoing commands
Including the contents of another file
Accessing the shell
Editing more than one file
Using buffers to cut and paste text
Placing markers
Using keyboard shortcuts
Running other programs from inside vi
Sending text through a filter
Defining abbreviations
Storing a command in a buffer
Mapping key sequences
Assigning commands to a key sequence
Assigning insertions to a key sequence
Changing modes within a mapped command
Configuring vi
Saving frequently used commands
Using ed
Starting ed
Saving files and quitting ed
Moving around in ed
Editing text in ed
vi commands