Template: New File From Template…

template.new

Create a file, or a set of files, from a template. A single-file template can stay an unsaved buffer.

How to run it

Open the command palette and search for Template: New File From Template…, then press Enter. The palette opens with M-x in Emacs, Ctrl+Shift+P in CUA, Sublime Text and VS Code, and Ctrl+Shift+A in IntelliJ IDEA (⇧⌘P and ⇧⌘A on macOS). It also has a default keybinding:

KeymapWindows / LinuxmacOS
EmacsC-cC-nC-cC-n

See also