num_pages: 84
description: VimL is the scripting language of the Vim editor. If youve ever edited or saved a vimrc file youve written VimL. And VimL can do much more than simply configure settings and specify option valuesyou can write entire plugins in VimL. But without a background in scripting Vim it can be hard to know where to start.The VimL Primer gives you the tools and confidence you need. It gets you comfortable in VimL quickly walking you through creating a working plugin that you can run yourself as you write it in Vim. Youll learn how to script common commands and buffer interaction work with windows and buffers from within a plugin script and how to use autocommands to have Vim recognize entirely new filetypes. Youll discover how to declare filetype-specific settings and define your own syntax elements for use with Vims syntax highlighting. And youll see how you can write your own command-line commands and define new mappings to call them.With this introduction to scripting Vim your own Vim extensions are only plugins away. Take control of your editor!
language: English
title: The VimL Primer: Edit Like a Pro with Vim Plugins and Scripts
publisher: The Pragmatic Bookshelf