This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWebSearch.sublime-settings
55 lines (55 loc) · 2.38 KB
/
WebSearch.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
// Select current engine
"current_engine": "Google",
// Default engines defined inside of plugin
// is possible overwritte any engine using same name
// "engines":
// {
// "Ask": "https://www.ask.com/web?q=",
// "Bing": "https://www.bing.com/search?q=",
// "DuckDuckGo": "https://duckduckgo.com/?q=",
// "Google": "https://google.com/search?q=",
// "Wikipedia": "https://wikipedia.org/w/index.php?search=",
// "Yahoo": "https://search.yahoo.com/search?p="
// },
"engines": {},
// Enable developer engines
"use_developer_engines": false,
// Default developer enfines inside of plugin
// is possible overwritte any engine using same name.
// They are the ones that have occurred to me ;)
// "developer_engines":
// {
// "MDN": "https://developer.mozilla.org/search?q=",
// "PHP": "https://php.net/search.php?show=quickref&pattern=",
// "Python": "https://docs.python.org/3/search.html?q=",
// "Python2": "https://docs.python.org/2/search.html?q=",
// "WordPress": "https://developer.wordpress.org/?s="
// },
"developer_engines": {},
// Exclude available engines for show
// Default to exclude: ["Ask", "Bing", "Yahoo", "Python2"]
"exclude_engines_from_list": ["Ask", "Bing", "Yahoo", "Python2"],
// Change mode of the context menu
"context_menu_with_children": false,
// Show context menu with different caption:
// 1 - default text caption "Web Search" (disabled if "context_menu_with_children": true)
// 2 - Custom text "Search on <engine>"
// 3 - Custom text with excerpt "Search on <engine> for <excerpt>..."
"context_menu_description": 3,
// Length of the selected text for view in context menu
"context_menu_description_length": 10,
// Mode to open browser, tab or window
"browser_mode": "tab",
// Select and change the search engine when the Command Palette is used
// Command palette option on execute:
// - WebSearch: Search selected text
// - WebSearch: Search text
// Note:
// It does change globally, to maintain the "current_engine" and not have to change it again.
"engine_change": false,
// Add "WebSearch: <engine>" on status bar
"show_current_engine_on_status_bar": true,
// Use for remove or change status bar text prefix
"status_bar_text_prefix": "WebSearch:"
}