| Tip 5 | Installing Plugins to Your Package |
With Vim 8, the packages feature makes it easy to install plugins without having to rely on a plugin manager. You can install plugins in your package and they will be automatically loaded when Vim starts up.
Preparation
To follow the steps in this tip, you may want to temporarily disable your personal Vim configuration. That way you’ll be able to reproduce the examples listed here without interference from any plugins you may have already installed. To find out how, follow the steps in Using Factory Settings, which also includes instructions on how to restore your own configuration afterward.
Installing Your First Plugin
First, launch Vim and inspect the ‘runtimepath’:
| => | :echo join(split(&runtimepath, ... |
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