feat: added property new-tab to type: search

This commit is contained in:
ralphocdol
2024-06-09 21:18:56 +08:00
parent b83bf9bc09
commit 06b21e3d27
5 changed files with 11 additions and 1 deletions

View File

@@ -725,10 +725,13 @@ Preview:
| <kbd>Ctrl</kbd> + <kbd>Enter</kbd> | Perform search in a new tab | Search input is focused and not empty |
| <kbd>Escape</kbd> | Leave focus | Search input is focused |
If property `new-tab` is set to `true`, keys <kbd>Enter</kbd> and <kbd>Ctrl</kbd> + <kbd>Enter</kbd> will be switched.
#### Properties
| Name | Type | Required | Default |
| ---- | ---- | -------- | ------- |
| search-engine | string | no | duckduckgo |
| new-tab | boolean | no | false |
| bangs | array | no | |
##### `search-engine`