Book description
Among the text editors being used in the programming community, perhaps the most important family is vi and its derivatives. With this updated edition, Unix and Linux users will learn text editing basics for both vi and Vim ("vi improved") before moving on to advanced editing tools for each editor. Authors Arnold Robbins and Elbert Hannah cover the latest major releases of Vim, including 8.0 and 8.2.
If you're a programmer or computer analyst, or you work with browsers or command-line interfaces, using Vim can speed up your work and make complex tasks easier. You'll examine multiwindow editing, global search and replacement, and power tools for programmers, and learn how to write interactive macros and scripts to extend the editor--all in the easy-to-follow style that's made this book a classic.
- Go beyond the basics to learn which vi commands fit your specific needs
- Learn advanced vi tools that shift most of the editing burden to the computer
- Explore Vim tools that provide major improvements over vi
- Examine Vimâ??s multiwindow editing feature, a significant upgrade over vi
- Use Vim scripts to customize and tailor Vim to your needs
- Look at Vim in modern GUI environments with Graphical Vim (gvim)
- See Vim in the broader programming milieu, including usingit as an IDE
Publisher resources
Table of contents
-
Preface
- Scope of This Book
- How the Material Is Presented
- What You Need to Know Before Starting
- Using Code Examples
- O’Reilly Online Learning
- How to Contact Us
- About the Previous Editions
- About the Eighth Edition
- Acknowledgments from the Sixth Edition
- Acknowledgments from the Seventh Edition
- Acknowledgments for the Eighth Edition
- I. vi and Vim Fundamentals
- 1. Introducing vi and Vim
- 2. Simple Editing
- 3. Moving Around in a Hurry
- 4. Beyond the Basics
- 5. Introducing the ex Editor
- 6. Global Replacement
-
7. Advanced Editing
- Customizing vi and Vim
- Executing Unix Commands
-
Saving Commands
- Word Abbreviation
- Using the map Command
- Mapping with a Leader
- Protecting Keys from Interpretation by ex
- A Complex Mapping Example
- More Examples of Mapping Keys
- Mapping Keys for Insert Mode
- Mapping Function Keys
- Mapping Other Special Keys
- Mapping Multiple Input Keys
- @-Functions
- Executing Registers from ex
- Using ex Scripts
- Editing Program Source Code
- II. Vim
- 8. Vim (vi Improved): Overview and Improvements over vi
- 9. Graphical Vim (gvim)
- 10. Multiple Windows in Vim
- 11. Vim Enhancements for Programmers
- 12. Vim Scripts
-
13. Other Cool Stuff in Vim
- Spell It! (i-t)
- Editing Binary Files
- Digraphs: Non-ASCII Characters
- Editing Files in Other Places
- Navigating and Changing Directories
- Backups with Vim
- HTML Your Text
- What’s the Difference?
- viminfo: Now, Where Was I?
- What’s My Line (Size)?
- Abbreviations of Vim Commands and Options
- A Few Quickies (Not Necessarily Vim-Specific)
- More Resources
- 14. Some Vim Power Techniques
- III. Vim in the Larger Milieu
- 15. Vim as IDE: Some Assembly Required
- 16. vi Is Everywhere
- 17. Epilogue
- IV. Appendixes
- A. The vi, ex, and Vim Editors
- B. Setting Options
- C. The Lighter Side of vi
- D. vi and Vim: Source Code and Building
- Index
- About the Authors
Product information
- Title: Learning the vi and Vim Editors, 8th Edition
- Author(s):
- Release date: November 2021
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492078807
You might also like
book
Learning the vi and Vim Editors, 7th Edition
There's nothing that hard-core Unix and Linux users are more fanatical about than their text editor. …
video
Vim Masterclass
Do you know that most of the command-line experts use the powerful features of the Vim …
book
Modern Vim
Turn Vim into a full-blown development environment using Vim 8's new features and this sequel to …
book
Practical Vim, 2nd Edition
Vim is a fast and efficient text editor that will make you a faster and more …