Manual contents

Text clips and templates

Clip libraries are .clips files in the clips folder:

#name: C / C++
#language: c,cpp
== for | for loop
for (int i = 0; i < $|; ++i) {
	${SEL}
}

== shortcut | description starts a clip. $| is where the caret goes; ${SEL}, ${CLIP}, ${DATE}, ${TIME} and ${FILE} are replaced when the clip is inserted. Type a shortcut and press Tab (Expert mode), double-click a clip in the Text Clips panel, or use Edit > Expand Snippet. Files in the templates folder appear in File > New from Template and use the same placeholders.