The best advice I can give is what you read:
:help usr_41.txt
which will give you a good overview of the basics. Then find some things you want to do and create functions for them. While you are doing this, use intensively:
:help function-list
to understand what all the built-in functions are. Most of them are quite similar to other scripting languages โโ(albeit with a more rigid syntax), so any experience with text in Python or something else will be useful.
Also, check out the vim and Google scripting page for examples of existing scripts that can help expand your knowledge.
Lastly (and probably most importantly), donโt be afraid to ask about https://stackoverflow.com/a/2128/ or the Vim mailing list , and you will have a lot of support for any problems you may have.
DrAl Jan 28 '10 at 12:12 2010-01-28 12:12
source share