May 2018
Intermediate to advanced
168 pages
4h 2m
English
| 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.
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.
First, launch Vim and inspect the ‘runtimepath’:
| => | :echo join(split(&runtimepath, ... |