Vim Toggl

How much time do you spend in Vim? Get the WakaTime plugin and track your programming in real-time.

82
Editors Supported
600+
Languages Detected
1,186,499
Hours Coded this Week

Measure Your Coding

The WakaTime plugin for Vim gives you real-time metrics per project, file, branch, commit, feature, operating system, language, etc.

Gain Insights

Spend more time in JavaScript or Python? Your personal dashboard shows the metrics you care about.

Improve Your Productivity

Compete with your friends on private leaderboards, improve your daily coding average, and check your rank against other WakaTime users.

Used by Top Companies

WakaTime gives us insight into our development process and increases our impact as a team.
Scott Milliken
CEO of Mixrank
I use WakaTime to measure and improve my focus. Reading Deep Work by Cal Newport made me realize the importance of deep sustained focus. WakaTime seamlessly helps me achieve this goal, and I strongly recommend it.
Kirubakaran
Software consultant
I love the insight WakaTime gives me on my projects. With WakaTime I know exactly where my time went down to the file.
TJ Holowaychuk
Creator of Express.js

Open Source

We value Open Source and make a point to release all our plugins on GitHub under a BSD License.

Install the plugin

Installing with Vundle

  1. Install Vundle for Vim.

  2. From terminal run:

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

  3. Restart Vim and type :WakaTimeApiKey

  4. Enter your API Key, then press Enter

  5. 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. Restart NeoVim and type :WakaTimeApiKey

  4. Enter your API Key, then press Enter

  5. 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. Restart Vim and type :WakaTimeApiKey

  4. Enter your API Key, then press Enter

  5. 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. Restart Vim and type :WakaTimeApiKey

  5. Enter your API Key, then press Enter

  6. 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. Restart NeoVim and type :WakaTimeApiKey

  4. Enter your API Key, then press Enter

  5. 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. Restart SpaceVim and type :WakaTimeApiKey

  3. Enter your API Key, then press Enter

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