sponsor Vim development Vim logo Vim Book Ad

activity-log : Log what you're working on, and when.

 script karma  Rating 28/21, Downloaded by 1176  Comments, bugs, improvements  Vim wiki

created by
Andy Dawson
 
script type
utility
 
description
Activity log is a plugin which simply logs what you're doing and when. For the latest version, to report a problem, or contact the author please visit https://github.com/AD7six/vim-activity-log

What does it do:

if you open and save a file, it'll create a log entries such as the following:

    2011-02-09 08:44:16;open;/home/andy/someproject/somefile
    2011-02-09 08:44:44;write;/home/andy/someproject/somefile
    ...

If you're in a git repository at the time, it'll also log the current branch at the time of writing, for example:


    2011-02-09 08:44:16;open;/home/andy/someproject/somefile
    2011-02-09 08:44:44;write;/home/andy/someproject/somefile;special-stuff
    ...

Why:

The main purpose of this plugin is to make time reporting easy for the forgetful programmer, without additional tools it provides a static log for you, but the format is such that you can easily import or analyze using whatever tool you feel comfortable with.
 
install details
save activity-log.vim to your vim/plugin dir.

If desired, you can change how your logs are generated by defining g:activity_log_location in your vimrc for example to get monthly logs rather than daily logs:

let g:activity_log_location = '/some/location/monthlylogs/%Y/%m.log'
 

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
activity-log.vim 1.3.0 2011-02-16 7.0 Andy Dawson Define the log file locations using a pattern, allow overriding from outside the plugin
activity-log.vim 1.2.1 2011-02-09 7.0 Andy Dawson Correct git branch parsing
activity-log.vim 1.2.0 2011-02-09 7.0 Andy Dawson Initial upload
ip used for rating: 3.142.173.227

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.
   
Vim at Github