From c74f83b62b868d3897147715f8bf0299f61e118b Mon Sep 17 00:00:00 2001 From: FrtMeLody Date: Sat, 19 Dec 2015 09:59:35 +0800 Subject: [PATCH 1/3] add vim-plug to rtp --- README.md | 6 ++++++ plug.vim => autoload/plug.vim | 0 2 files changed, 6 insertions(+) rename plug.vim => autoload/plug.vim (100%) diff --git a/README.md b/README.md index 38d3d86..896c6d8 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,11 @@ $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' (New-Object Net.WebClient).DownloadFile($uri, (Resolve-Path ~\vimfiles\autoload\plug.vim)) ``` +##### Git +``` +git clone 'https://github.com/frtmelody/vim-plug.git' ~/.vim/plugged/vim-plug' +``` + ### Usage Add a vim-plug section to your .vimrc: @@ -61,6 +66,7 @@ Add a vim-plug section to your .vimrc: #### Example ```vim +set rtp+= ~/.vim/plugged/vim-plug call plug#begin('~/.vim/plugged') " Make sure you use single quotes diff --git a/plug.vim b/autoload/plug.vim similarity index 100% rename from plug.vim rename to autoload/plug.vim From be9f82bf05acf1d3f08968e054a8f4e0dca9c149 Mon Sep 17 00:00:00 2001 From: FrtMeLody Date: Sat, 19 Dec 2015 10:00:38 +0800 Subject: [PATCH 2/3] add git installation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 896c6d8..c23ad2b 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' (New-Object Net.WebClient).DownloadFile($uri, (Resolve-Path ~\vimfiles\autoload\plug.vim)) ``` -##### Git +###### Git ``` git clone 'https://github.com/frtmelody/vim-plug.git' ~/.vim/plugged/vim-plug' ``` From dc3b03f043b722f3a71af91680bee910bb9e7fab Mon Sep 17 00:00:00 2001 From: FrtMeLody Date: Sat, 19 Dec 2015 10:02:23 +0800 Subject: [PATCH 3/3] add vim-plug manage vim-plug --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c23ad2b..06e4862 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' ###### Git ``` -git clone 'https://github.com/frtmelody/vim-plug.git' ~/.vim/plugged/vim-plug' +git clone 'https://github.com/frtmelody/vim-plug.git' '~/.vim/plugged/vim-plug' ``` ### Usage @@ -69,6 +69,9 @@ Add a vim-plug section to your .vimrc: set rtp+= ~/.vim/plugged/vim-plug call plug#begin('~/.vim/plugged') +" use vim-plug manage vim-plug +Plug 'frtmelody/vim-plug' + " Make sure you use single quotes Plug 'junegunn/seoul256.vim' Plug 'junegunn/vim-easy-align'