DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

Editing files



Writing and editing
        Putting text into a file
                Filenames
                Looking at files
        Using the vi editor
                Entering text
                Moving around in a file
                Correcting mistakes
        Printing files
                Printing several copies
                Checking on a print job
                Canceling a print job
        Summary

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

vi command summary

Using ed
        Starting ed
        Saving files and quitting ed
        Moving around in ed
        Editing text in ed

Index