docs/md/Customize-search-translation-services.md
Available in version 3.4 or later.
You can send selected text to Google / Bing search engine or Google / DeepL translation web service:
Selection sub-menu and select web service to use for translation or search:You can also use command palette (Ctrl + K):
Ctrl + K to open command palettedeepl to find Translate with DeepL commandEnter (or double-click with mouse) to execute the actionYou can add more web services using advanced settings.
To configure an external reader:
Settings / Advanced Settings... menu to open configuration fileSelectionHandlers sectionHere's an example of adding DuckDuckGo search engine:
SelectionHandlers [
[
URL = https://duckduckgo.com/?ia=web&q=${selection}
Name = &DuckDuckGo
Key = Ctrl + t
]
]
URL is the website that will be launched. ${selection} will be replaced with (URL-encoded) current selection.
Name is what shows in the menu. You can use & characters to add Windows hot-key for keyboard-only invocation.
Ver3.6+: Key is a keyboard shortcut in the same format as in Shortcuts advanced setting.