views:

116

answers:

3

I am learning VIM and would like to try to hack on some VIM plugins, but can't seem to find any resources for learning the scripting language. It seems like its called VIMscript, but I'm finding almost nothing useful on Google. Does anyone have any recommendations for learning how to develop VIM plugins from scratch?

Thanks

A: 

It is called vimscript and also VimL on many resources (for example, on github). I do not know any resources about vimscript, but you may start from documentation section of the official site. Or, learn like me: first, read the help (the entire eval.txt and options.txt files), remember something, try to write some script that you want and try to understand how other people's scripts are working.

ZyX
+1  A: 

Chapter 41 of the VIM manual seems to be what I was looking for

http://vimdoc.sourceforge.net/htmldoc/usr_41.html#script

Another well explained book

http://www.swaroopch.com/notes/Vim_en:Scripting

Noli
+3  A: 

This is a nice starting point to write scripts for Vim:

http://www.ibm.com/developerworks/linux/library/l-vim-script-1/index.html

El Isra