zyedidia / micro

A modern and intuitive terminal-based text editor
https://micro-editor.github.io
MIT License
24.84k stars 1.17k forks source link

Feature Request: Add built-in Timestamping #630

Open Rbagman opened 7 years ago

Rbagman commented 7 years ago

Hello,

I caught this article (http://www.tecmint.com/micro-linuxtext-editor-with-syntax-highlighting/) last week. So far it's been great — except for the missing time-stamp feature. I can usually find Nano/ed/vi on most systems I visit, but a portable Micro with a time-stamping feature would save a lot of time/keystrokes. A built-in Emacs-like time-stamp feature would be awesome.

By Emacs-like I mean shortcuts for punching-in and punching-out; punch-out would also calculate the time elapsed since the last punch-in and concatenate the elapsed time total onto the punch-out timestamp.

Again, great portable app.

CamilleScholtz commented 7 years ago

This would probably be very easy to do in a lua plugin, I'll try something later today.

ibrokemypie commented 6 years ago

@onodera-punpun any update on that?

GeigerCounter commented 6 years ago

@Rbagman @ibrokemypie So like, you just want a feature to append a timestamp to the filename on save, like rob.txt to rob-2017-04-17.txt right? I could probably knock that out in an evening if that's all you want (with custom timestamp formatting even), but I feel like something more complicated is being asked for.

sum01 commented 6 years ago

Is this http://orgmode.org/manual/Clocking-work-time.html what's being asked for? Just randomly guessed what it is that's actually wanted.