0%

Book Description

Build on your editor's capabilities and tailor your editing experience with VimL, the powerful scripting language built into Vim. With VimL you can configure basic settings or add entirely new functionality. Use this quick and easy introduction to create your own Vim plugin while learning the concepts and syntax of VimL.

Table of Contents

  1. The VimL Primer
    1. Copyright
    2. For the Best Reading Experience...
    3. Table of Contents
    4. Early Praise for The VimL Primer
    5. An Introduction
      1. The World’s Shortest History Lesson
      2. Who Should Read This Book
      3. How to Read This Book
      4. Online Resources
      5. Acknowledgments
    6. Chapter 1: The Lay of the Land
      1. Functions, Types, and Variables
      2. Loops and Comparisons
      3. Our Project: An Interface for mpc
      4. The Structure of a Vim Plugin
    7. Chapter 2: A Real Live Plugin
      1. But First, a Function
      2. Running External Commands
      3. Writing Text to a Buffer
    8. Chapter 3: The Autoload System
      1. Autoloading Functions
      2. Finding Windows by Buffers
      3. The Built-in Buffer Functions
      4. Retrieving the Text of a Line
    9. Chapter 4: Recognizing File Types
      1. Autocommands and Their Events
      2. Detecting the Current File Type
      3. Making Filetype-Specific Changes
    10. Chapter 5: Highlighting Syntax
      1. The Vim Syntax File
      2. Using conceal with Syntax Regions
      3. Specifying a New Syntax
    11. Chapter 6: Commands and Mappings
      1. Writing User Commands
      2. Adding Mappings
      3. Localizing Mappings
      4. In Conclusion
    12. Appendix 1: Some Resources
      1. Websites
      2. Plugins
    13. Bibliography
      1. You May Be Interested In…
3.15.237.255