Skip to Content
Working with Linux ??? Quick Hacks for the Command Line
book

Working with Linux ??? Quick Hacks for the Command Line

by Petru I»ôfan, Bogdan Vaida
May 2017
Beginner
222 pages
3h 50m
English
Packt Publishing
Content preview from Working with Linux ??? Quick Hacks for the Command Line

Plugin steroids for Vim

In this section, we will be looking at how we can add external plugins to Vim. Vim has its own programming language for writing plugins, which we saw a glimpse of when writing the vimrc file. Luckily, we won't have to learn all of that because most of the stuff we can think of already has a plugin out there. To manage plugins, let's install the plugin manager pathogen. Open: https://github.com/tpope/vim-pathogen.

Follow the installation instructions. As you can see, it's a one-line command:

mkdir -p ~/.vim/autoload ~/.vim/bundle && \curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

And after it finishes, add pathogen to your .vimrc:

execute pathogen#infect()

Most IDEs show a tree layout of the folder structure, ...

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

Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line

Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line

Philip Kirkbride
Windows Registry Troubleshooting

Windows Registry Troubleshooting

MVP Mike Halsey, MVP Andrew Bettany

Publisher Resources

ISBN: 9781787129184