Merge pull request #69 from yankskwesi/master
Adding installation instructions for Vim-plug plugin manager in readme
This commit is contained in:
commit
25aa400fd1
1 changed files with 13 additions and 1 deletions
14
README.md
14
README.md
|
@ -16,7 +16,10 @@ Installation
|
|||
|
||||
Or with [Pathogen](https://github.com/tpope/vim-pathogen): `cd ~/.vim/bundle && git clone git://github.com/wakatime/vim-wakatime.git`
|
||||
|
||||
2. Enter your [api key](https://wakatime.com/settings#apikey), then press `enter`.
|
||||
Or with [Vim-plug](https://github.com/junegunn/vim-plug): add `Plug 'wakatime/vim-wakatime` to .vimrc file. While in vim reload .vimrc with `:so ~/.vimrc` or restart vim, enter
|
||||
`:PlugInstall`.
|
||||
|
||||
2. Enter your [api key](https://wakatime.com/settings#apikey), then press `enter`.
|
||||
|
||||
3. Use Vim and your coding activity will be displayed on your [WakaTime dashboard](https://wakatime.com).
|
||||
|
||||
|
@ -83,6 +86,15 @@ Uninstalling
|
|||
|
||||
3. Run in terminal: `vim +PluginClean`.
|
||||
|
||||
**_If using vim-plug_**
|
||||
|
||||
_While in vim_
|
||||
|
||||
1. Delete or comment out `Plug` command from .vimrc file.
|
||||
|
||||
2. Reload vimrc (`:so ~/.vimrc`) or restart vim
|
||||
|
||||
3. Run `:PlugClean`, it will detect and remove undeclared plugins.
|
||||
|
||||
[wakatime-cli]: https://github.com/wakatime/wakatime
|
||||
[wakatime-cli-config]: https://github.com/wakatime/wakatime#configuring
|
||||
|
|
Loading…
Reference in a new issue