Learn Vimscript the Hard Way
When I need to script vim I write the smallest possible wrapper that I can and then write the real script in python, because vimscript seems so confusing and bizarre. (Vim can be scripted in python and some other languages if you have the support compiled in to your version.)
Now Steve Losh has written a well regarded introduction to this hairy language that I can turn to when I can’t avoid having to read or write a little vimscript and might actually need to understand what I’m doing. It can be read free of charge on the website, or purchased in hardcover, paperback, or in several electronic formats.
After dipping in to a few sections I can say that this book seems to be remarkably lucid and friendly. I may just wind up learning a bit about what has seemed up to now to be a fairly repellent language just as a side effect of seeking more enjoyment from the author.


