You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DOCS.md
+8
Original file line number
Diff line number
Diff line change
@@ -487,9 +487,17 @@ Variables:
487
487
*`%F`: Like `%f` but inserts the full path
488
488
*`%n`: Inserts the current `$USER`
489
489
*`%t`: Prints current date (Example: `<2021-06-10 Thu>`)
490
+
*`%^t`: Prompt for current date (Example: `<2021-06-10 Thu>`)
491
+
*`%^{Name}t`: Prompt for current date for given `Name` (visible in calendar title) (Example: `<2021-06-10 Thu>`)
490
492
*`%T`: Prints current date and time (Example: `<2021-06-10 Thu 12:30>`)
493
+
*`%^T`: Prompt for current date and time (Example: `<2021-06-10 Thu 12:30>`)
494
+
*`%^{Name}T`: Prompt for current date and time for given `Name` (visible in calendar title) (Example: `<2021-06-10 Thu 12:30>`)
491
495
*`%u`: Prints current date in inactive format (Example: `[2021-06-10 Thu]`)
496
+
*`%^u`: Prompt for current date in inactive format (Example: `[2021-06-10 Thu]`)
497
+
*`%^{Name}u`: Prompt for current date in inactive format for given `Name` (visible in calendar title) (Example: `[2021-06-10 Thu]`)
492
498
*`%U`: Prints current date and time in inactive format (Example: `[2021-06-10 Thu 12:30]`)
499
+
*`%^U`: Prompt for current date and time in inactive format (Example: `[2021-06-10 Thu 12:30]`)
500
+
*`%^{Name}U`: Prompt for current date and time in inactive format for given `Name` (visible in calendar title) (Example: `[2021-06-10 Thu 12:30]`)
493
501
*`%a`: File and line number from where capture was initiated (Example: `[[file:/home/user/projects/myfile.txt +2]]`)
494
502
*`%<FORMAT>`: Insert current date/time formatted according to [lua date](https://www.lua.org/pil/22.1.html) format (Example: `%<%Y-%m-%d %A>` produces '2021-07-02 Friday')
495
503
*`%x`: Insert content of the clipboard via the "+" register (see :help clipboard)
0 commit comments