feat: Show examples in plugin help

Adds examples to each of the plugins' config files.

Closes #25
This commit is contained in:
Michael Aaron Murphy 2021-09-22 22:38:58 +02:00 • committed by Michael Murphy
parent 5eb5b2276d
commit 7fde48cc37
6 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
( (
name: "Calculator", name: "Calculator",
description: "Calculator with unit conversion (qalc)", description: "Calculator with unit conversion (qalc): = 10 J / (196x^2) = 4 kW/s",
query: ( query: (
regex: "^(=)+", regex: "^(=)+",
help: "= ", help: "= ",

View file

@ -1,6 +1,6 @@
( (
name: "File Navigation", name: "File Navigation",
description: "Navigate with tab autocomplete", description: "Navigate with tab autocomplete: ~/ OR /",
query: ( query: (
regex: "^(/|~).*", regex: "^(/|~).*",
help: "~/", help: "~/",

View file

@ -1,6 +1,6 @@
( (
name: "Find", name: "Find",
description: "Find files in the home folder", description: "Find files in the home folder: find {file}",
query: ( query: (
regex: "^(find )+", regex: "^(find )+",
help: "find ", help: "find ",

View file

@ -1,6 +1,6 @@
( (
name: "Recent Documents", name: "Recent Documents",
description: "Show recently-opened files", description: "Show recently-opened files: recent {file}",
query: ( query: (
regex: "^(recent)\\s.*", regex: "^(recent)\\s.*",
help: "recent ", help: "recent ",

View file

@ -1,6 +1,6 @@
( (
name: "Terminal Commands", name: "Terminal Commands",
description: "Run commands in a terminal", description: "Run commands in a terminal: run {cmd}",
query: ( query: (
regex: "^(:|t:|run ).*", regex: "^(:|t:|run ).*",
help: "run ", help: "run ",

View file

@ -1,6 +1,6 @@
( (
name: "Web Search", name: "Web Search",
description: "Site-specific web search", description: "Site-specific web search: ddg {keywords...}",
query: (help: "ddg ", priority: High), query: (help: "ddg ", priority: High),
bin: (path: "web"), bin: (path: "web"),
icon: Name("system-search"), icon: Name("system-search"),