vimwakatime

Install wakatime plugin by pathogen in VIM


I've installed the plugin wakatime to keep track of my daily coding hours(I am using the package manager Pathogen). However, after installing it, I don't know where to enter my wakatime API key. If I understand it correctly, I should see some input that ask me to enter the API key after finishing installing the plugin, but I don't see it. Any help will be appreciated. Thank you.


Solution

  • It will only ask for your API Key if it's not already saved. For example if you've already installed WakaTime in another IDE on your computer, then your API Key will already be saved to $HOME/.wakatime.cfg and installing more WakaTime plugins won't prompt for it again.

    To edit your API Key in Vim, use this command:

    :WakaTimeApiKey