-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add timestamp to line with shortcut key #24
Comments
Neat! I like it.
Is it possible to make the timestamp formatting configurable? I assume
there will be someone who wants to include the date, or use a 24h clock etc.
Also, I think Shift+Q won't work as that's a normal text insertion
keystroke "Q", but Ctrl+k sounds like a reasonable default.
…On Tue, Jan 18, 2022, 6:58 AM Tom Melshinker ***@***.***> wrote:
Hey,
I'm using the newday snippet daily and when I want to fill the Activity
log, I have to write the current timestamp. I would like to make a
keybinding shortcut that will take the current line and add the current
timestamp to the left of it OR update the current timestamp if a timestamp
is already on the left (similar mechanism to how the checkbox works).
ex.
09:46 --- I do X and then I do Y.
10:59 --- Done with X. Moving forward to Y.
"HH:MM --- " that's the part that I want to auto-generate with a
keybinding. We can set it by default to SHIFT + Q or maybe CTRL + K?
the "---" can be replaced with something more fitting. I'm using this one
specifically because that's how I'm using it manually today
If you approve it, I'll try to implement it and then submit a PR.
—
Reply to this email directly, view it on GitHub
<#24>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAABAK5MISVDPGTKRRWDZTUWVWWXANCNFSM5MHHYDLQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I just checked "Ctrl+k" on my vscode and it seems to be bound as the initial key of a combo. So maybe "Ctrl+K Ctrl+U" or something would work better? |
Let's address the key binding issue when we get there :) |
canadaduane
changed the title
Feature suggestion
Add timestamp to line with shortcut key
Jan 21, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
I'm using the newday snippet daily and when I want to fill the Activity log, I have to write the current timestamp. I would like to make a keybinding shortcut that will take the current line and add the current timestamp to the left of it OR update the current timestamp if a timestamp is already on the left (similar mechanism to how the checkbox works).
ex.
09:46 --- I do X and then I do Y.
10:59 --- Done with X. Moving forward to Y.
"HH:MM --- " that's the part that I want to auto-generate with a keybinding. We can set it by default to SHIFT + Q or maybe CTRL + K?
the "---" can be replaced with something more fitting. I'm using this one specifically because that's how I'm using it manually today
If you approve it, I'll try to implement it and then submit a PR.
The text was updated successfully, but these errors were encountered: