dacap / keyfreq

Track Emacs commands frequency
320 stars 25 forks source link

Add keyfreq-reset command. #11

Closed w-vi closed 8 years ago

w-vi commented 10 years ago

keyfreq-reset command clears all the stats so you start a fresh. It deletes the file and clears the hash without any backup so BE CAREFUL.

Possible improvement which would make sense is to backup the old file first, maybe optionally. I don't know if this feature makes sense to somebody else but I sometimes measure just some parts of the work and like to start from scratch and this command is a convenience.

dacap commented 8 years ago

I'll add a confirmation y/n when it's called interactively. Thanks for the contribution!