To create a new snippet, do one of the following:
Creating a new snippet using the “Add Snippet” action
Creating a new snippet vis “Send-to” or “Instant Send”
Info Internally, snippets are simply plain text files (.txt) that are stored in the following folder:
Any plain text file you place in this folder will be picked up by LaunchBar and can then be used as a snippet.
LaunchBar automatically suggests a name for the newly created snippet, based on the snippet text. If you want access the snippet under a different name, just press ⇧⌘R to trigger the Rename action.
Renaming a snippet
Snippets can be accessed like any other item in LaunchBar’s index. Just type a few letters from their name or type a previously–assigned custom abbreviation.
The complete list of all snippets can be quickly accessed via a system wide keyboard shortcut. By default this shortcut is configured to Control-Option-Command-Space, but it can be customized in the Shortcuts pane of LaunchBar Preferences.
Alternatively you can select the “Snippets” indexing rule and press Right Arrow to get the same list of all snippets.
Once the desired Snippet is selected in LaunchBar, press Return to insert it into the text that you are currently editing in the frontmost application.
|Accessing a snippet’s contents|
|Insert the snippet into the currently edited text||↩|
|Copy the snippet’s contents to the clipboard (with placeholders expanded)||⌘C|
|Preview the snippet with Quick Look||Space or ⌘Y|
|Navigate into the snippet (line by line, word by word)||→|
|Editing a snippet|
|Rename the snippet||⇧⌘R|
|Assign an abbreviation||⌥⌘A|
|Edit the snippet in your default text editor||⇧↩|
|Edit the snippet with some other text editor||⇥|
|Move the snippet to the Trash||⌘⌫|
|Show the snippet text file in Finder||⌘↩|
Placeholders can be used to include things like clipboard contents or the current date in your snippets. They are expanded to their corresponding value when the snippet is inserted or copied. The following placeholders are available:
The current date in the specified region format.
The short, medium, long and full specifiers correspond to the respective date formats in System Preferences > Language & Text > Region > Dates > Customize…
The current time in the specified region format.
The short, medium, long and full specifiers correspond to the respective time formats in System Preferences > Language & Text > Region > Times > Customize…
<date MMM dd, yyyy>
<time h:mm a>
|The current date and/or time in the specified format, according to Unicode standard’s date format patterns.|
|Your first name, last name or full name, according to “My Card” in Contacts.app.|
|<clipboard>||The current clipboard contents.|
|The first, second, third, etc. item from the Clipboard History.|
|<|>||After inserting the snippet, the text cursor is moved to the location marked by this placeholder.|
|<|insert text here>||Same as above, but also inserts and selects the specified placeholder text.|