trovu-data-user/shortcuts.yml
2020-04-29 19:21:57 +02:00

27 lines
947 B
YAML

# This is a YAML file, more abouts its syntax: https://en.wikipedia.org/wiki/YAML
# First example shortcut: Short notation.
# Use
#
# KEYWORDNAME ARGCOUNT
#
# as the key, and the target URL as the value.
# This shortcut will match for "examplekeyword" with no arguments.
examplekeyword 0: http://www.example.com/
# This shortcut will match for "examplekeyword foo",
# so for the same keyword but with one argument.
examplekeyword 1: http://www.example.com/?q={%query}
# Another example: extended notation
# This shortcut will match for "examplekeyword foo, bar",
# Here you can define optional title, description and tags.
examplekeyword 2:
- url: http://www.example.com/?q={%query}&p={%puery}
- title: Custom shortcut
- description: My custom shortcut with the keyword examplekeyword and 1 argument
- tags:
- example
# Make sure that the keys are unique,
# e.g. that the every "KEYWORDNAME ARGCOUNT" is only used once in this file.