From a1e371b7e85450dc7b28e27dab5d7e648173086c Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Wed, 15 Jul 2020 05:50:48 +1000 Subject: [PATCH] add multi-ActionKeywords for Explorer --- Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs | 6 ++++++ Plugins/Flow.Launcher.Plugin.Explorer/plugin.json | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs index d4bfdbbfc..4e62b3cba 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs @@ -17,5 +17,11 @@ namespace Flow.Launcher.Plugin.Explorer [JsonProperty] public List IndexSearchExcludedSubdirectoryPaths { get; set; } = new List(); + + [JsonProperty] + public string SearchActionKeyword { get; set; } = Query.GlobalPluginWildcardSign; + + [JsonProperty] + public string FileContentSearchActionKeyword { get; set; } = "doc:"; } } \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json b/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json index 061fcfece..4f5a12496 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json @@ -1,6 +1,9 @@ { "ID": "572be03c74c642baae319fc283e561a8", - "ActionKeyword": "*", + "ActionKeywords": [ + "*", + "doc:" + ], "Name": "Explorer", "Description": "Search and manage files and folders. Explorer utilises Windows Index Search", "Author": "Jeremy Wu",