Skip to content

Commit 421bc2e

Browse files
authored
Don't need to repeat lazyvim config twice
1 parent 857fd35 commit 421bc2e

File tree

1 file changed

+1
-45
lines changed

1 file changed

+1
-45
lines changed

README.md

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -44,51 +44,7 @@
4444
![Project Overview](https://wakatime.com/static/img/ScreenShots/Screen-Shot-2016-03-21.png)
4545

4646

47-
## Configuring
48-
49-
### Here is a more detailed Lazy configuration.
50-
First add wakatime to your plugins.
51-
```lua
52-
{
53-
"wakatime/vim-wakatime",
54-
lazy=false,
55-
setup = function ()
56-
vim.cmd([[packadd wakatime/vim-wakatime]])
57-
end
58-
}
59-
```
60-
61-
#### Setting Up Wakatime CLI
62-
Follow these steps to set up the Wakatime CLI manually for optimal integration:
63-
64-
1. Clone the Wakatime CLI repository:
65-
66-
```sh
67-
git clone [email protected]:wakatime/wakatime-cli.git ~/wakatime-cli
68-
# or
69-
git clone https://github.com/wakatime/wakatime-cli.git ~/wakatime-cli
70-
```
71-
72-
2. Build the Wakatime CLI using Go or install the binary [here](http://github.com/shadmeoli/nvim_wakatime_setup).
73-
74-
```sh
75-
cd ~/wakatime-cli
76-
go build
77-
mv wakatime-cli ~/.wakatime/wakatime-cli
78-
```
79-
80-
Ensure the generated binary is moved to the `.wakatime` folder.
81-
82-
If the folder doesn't exist, run Neovim to install the plugin with Mason which will create the .wakatime folder at root, then quit Neovim or alternatively create the `.wakatime` folder manually and re-run the build process.
83-
84-
```sh
85-
mkdir ~/.wakatime
86-
cd ~/wakatime-cli
87-
go build
88-
mv wakatime-cli ~/.wakatime/wakatime-cli
89-
```
90-
91-
#### Commands:
47+
## Commands
9248

9349
* `:WakaTimeApiKey` - change the api key saved in your `~/.wakatime.cfg`
9450
* `:WakaTimeDebugEnable` - enable debug mode (may slow down Vim so disable when finished debugging)

0 commit comments

Comments
 (0)