You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-7Lines changed: 17 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,24 +17,34 @@
17
17
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
18
18
`:PlugInstall`
19
19
20
-
Or with [Packer](https://github.com/wbthomason/packer.nvim): add `use 'wakatime/vim-wakatime'` to your plugins file.
20
+
Or with [Packer](https://github.com/wbthomason/packer.nvim): add `use 'wakatime/vim-wakatime'` to your plugins file.
21
+
21
22
Or with [Vim 8+](https://www.vim.org/): `mkdir -p ~/.vim/pack/plugins/start && ~/.vim/pack/plugins/start && git clone https://github.com/wakatime/vim-wakatime.git`
22
23
23
-
Then start `vim`. You should be prompted to enter your WakaTime [API Key](https://wakatime.com/settings#apikey).
24
+
Or with [Lazy.nvim](https://github.com/folke/lazy.nvim.git): add to your plugins file.
25
+
```lua
26
+
{
27
+
"wakatime/vim-wakatime",
28
+
lazy=false,
29
+
setup=function ()
30
+
vim.cmd([[packadd wakatime/vim-wakatime]])
31
+
end
32
+
}
33
+
```
34
+
35
+
3. Restart Vim.
24
36
25
-
2. Enter your [API Key](https://wakatime.com/settings#apikey), then press `enter`.
37
+
4. If this is the first WakaTime plugin on your machine, enter your [API Key](https://wakatime.com/settings#apikey), then press `enter`.
26
38
27
-
3. Use Vim and your coding activity will be displayed on your [WakaTime dashboard](https://wakatime.com).
39
+
5. Use Vim and your coding activity will be displayed on your [WakaTime dashboard](https://wakatime.com).
0 commit comments