Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to attempt my first VIM plugin and wondered where there are some good docs on this? From going threw the plugins I use it seems to me that it is a mix of BASH and some sorts of VIM api is this correct?

share|improve this question
up vote 4 down vote accepted

Yes, Steve Losh wrote a nice introduction for creating vim plugins. He mentions common pitfalls, strategies and further information sources.

AFAIK it is not necessarily a mix of bash script and vim API. A plugin is either written in the programming language Vim script or in another scripting language, e.g. Python. For a plugin written in Python your vim needs to be compiled with Python support - thus, such a plugin is less portable between different vim installations.

Via Vim script you can call external processes, including shell scripts.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.