| Tip 4 | Understanding 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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access