Add shortcuts.yml.
This commit is contained in:
parent
498d1898b7
commit
cf5e834abc
1 changed files with 27 additions and 0 deletions
27
shortcuts.yml
Normal file
27
shortcuts.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue