News for hackers. Stuff that matters.
Re:Notetime: Minimalistic notes where everything is timestamped by davidcollantes on Friday March 21, 2025 @03:08PM (#43439775)
For the uneducated, how do you use those? Is there a way to insert those automatically, just like the submission does?
Re:Notetime: Minimalistic notes where everything is timestamped by davidcollantes on Friday March 21, 2025 @09:39PM (#43442512)
I got it. One enters `dtt`, or `dts` and space. It gets replaced by date, or timestamp accordingly. Pretty neat!
Re:Notetime: Minimalistic notes where everything is timestamped by stevekemp on Saturday March 22, 2025 @03:19AM (#43444141)
Those are basically string-replacements. Add those lines to .vim/vimrc, and when you type "dtt" or "dts" that text gets replaced with a time/date stamp.

Kinda useful if you want to manually add date/time to lines, but a different thing.