From 44da987ea1c9e8fc3125a81b326195ec80cbaa32 Mon Sep 17 00:00:00 2001 From: Jon Parise Date: Mon, 16 Dec 2019 11:29:32 -0800 Subject: [PATCH] Include installation instructions for vim packages Also remove the Pathogen and Vundle instructions. --- README.md | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index edd4102..a5ff66f 100644 --- a/README.md +++ b/README.md @@ -6,20 +6,19 @@ detection, syntax highlighting, and indentation. It currently targets the ## Installation -### Using [Plug][] +### Using [vim-plug](https://github.com/junegunn/vim-plug) 1. Add `Plug 'jparise/vim-graphql'` to `~/.vimrc` 2. `vim +PluginInstall +qall` -### Using [Vundle][] +### Using Vim Packages -1. Add `Plugin 'jparise/vim-graphql'` to `~/.vimrc` -2. `vim +PluginInstall +qall` - -### Using [Pathogen][] - -1. `cd ~/.vim/bundle` -2. `git clone https://github.com/jparise/vim-graphql.git` +```sh +mkdir -p ~/.vim/pack/jparise/start +cd ~/.vim/pack/jparise/start +git clone https://github.com/jparise/vim-graphql.git graphql +vim -u NONE -c "helptags graphql/doc" -c q +``` ## Syntax Highlighting @@ -81,7 +80,4 @@ line: [gql]: http://graphql.org/ [spec]: https://graphql.github.io/graphql-spec/June2018/ -[pathogen]: https://github.com/tpope/vim-pathogen -[plug]: https://github.com/junegunn/vim-plug -[vundle]: https://github.com/gmarik/vundle [vader.vim]: https://github.com/junegunn/vader.vim