Learning the vi and vim editors

There's nothing that hard-core Unix and Linux users are more fanatical about than their text editor. Editors are the subject of adoration and worship, or of scorn and ridicule, depending upon whether the topic of discussion is your editor or someone else's. vi has been the standard edit...

Descripción completa

Detalles Bibliográficos
Autor principal: Robbins, Arnold (-)
Otros Autores: Hannah, Elbert, Lamb, Linda
Formato: Libro electrónico
Idioma:Inglés
Publicado: Farnham : O'Reilly 2008.
Edición:7th ed
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627298306719
Tabla de Contenidos:
  • Table of Contents; Preface; Scope of This Book; How the Material Is Presented; Discussion of vi Commands; Conventions; Keystrokes; Problem Checklist; What You Need to Know Before Starting; Comments and Questions; Safari® Books Online; About the Previous Editions; Preface to the Seventh Edition; What's New; Versions; Acknowledgments from the Sixth Edition; Acknowledgments for the Seventh Edition; Part I. Basic and Advanced vi; Chapter 1. The vi Text Editor; A Brief Historical Perspective; Opening and Closing Files; Opening a File; Problems Opening Files; Modus Operandi
  • Saving and Quitting a FileQuitting Without Saving Edits; Problems Saving Files; Exercises; Chapter 2. Simple Editing; vi Commands; Moving the Cursor; Single Movements; Numeric Arguments; Movement Within a Line; Movement by Text Blocks; Simple Edits; Inserting New Text; Appending Text; Changing Text; Words; Lines; Characters; Substituting text; Changing Case; Deleting Text; Words; Lines; Characters; Problems with deletions; Moving Text; Transposing two letters; Copying Text; Repeating or Undoing Your Last Command; Repeat; Undo; More Ways to Insert Text; Numeric Arguments for Insert Commands
  • Joining Two Lines with JProblem Checklist; Review of Basic vi Commands; Chapter 3. Moving Around in a Hurry; Movement by Screens; Scrolling the Screen; Repositioning the Screen with z; Redrawing the Screen; Movement Within a Screen; Movement by Line; Movement on the current line; Movement by Text Blocks; Movement by Searches; Repeating Searches; Changing through searching; Current Line Searches; Movement by Line Number; The G (Go To) Command; Review of vi Motion Commands; Chapter 4. Beyond the Basics; More Command Combinations; Options When Starting vi; Advancing to a Specific Place
  • Read-Only ModeRecovering a Buffer; Making Use of Buffers; Recovering Deletions; Yanking to Named Buffers; Marking Your Place; Other Advanced Edits; Review of vi Buffer and Marking Commands; Chapter 5. Introducing the ex Editor; ex Commands; Exercise: The ex Editor; Problem Checklist; Editing with ex; Line Addresses; Defining a Range of Lines; Line Addressing Symbols; Search Patterns; Redefining the Current Line Position; Global Searches; Combining ex Commands; Saving and Exiting Files; Renaming the Buffer; Saving Part of a File; Appending to a Saved File; Copying a File into Another File
  • Editing Multiple FilesInvoking vi on Multiple Files; Using the Argument List; Calling in New Files; Switching Files from vi; Edits Between Files; Chapter 6. Global Replacement; Confirming Substitutions; Context-Sensitive Replacement; Pattern-Matching Rules; Metacharacters Used in Search Patterns; POSIX Bracket Expressions; Metacharacters Used in Replacement Strings; More Substitution Tricks; Pattern-Matching Examples; Search for General Class of Words; Block Move by Patterns; More Examples; A Final Look at Pattern Matching; Deleting an Unknown Block of Text
  • Switching Items in a Textual Database