Vi iMproved (VIM), 1st edition

  • Steve Oualline

Unfortunately, this item is not available in your country.


Real Linux users don't use GUIs. No matter how popular, slick and sophisticated the interfaces become for Linux and UNIX, you'll always need to be able to navigate in a text editor. The vi editor is the original standard UNIX full screen editor. It's been around almost since UNIX began and it has changed very little. To get around the limitations of vi the people at Bram Moolenaar created the vim editor (the name stand for VI iMproved). It contains many more features than the old vi editor including: help, multiple windows, syntax highlighting, programmer support, and HTML support. All of the books published to date focus on vi alone not the expanded vim shipping with every major Linux distribution. In true New Riders' form, the vim reference will be a definitive, concise reference for the professional Linux user and developer. This tutorial takes a task oriented approach allowing you to learn only the commands that make your job easier.

Table of contents


1. Basic Editing.

2. Editing a Little Faster.

3. Searching.

4. Text Blocks and Multiple Files.

5. Windows.

6. Basic Visual Mode.

7. Commands for Programmers.

8. Basic Abbreviations, Keyboard Mapping, and Initialization Files.

9. Basic Command (:) Mode Commands.

10. Basic GUI Usage.

11. Dealing with Text Files.

12. Automatic Completion.

13. Autocommands.

14. File Recovery and Command Line Arguments.

15. Miscellaneous Commands.

16. Cookbook.

17. Topics Not Covered.


18. Complete Basic Editing.

19. Advanced Searching Using Regular Expressions.

20. Advanced Text Blocks and Multiple Files.

21. All About Windows and Sessions.

22. Advanced Visual Mode.

23. Advanced Commands for Programmers.

24. All About Abbreviations and Keyboard Mapping.

25. Complete Command (:) Mode Commands.

26. Advanced GUI Commands.

27. Expressions and Functions.

28. Customizing the Appearance and Behavior of the Editor.

29. Language-Dependent Syntax Options.

30. How to Write a Syntax File.


Appendix A: Installing VIM.

Appendix B: The <> Key Names.

Appendix C: Normal Mode Commands.

Appendix D: Visual Mode Commands.

Appendix E: Insert Mode Commands.

Appendix F: Option List.

Appendix G: Vim License Agreement.

Appendix H: Quick Reference.

Published by Sams Publishing (April 11th 2001) - Copyright © 2001