@@ -115,6 +115,9 @@ COMMANDS *obsidian-commands*
115115 first by appending "–dry-run" to the command, e.g. `:ObsidianRename new-id
116116 --dry-run`.
117117- `:ObsidianToggleCheckbox` to cycle through checkbox options.
118+ - `:ObsidianNewFromTemplate [PATH] [TEMPLATE] ` to create a new note from a
119+ template in the templates folder. Selecting from a list using your preferred
120+ picker. This command has one optional argument: the path to the new note.
118121- `:ObsidianTOC` to load the table of contents of the current note into a picker
119122 list.
120123
@@ -747,13 +750,15 @@ different key:
747750
748751USING TEMPLATES *obsidian-using-templates*
749752
750- To insert a template, run the command `:ObsidianTemplate` . This will open a
751- list of available templates in your templates folder with your preferred
752- picker. Select a template and hit `<CR> ` to insert. Substitutions for `{{id}}` ,
753- `{{title }}` , `{{path }}` , `{{date}}` , and `{{time}}` are supported
754- out-of-the-box.
755-
756- For example, with the following configuration
753+ To insert a template in the current note, run the command `:ObsidianTemplate` .
754+ This will open a list of available templates in your templates folder with your
755+ preferred picker. Select a template and hit `<CR> ` to insert. To create a new
756+ note from a template, run the command `:ObsidianNewFromTemplate` . This will
757+ prompt you for an optional path for the new note and will open a list of
758+ available templates in your templates folder with your preferred picker. Select
759+ a template and hit `<CR> ` to create the new note with the selected template.
760+ Substitutions for `{{id}}` , `{{title }}` , `{{path }}` , `{{date}}` , and `{{time}}`
761+ are supported out-of-the-box. For example, with the following configuration
757762
758763>lua
759764 {
0 commit comments