Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.