From a91facf9222369cffaa32b28147f964282738503 Mon Sep 17 00:00:00 2001 From: Luna Date: Thu, 23 May 2019 22:24:34 -0300 Subject: [PATCH] update README.md, add base_url setting --- README.md | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index c23799c..66e8cac 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,30 @@ -[![Vim](https://wakatime.com/static/img/Vim-supported-brightgreen.svg)](https://github.com/wakatime/vim-wakatime#installation) -[![Neovim](https://wakatime.com/static/img/Neovim-supported-brightgreen.svg)](https://github.com/wakatime/vim-wakatime#installation) -[![MacVim](https://wakatime.com/static/img/MacVim-supported-brightgreen.svg)](https://github.com/wakatime/vim-wakatime#installation) -[![gVim](https://wakatime.com/static/img/gVim-supported-brightgreen.svg)](https://github.com/wakatime/vim-wakatime#installation) - - -# vim-wakatime +# vim-rana Quantify your coding inside Vim. +**This is a fork of vim-wakatime. Rana is not affiliated with WakaTime.** + +**Rana is a reverse-engineered WakaTime server.** https://github.com/lnyaa/rana Installation ------------ -1. With [Vundle](https://github.com/gmarik/vundle): `echo "Plugin 'wakatime/vim-wakatime'" >> ~/.vimrc && vim +PluginInstall` +1. With [Vundle](https://github.com/gmarik/vundle): `echo "Plugin 'https://gitdab.com/lavatech/vim-rana'" >> ~/.vimrc && vim +PluginInstall` - Or with [Pathogen](https://github.com/tpope/vim-pathogen): `cd ~/.vim/bundle && git clone git://github.com/wakatime/vim-wakatime.git` + Or with [Pathogen](https://github.com/tpope/vim-pathogen): `cd ~/.vim/bundle && git clone https://gitdab.com/lavatech/vim-rana.git` - 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 + Or with [Vim-plug](https://github.com/junegunn/vim-plug): add `Plug 'https://gitdab.com/lavatech/vim-rana'` 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). +3. Enter your Rana instance's base URL on the `~/.wakatime.cfg` file. Put it on the `base_url` field. e.g `base_url=https://rana.discordapp.io` + +4. Use Vim and your coding activity will be displayed on your preffered rana instance. Note: WakaTime depends on [Python](http://www.python.org/getit/) being installed to work correctly. -Screen Shots ------------- - -![Project Overview](https://wakatime.com/static/img/ScreenShots/Screen-Shot-2016-03-21.png) - - Configuring ----------- @@ -81,7 +74,7 @@ For more general troubleshooting info, see the [wakatime-cli Troubleshooting Sec Uninstalling ------------ -1. Remove `Plugin 'wakatime/vim-wakatime'` from your `.vimrc` file. +1. Remove `Plugin 'lavatech/vim-rana'` from your `.vimrc` file. 2. Run in terminal: `rm ~/.wakatime.*`.