File: snippet_lib.md

package info (click to toggle)
frescobaldi 3.0.0~git20161001.0.eec60717%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,792 kB
  • ctags: 5,843
  • sloc: python: 37,853; sh: 180; makefile: 69
file content (17 lines) | stat: -rw-r--r-- 661 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
=== Maintaining a library of snippets ===
    
To keep a certain group of snippets manageable as a snippet
library, you can of course prefix the snippet titles with some sort
of special name. But a smarter way is to use a snippet variable.

It is suggested to use the `{set}` variable, and set it to the name of the
library you want the snippet to belong to.

Then in the snippet manager, you can easily select all the snippets 
belonging to the library by entering `:{set} name` in the snippet search 
bar, where "`name`" is the name you want to use. And then e.g. export the 
snippets to an XML file for sharing the snippets with others.


#VARS
set text set