Use `autocmd` instead of `au`
Using the short form seemed ironic, since it came just before the section
warning against using short forms.
author |
Chip Hogg <charles.r.hogg@gmail.com> |
date |
Sun, 26 Aug 2012 20:03:48 -0400 |
parents |
93d00f94217a |
children |
004078be4e90 |
[Learn Vimscript the Hard Way][book] is a short book for users of the Vim editor
who want to learn how to customize Vim.
Before reading this book you should be comfortable using Vim and know what terms
like "buffer", "window" and "insert mode" mean.
LVSTHW is divided into three sections:
* The first covers basic Vim commands that you can use in your `~/.vimrc` file
to customize Vim quickly and easily.
* The second looks more deeply at Vimscript as a programming language, covering
things like variables, comparisons, and functions.
* The third walks through the creation of a sample plugin intended for
distribution to other Vim users.
Currently the book is a work in progress. Once it's finished you'll be able to
buy ebook and possibly hard copy versions. If you want to get on the mailing
list to know when it's officially completed you can sign up at [Learn Vimscript
the Hard Way on Leanpub][leanpub].
The book is [copyright][license] 2011 by Steve Losh, all rights reserved. You
can redistribute it as long as you don't make any changes and don't charge for
it.
The source code to the book is available [on BitBucket][hg] and [on
GitHub][git]. If you find any mistakes or feel you could improve it feel free
to send a pull request, but I'm retaining the copyright on the book for now, so
if you're not comfortable with that I understand.
[book]: /
[hg]: http://bitbucket.org/sjl/learnvimscriptthehardway/
[git]: http://github.com/sjl/learnvimscriptthehardway/
[license]: /license.html
[leanpub]: http://leanpub.com/learnvimscriptthehardway