On 14/05/09 09:34, J.A.J. Pater wrote: > > Dear vim-use list members, > > Is there a way to measure the time you're editing a file in vim. > I guess I could use the time command (since I'm using Ubuntu). > But I'd like vim to write time to a log file. > For instance: write the (system) time when a file is opened and > again write the time to the same log file when a file is closed. > Or: (even better) just write the span of time which has elapsed since > the file was opened on closing the file. > > Thanks in advance! > > Adriaan
In addition to everything suggested by other people, you might want to take a look at the |:profile| command. However, it requires the |+profile| feature, which means a Huge build, which in turn probably means compiling Vim yourself (Steve Hall's "Vim without Cream" Windows distribution is only a "Big" build). Best regards, Tony. -- "But officer, I was only trying to gain enough speed so I could coast to the nearest gas station." --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
