WakaTime for Vim Vim

The open source plugin for productivity metrics, goals, leaderboards, and automatic time tracking.

Installing

Installing with Vundle

  1. Install Vundle for Vim.

  2. From terminal run:

    echo "Plugin 'wakatime/vim-wakatime'" >> ~/.vimrc && vim +PluginInstall

  3. (Re-)start Vim and enter your API Key, then press Enter.

  4. Use Vim and your coding activity will be displayed on your WakaTime Dashboard.

Installing with Lazy-Vim

  1. Install lazy.nvim for NeoVim.

  2. Add this line to your plugins.lua:

    { 'wakatime/vim-wakatime', lazy = false }

  3. (Re-)start NeoVim and enter your API Key, then press Enter.

  4. Use NeoVim and your coding activity will be displayed on your WakaTime Dashboard.

Installing with Pathogen

  1. Install Pathogen for Vim.

  2. From terminal run:

    cd ~/.vim/bundle && git clone git://github.com/wakatime/vim-wakatime.git

  3. (Re-)start Vim and enter your API Key, then press Enter.

  4. Type some code, then visit your WakaTime Dashboard to see your stats!

Installing with Vim-Plug

  1. Install vim-plug for Vim.

  2. Add the plugin to your ~/.vimrc:

    Plug 'wakatime/vim-wakatime'

  3. From terminal run:

    vim +PlugInstall

  4. (Re-)start Vim and enter your API Key, then press Enter.

  5. Type some code, then visit your WakaTime Dashboard to see your stats!

Installing for Neovim with Packer

  1. Make sure packer.nvim is installed.

  2. Add the plugin to your ~/.config/nvim/lua/plugins.lua:

    use 'wakatime/vim-wakatime'

  3. (Re-)start Neovim and enter your API Key, then press Enter.

  4. Type some code, then visit your WakaTime Dashboard to see your stats!

Installing for SpaceVim

  1. Edit your ~/.SpaceVim.d/init.toml file adding the following lines:

    [[custom_plugins]] repo = "wakatime/vim-wakatime" merged = false

  2. (Re-)start SpaceVim and enter your API Key, then press Enter.

  3. Use SpaceVim and your coding activity will be displayed on your WakaTime Dashboard.

WakaTime plugins collect file path and project names from your IDE. Learn more about data collected and privacy.