January 2015
Beginner to intermediate
85 pages
1h 58m
English
| An Introduction |
| The World’s Shortest History Lesson |
| Who Should Read This Book |
| How to Read This Book |
| Online Resources |
| Acknowledgments |
| 1. | The Lay of the Land |
| Functions, Types, and Variables |
| Loops and Comparisons |
| Our Project: An Interface for mpc |
| The Structure of a Vim Plugin |
| 2. | A Real Live Plugin |
| But First, a Function |
| Running External Commands |
| Writing Text to a Buffer |
| 3. | The Autoload System |
| Autoloading Functions |
| Finding Windows by Buffers |
| The Built-in Buffer Functions |
| Retrieving the Text of a Line |
| 4. | Recognizing File Types |
| Autocommands and Their Events |
| Detecting the Current File Type |
| Making Filetype-Specific Changes |
| 5. | Highlighting Syntax |
| The Vim Syntax File |
| Using conceal with Syntax Regions |
| Specifying a New Syntax |
| 6. | Commands and Mappings |
| Writing User Commands ... |
Read now
Unlock full access