Chapter 10. The vim Editor

IN THIS CHAPTER

History

Tutorial: Creating and Editing a File with vim

Introduction to vim Features

Command Mode: Moving the Cursor

Input Mode

Command Mode: Deleting and Changing Text

Searching and Substituting

Miscellaneous Commands

Yank, Put, and Delete Commands

Reading and Writing Files

Setting Parameters

Advanced Editing Techniques

Units of Measure

This chapter begins with a history and description of vi, the original, powerful, sometimes cryptic, interactive, visually oriented text editor. The chapter continues with a tutorial that shows you how to use vim (a vi clone supplied with Red Hat Linux) to create and edit a file. Following the tutorial, the chapter delves into the details of many vim commands and explains ...

Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.