Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added install instructions #307

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,41 @@ This repository contains snippets files for various programming languages.
It is community-maintained and many people have contributed snippet files and
other improvements already.

Installation
============
### Pathogen

Install [garbas' fork](https://github.com/garbas/vim-snipmate) of the vim-snipmate plugin

```
$ cd ~/.vim/bundle
$ git clone https://github.com/tomtom/tlib_vim.git
$ git clone https://github.com/MarcWeber/vim-addon-mw-utils.git
$ git clone https://github.com/garbas/vim-snipmate.git
```

Install vim-snippets

```
$ git clone https://github.com/honza/vim-snippets.git
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which directory should vim-snippets be placed in? The bundle directory?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The vim-snippets directory should be added to runtimepath which is what all plugin managers do.

```

### Vundler

Install [garbas' fork](https://github.com/garbas/vim-snipmate) of the vim-snipmate plugin

```
Bundle "MarcWeber/vim-addon-mw-utils"
Bundle "tomtom/tlib_vim"
Bundle "garbas/vim-snipmate"
```

Install vim-snippets

```
Bundle "honza/vim-snippets"
```

Contents
========

Expand Down