sponsor Vim development Vim logo Vim Book Ad

gtm-plugin.vim : Simple, seamless, lightweight time tracking for all your git projects

 script karma  Rating 6/5, Downloaded by 2187  Comments, bugs, improvements  Vim wiki

created by
Michael Schenk
script type
Git Time Metrics (GTM) is a tool to automatically track time spent reading and working on code that you store in a Git repository. By installing GTM and using supported plug-ins for your favorite editors, you can immediately realize better insight into how you are spending your time and on what files.

See https://github.com/git-time-metric/gtm-vim-plugin/blob/master/README.md for feature and usage information.

To report a bug, please submit an issue on GitHub https://github.com/git-time-metric/gtm-vim-plugin/issues
install details
Installing GTM is a two step process. First, it's recommended you install the GTM executable that the plug-in integrates with and then install the Vim GTM plug-in. Please submit an issue if you have any problems and/or questions.

1. Follow the Getting Started section, https://github.com/git-time-metric/gtm/blob/master/README.md,  to install the GTM executable for your operating system.

2. The easy way to install the plug-in is to use your favorite Vim plug-in manager.

    Plug             Plug 'git-time-metric/gtm-vim-plugin'
    NeoBundle  NeoBundle 'git-time-metric/gtm-vim-plugin'
    Vundle         Plugin 'git-time-metric/gtm-vim-plugin'
    Pathogen     git clone https://github.com/git-time-metric/gtm ~/.vim/bundle/gtm

Note - to enable time tracking for a Git repository, you need to initialize it with `gtm init` otherwise it will be ignored by GTM. This is done via the command line.

> cd /path/to/your/project
> gtm init

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
gtm-vim-plugin-1.0.7.tar.gz v1.0.7 2017-01-22 7.0 Michael Schenk Update gtm version constraint to gtm 1.2.5 and readme updates
gtm-vim-plugin-1.0.6.tar.gz 1.0.6 2016-11-20 7.0 Michael Schenk Release gtm 1.2.1
gtm-vim-plugin-1.0.5.tar.gz 1.0.5 2016-10-29 7.0 Michael Schenk README updates
gtm-vim-plugin-1.0.4.tar.gz v1.0.4 2016-10-08 7.0 Michael Schenk Update gtm version constraint to 1.1.0

GTM now supports Terminal tracking!
gtm-vim-plugin-1.0.3.tar.gz v1.0.3 2016-09-17 7.2 Michael Schenk - Option to disable version verify
- Remove post processing of status
gtm-vim-plugin-1.0.2.tar v1.0.2 2016-08-09 7.0 Michael Schenk Require GTM v1.0.0
gtm-vim-plugin-1.0.1.tar 1.0.1 2016-07-24 7.0 Michael Schenk Improve error handling and informing user
gtm-vim-plugin-v1.0.0.zip 1.0.0 2016-07-11 7.2 Michael Schenk Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.