This document provides a summary of commands and modes in the Vi text editor: Vi has two modes: command mode for cursor movement and text deletion/pasting, and insertion mode for inserting/changing text. The editor begins in command mode and switches to insertion mode with commands like i, a, o. Common commands include quitting with :q, inserting text, moving around, deleting/yanking text, searching/replacing, and editing multiple files. Vi uses ranges and counts to perform commands on multiple lines or repeat commands.