Skip to Content
Modern Vim
book

Modern Vim

by Drew Neil
May 2018
Intermediate to advanced
168 pages
4h 2m
English
Pragmatic Bookshelf
Content preview from Modern Vim
Tip 5Installing 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.
Start your free trial

You might also like

Vim Masterclass

Vim Masterclass

Jason Cannon
Mastering Vim

Mastering Vim

Ruslan Osipov

Publisher Resources

ISBN: 9781680506006Errata Page