- The VimL Primer

The VimL Primer
0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50.00, 0 votes
The VimL Primer: Edit Like a Pro with Vim Plugins and Scripts is published by on February 1, 2015. This book has 84 pages in English, ISBN-10 1680500406, ISBN-13 978-1680500400. PDF, EPUB, MOBI is available for download below.

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.

VimL is the scripting language of the Vim editor. If you’ve ever edited or saved a vimrc file, you’ve written VimL. And VimL can do much more than simply configure settings and specify option values–you 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. You’ll 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. You’ll discover how to declare filetype-specific settings and define your own syntax elements for use with Vim’s syntax highlighting. And you’ll 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!

What You Need

Vim version 7 or later is required, and it’s available on any of the major operating systems. This book uses the “Huge” version of Vim 7.4.

  • Peter Bom

    Peter Bom

    Hello world! I'm Peter Bom, the man who only update newest books never published on Internet.

    You may also like...

    3 Responses

    1. liuyaqiu says:

      The download file “the-viml-primer_p1_1.zip” can not be extracted.
      My OS is Ubuntu 14.04. Using zip to extract it, error message:
      “End-of-central-directory signature not found. Either this file is not
      a zipfile, or it constitutes one disk of a multi-part archive. In the
      latter case the central directory and zipfile comment will be found on
      the last disk(s) of this archive.”

      • Peter Bom says:

        I zip it on Windows with Winrar, and of course it can opened without any problem. I’ll check it to ensure can open on any OS. Thank you for your feedback.

        • liuyaqiu says:

          Thanks. Using “unrar” in my OS, it succeeds.
          The command is: “unrar e the-viml-primer_p1_1.zip”.
          The software zip can’t extract the archive created by winrar, the solution is using unrar for Linux OS.

    Leave a Reply