Notice! This document is currently in
Archived
status.
The content of this document may be incorrect or outdated.
The content of this document may be incorrect or outdated.
Print this article Edit this article
Vi Text Editor: Tutorial
This tutorial was written as part of Marian Delp's thesis for Industrial Engineering.
Table of Contents
-
INTRODUCTION TO THE VI EDITOR
-
ENTERING OR CALLING VI
-
EXITING VI
- Exiting the Editor--Retaining Changes
- Exiting the Editor--Discarding Changes
- Exiting the Editor--Keeping Changes & Original Text
-
ORGANIZATION OF VI
-
POSITIONING TEXT ON THE SCREEN
-
POSITIONING THE CURSOR
-
TEXT INSERTION
-
CORRECTING TEXT
- Delete Text (d,D)
- Change Text (c,C)
- Replace Text (r,R)
- Erase Text (x,X)
- Transposition Command (xp)
- Undo Command (u,U)
- Removing all ^M
- Global search and replace
-
REARRANGING AND DUPLICATING TEXT
-
MISCELLANEOUS INFORMATION
- Creating Line Numbers Copy
- Lines And Sentences In VI
- Joining Lines
- Redrawing The Screen
- Accessing The EX Editor
- Repeating A Command
- Temporarily Interrupting VI
- Editing Multiple Files Using VI
- Printing from VI
- OPERATORS AND SCOPES
Last Modified:
Dec 3, 2025 11:14 am US/Eastern
Created:
Nov 6, 2007 2:24 pm US/Eastern
by
admin
JumpURL: