The open source plugin for productivity metrics, goals, leaderboards, and automatic time tracking.
Installing
Installing with Vundle
-
Install Vundle for Vim.
-
From terminal run:
echo "Plugin 'wakatime/vim-wakatime'" >> ~/.vimrc && vim +PluginInstall -
Restart Vim and type
:WakaTimeApiKey -
Enter your API Key, then press Enter
Use Vim and your coding activity will be displayed on your WakaTime Dashboard.
Installing with Lazy-Vim
Install lazy.nvim for NeoVim.
-
Add this line to your plugins.lua:
{ 'wakatime/vim-wakatime', lazy = false } -
Restart NeoVim and type
:WakaTimeApiKey -
Enter your API Key, then press Enter
Use NeoVim and your coding activity will be displayed on your WakaTime Dashboard.
Installing with Pathogen
-
Install Pathogen for Vim.
-
From terminal run:
cd ~/.vim/bundle && git clone git://github.com/wakatime/vim-wakatime.git -
Restart Vim and type
:WakaTimeApiKey -
Enter your API Key, then press Enter
-
Type some code, then visit your WakaTime Dashboard to see your stats!
Installing with Vim-Plug
-
Install vim-plug for Vim.
-
Add the plugin to your
~/.vimrc:Plug 'wakatime/vim-wakatime' -
From terminal run:
vim +PlugInstall -
Restart Vim and type
:WakaTimeApiKey -
Enter your API Key, then press Enter
-
Type some code, then visit your WakaTime Dashboard to see your stats!
Installing for Neovim with Packer
-
Make sure packer.nvim is installed.
-
Add the plugin to your
~/.config/nvim/lua/plugins.lua:use 'wakatime/vim-wakatime' -
Restart NeoVim and type
:WakaTimeApiKey -
Enter your API Key, then press Enter
-
Type some code, then visit your WakaTime Dashboard to see your stats!
Installing for SpaceVim
-
Edit your ~/.SpaceVim.d/init.toml file adding the following lines:
[[custom_plugins]] repo = "wakatime/vim-wakatime" merged = false -
Restart SpaceVim and type
:WakaTimeApiKey -
Enter your API Key, then press Enter
Use SpaceVim and your coding activity will be displayed on your WakaTime Dashboard.

