mirror of
https://github.com/xvvvyz/tilde.git
synced 2026-03-11 14:44:24 +00:00
periods and other minor things
This commit is contained in:
parent
495bda10b9
commit
64ab993fdd
2 changed files with 6 additions and 7 deletions
|
|
@ -4,7 +4,7 @@ Inspired by [/r/startpages](https://www.reddit.com/r/startpages)—the idea is t
|
|||
|
||||
## Usage
|
||||
|
||||
To go to a site, enter the corresponding key. To view the available commands, enter a `?`. If your input doesn't match any of the commands, a generic google search will be triggered.
|
||||
To go to a site, enter the corresponding key. To view the available commands, press `enter`. If your input doesn't match any of the commands, a generic google search will be triggered.
|
||||
|
||||
## Examples
|
||||
|
||||
|
|
|
|||
11
index.html
11
index.html
|
|
@ -212,11 +212,11 @@
|
|||
] },
|
||||
],
|
||||
|
||||
// if none of the keys are matched, this is used for searching
|
||||
// if none of the keys are matched, this is used for searching.
|
||||
defaultSearch: 'https://www.google.com/search?q=',
|
||||
|
||||
// the delimiter between the key and your search query
|
||||
// e.g. to search GitHub for potatoes you'd type "g:potatoes"
|
||||
// the delimiter between the key and your search query.
|
||||
// e.g. to search GitHub for potatoes you'd type "g:potatoes".
|
||||
searchDelimiter: ':',
|
||||
|
||||
// set to true to instantly redirect when a key is matched.
|
||||
|
|
@ -224,11 +224,11 @@
|
|||
// prevent unwanted redirects.
|
||||
instantRedirect: false,
|
||||
|
||||
// the delimiter between the hours and minutes in the clock
|
||||
// the delimiter between the hours and minutes in the clock.
|
||||
clockDelimiter: ' ',
|
||||
|
||||
// when the input matches this regular expression, you will
|
||||
// be redirected directly to the input url
|
||||
// be redirected directly to the input url.
|
||||
urlRegex: /^(?:(http|https)?:\/\/)?(?:[\w-]+\.)+([a-z]|[A-Z]|[0-9]){2,6}/i,
|
||||
|
||||
// if "urlRegex" matches but this doesn't, "http://" will be
|
||||
|
|
@ -326,7 +326,6 @@
|
|||
|
||||
if (!q) {
|
||||
Help.toggle();
|
||||
searchInput.value = '';
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue