Merge branch 'raffaem/master' (#4411)

This commit is contained in:
Oliver Blanthorn 2023-04-08 15:15:07 +02:00
commit 58a6168a26
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -202,19 +202,25 @@ You can bind your own shortcuts in normal mode with the `:bind` command. For exa
Please visit our [troubleshooting guide](https://github.com/tridactyl/tridactyl/blob/master/doc/troubleshooting.md). Please visit our [troubleshooting guide](https://github.com/tridactyl/tridactyl/blob/master/doc/troubleshooting.md).
- How can I change the search engine? - How can I change the default search engine?
`set searchengine duckduckgo` `:set searchengine [searchurl name]`, e.g. `:set searchengine google`
For instance, to use the European Space Agency as the default search engine (which may not necessarily be a good idea):
`:set searchurls.esa http://www.esa.int/esasearch?q=`
`:set searchengine esa`
- How can I add a search engine? - How can I add a search engine?
`set searchurls.esa http://www.esa.int/esasearch?q=` `:set searchurls.esa http://www.esa.int/esasearch?q=`
You can also add `%s` to specify exactly where the search query should go, which is useful for more inventive uses, such as You can also add `%s` to specify exactly where the search query should go, which is useful for more inventive uses, such as
`set searchurls.phrasebook https://translate.google.co.uk/#en/%s/my%20hovercraft%20is%20full%20of%20eels` `:set searchurls.phrasebook https://translate.google.co.uk/#en/%s/my%20hovercraft%20is%20full%20of%20eels`
after which `open phrasebook [fr|de|la|es|hi|it...]` will work as expected. after which `:open phrasebook [fr|de|la|es|hi|it...]` will work as expected.
- Can I import/export settings, and does Tridactyl use an external configuration file just like Vimperator? - Can I import/export settings, and does Tridactyl use an external configuration file just like Vimperator?