Skip to content

Commit

Permalink
add instructions for 'vim-plug'
Browse files Browse the repository at this point in the history
  • Loading branch information
yanick committed Jan 21, 2015
1 parent 9c15e2b commit acfa285
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,31 @@ You can install vim-perl using
* [Pathogen](https://github.com/tpope/vim-pathogen) and git submodules
* [Vundle](https://github.com/gmarik/vundle)
* [VAM](https://github.com/MarcWeber/vim-addon-manager)
* [vim-plug](https://github.com/junegunn/vim-plug)

They were all tested and work: please read the related documentation on the related sites.

The legacy method is to install just do a "make install" and you'll get the
.vim files all installed in your `~/.vim` directory.

## Installing using [vim-plug](https://github.com/junegunn/vim-plug)

In your `.vimrc`:

call plug#begin('~/.vim/plugged')

Plug 'vim-perl/vim-perl', { 'for': 'perl', 'do': 'make clean carp dancer highlight-all-pragmas moose test-more try-tiny' }

call plug#end()

Re-source your configuration, do `PlugInstall`, and you're done.

The `do` argument is optional, and can be used
if you want to enable any of the optional sub-syntaxes.

The `perl` argument is also optional, and only required if you want to
lazy-load the plugin only if dealing with Perl files.

# Getting Help

Any bug reports/feature requests/patches should be directed to the [vim-perl group](https://groups.google.com/group/vim-perl).
Expand Down

0 comments on commit acfa285

Please sign in to comment.