Table of Contents
Preface
Chapter 1: Introduction
Chapter 2: Personalizing Vim
Chapter 3: Better Navigation
Chapter 4: Production Boosters
Chapter 5: Advanced Formatting
Chapter 6: Vim Scripting
Appendix A: Vim Can Do Everything
Appendix B: Vim Configuration Alternatives
Index
- Chapter 1: Introduction
- Vi, Vim, and Friends
- vi
- STEVIE
- Elvis
- Nvi
- Vim
- Vile
- Compatibility
- Vim is Charityware
- Summary
- Vi, Vim, and Friends
- Chapter 2: Personalizing Vim
- Where are the Config Files?
- vimrc
- gvimrc
- exrc
- Changing the Fonts
- Changing Color Scheme
- Personal Highlighting
- A More Informative Status Line
- Toggle Menu and Toolbar
- Adding Your Own Menu and Toolbar Buttons
- Adding a Menu
- Adding Toolbar Icons
- Modifying Tabs
- Work Area Personalization
- Adding a More Visual Cursor
- Adding Line Numbers
- Spell Checking Your Language
- Adding Helpful Tool Tips
- Using Abbreviations
- Modifying Key Bindings
- Summary
- Where are the Config Files?
- Chapter 3: Better Navigation
- Faster Navigation in a File
- Context-Aware Navigation
- Navigating Long Lines
- Faster Navigation in Vim Help
- Faster Navigation in Multiple Buffers
- Open Referenced Files Faster
- Search and You Will Find
- Search the Current File
- Search in Multiple Files
- Search the Help System
- X Marks the Spot
- Visible Markers—Using Signs
- Hidden Markers—Using Marks
- Summary
- Chapter 4: Production Boosters
- Using Templates
- Using Template Files
- Abbreviations as Templates
- Using Tag Lists
- Easier Taglist Navigation
- Other Usages of Taglists
- Using Auto-Completion
- Auto-Completion with Known Words
- Auto-Completion using Dictionary Lookup
- Omni-Completion
- All-in-One Completion
- Using Macro Recording
- Using Sessions
- Simple Session Usage
- Satisfy your own Session Needs
- Sessions as a Project Manager
- Simple Session Usage
- Registers and Undo Branching
- Using Registers
- The Unnamed Register
- The Small Delete Register
- The Numbered Registers
- The Named Registers
- The Read-Only Registers
- The Selection and Drop Registers
- The Black Hole Register
- Search Pattern Register
- The Expression Register
- Using Undo Branching
- Using Registers
- Folding
- Simple Text File Outlining
- Using vimdiff to Track the Changes
- Navigation in vimdiff
- Using Diff to Track Changes
- Using Templates
- Open Files Anywhere
- Faster Remote File Editing
- Summary
- Chapter 5: Advanced Formatting
- Formatting Text
- Putting Text into Paragraphs
- Aligning Text
- Marking Headlines
- Creating Lists
- Formatting Code
- Autoindent
- Smartindent
- Cindent
- Indentexpr
- Fast Code Block Formatting
- Auto Format Pasted Code
- Formatting Text
- Using External Formatting Tools
- Indent
- Berkeley Par
- Tidy
- Summary
- Chapter 6: Vim Scripting
- Syntax-Color Schemes
- Your First Syntax-Color File
- Syntax Regions
- Color Scheme and Syntax Coloring
- Using Scripts
- Script Types
- Installing Scripts
- Uninstalling Scripts
- Script Development
- Scripting Basics
- Types
- Variables
- Conditions
- Lists and Dictionaries
- Loops
- Creating Functions
- Script Structure
- Scripting Tips
- Gvim or Vim?
- Which Operating System?
- Which Version of Vim?
- Printing Longer Lines
- Debugging Vim Scripts
- Distributing Vim Scripts
- Making Vimballs
- Remember the Documentation
- Using External Interpreters
- Vim Scripting in Perl
- Vim Scripting in Python
- Vim Scripting in Ruby
- Scripting Basics
- Summary
- Syntax-Color Schemes
- Appendix A: Vim Can Do Everything
- Vim Games
- Game of Life
- Nibbles
- Rubik's Cube
- Tic-Tac-Toe
- Mines
- Sokoban
- Tetris
- Programmers IDE
- Mail Program
- Chat with Vim
- Vim Games
- Appendix B: Vim Configuration Alternatives
- Tips for Keeping your Vimrc Clean
- A Vimrc Setup System
- Storing Vimrc Online



