vi Editor Pocket Reference

Book description

For many users, working in the UNIX environment means using vi, a full-screen text editor available on most UNIX systems. Even those who know vi often make use of only a small number of its features.The vi Editor Pocket Reference is a companion volume to O'Reilly's updated sixth edition of Learning the vi Editor, a complete guide to text editing with vi. New topics in Learning the vi Editor include multi-screen editing and coverage of four vi clones: vim,elvis, nvi, and vile.This small book is a handy reference guide to the information in the larger volume, presenting movement and editing commands, the command-line options, and other elements of the vi editor in an easy-to-use tabular format.

Publisher resources

View/Submit Errata

Table of contents

  1. 1. vi Editor Pocket Reference
    1. Introduction
    2. Conventions
    3. 1.1. Command-Line Options
    4. 1.2. vi Commands
      1. 1.2.1. Movement Commands
      2. 1.2.2. Editing Commands
      3. 1.2.3. Exit Commands
      4. 1.2.4. Solaris vi Command-Mode Tag Commands
      5. 1.2.5. Buffer Names
      6. 1.2.6. Buffer and Marking Commands
    5. 1.3. Input Mode Shortcuts
      1. 1.3.1. Word Abbreviation
      2. 1.3.2. Command and Input Mode Maps
      3. 1.3.3. Executable Buffers
      4. 1.3.4. Automatic Indentation
    6. 1.4. Substitution and Regular Expressions
      1. 1.4.1. The Substitute Command
        1. 1.4.1.1. Substitution flags
      2. 1.4.2. vi Regular Expressions
      3. 1.4.3. POSIX Bracket Expressions
        1. 1.4.3.1. POSIX character classes
      4. 1.4.4. Metacharacters Used in Replacement Strings
      5. 1.4.5. More Substitution Tricks
    7. 1.5. ex Commands
      1. 1.5.1. Command Syntax
      2. 1.5.2. Address Symbols
      3. 1.5.3. Command Option Symbols
      4. 1.5.4. Alphabetical List of Commands
    8. 1.6. Initialization and Recovery
      1. 1.6.1. Initialization
      2. 1.6.2. Recovery
    9. 1.7. vi Options
    10. 1.8. Enhanced Tags and Tag Stacks
      1. 1.8.1. Exuberant ctags
        1. 1.8.1.1. Extended ctags keywords
      2. 1.8.2. Solaris 2.6 vi Tag Stacking
        1. 1.8.2.1. Tag commands
        2. 1.8.2.2. Command-mode tag commands
        3. 1.8.2.3. Options for tag management
    11. 1.9. nvi—New vi
      1. 1.9.1. Important Command-Line Arguments
      2. 1.9.2. nvi Window Management Commands
      3. 1.9.3. Extended Regular Expressions
      4. 1.9.4. Command-Line History and Completion Options
      5. 1.9.5. Tag Stacks
        1. 1.9.5.1. Tag commands
        2. 1.9.5.2. Command-mode tag commands
      6. 1.9.6. nvi 1.79 Additional Set Options
    12. 1.10. elvis
      1. 1.10.1. Important Command-Line Arguments
      2. 1.10.2. elvis Window Management Commands
        1. 1.10.2.1. Arguments to the :window command
        2. 1.10.2.2. Window commands from vi command mode
      3. 1.10.3. Extended Regular Expressions
      4. 1.10.4. Command-Line History and Completion Movement Keys
      5. 1.10.5. Tag Stacks
        1. 1.10.5.1. Tag commands
        2. 1.10.5.2. Command-mode tag commands
      6. 1.10.6. Edit-Compile Speedup
        1. 1.10.6.1. Program development commands
        2. 1.10.6.2. Display modes
        3. 1.10.6.3. Display-mode commands
        4. 1.10.6.4. Options for print management
        5. 1.10.6.5. Values for the lptype option
      7. 1.10.7. elvis 2.0 Set Options
    13. 1.11. vim—vi Improved
      1. 1.11.1. Important Command-Line Arguments
      2. 1.11.2. vim Window Management Commands
        1. 1.11.2.1. Window commands from vi mode
      3. 1.11.3. Extended Regular Expressions
      4. 1.11.4. Command-Line History and Completion
        1. 1.11.4.1. History commands
        2. 1.11.4.2. Completion commands
      5. 1.11.5. Tag Stacks
        1. 1.11.5.1. Tag commands
        2. 1.11.5.2. Command-mode tag commands
      6. 1.11.6. Edit-Compile Speedup
        1. 1.11.6.1. Program development commands
        2. 1.11.6.2. Program development options
      7. 1.11.7. Programming Assistance
        1. 1.11.7.1. Indentation and formatting options
        2. 1.11.7.2. Identifier search commands
        3. 1.11.7.3. Identifier search commands from ex mode
        4. 1.11.7.4. Extended matching commands
      8. 1.11.8. vim 5.1 Set Options
    14. 1.12. vile—vi Like Emacs
      1. 1.12.1. Important Command-Line Arguments
      2. 1.12.2. vile Window Management Commands
      3. 1.12.3. Extended Regular Expressions
      4. 1.12.4. Command-Line History and Completion
        1. 1.12.4.1. History options
        2. 1.12.4.2. History commands
      5. 1.12.5. Tag Stacks
        1. 1.12.5.1. Tag commands
        2. 1.12.5.2. Command mode tag commands
      6. 1.12.6. Edit-Compile Speedup
        1. 1.12.6.1. Program development vi mode commands
      7. 1.12.7. vile 8.0 Set Options
    15. 1.13. Clone Source and Contact Information
  2. About the Author
  3. Copyright

Product information

  • Title: vi Editor Pocket Reference
  • Author(s): Arnold Robbins
  • Release date: January 1999
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781565924970