Tip 4Understanding Scripts, Plugins, and Packages

Packages are a new feature in Vim 8 that make it easy to manage your plugins. To put it simply: a package is a directory that contains one or more plugins. In turn, a plugin is a directory that contains one or more scripts, and a script is a standalone file containing instructions written in Vim script.

If that all makes sense, you might want to skip to the next tip, which demonstrates how to create your own package and install plugins to it. If you’re confused by this terminology, don’t worry. Read this tip to get a better grip on these concepts.

Scripts Add Functionality to Vim

Vim has had basic support for scripts since version 5. A script is a standalone file containing instructions ...

Get Modern Vim now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.