Fix #4275: add 12 more browser bind slots

This commit is contained in:
Oliver Blanthorn 2022-06-19 15:26:49 +02:00
parent fd1674a000
commit 01a5cbfba7
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
2 changed files with 37 additions and 1 deletions

View file

@ -4165,7 +4165,7 @@ export function comclear(name: string) {
`bind --mode=browser [key sequence] [ex command]` binds to a special mode which can be accessed all the time in all browser tabs - even tabs in which Tridactyl cannot run. It comes with a few caveats:
- you may only have a few browser-mode binds at once. At the time of writing, this is 8, with 3 initially taken by Tridactyl. If you desperately need more, file an [[issue]].
- you may only have a few browser-mode binds at once. At the time of writing, this is 20, with 3 initially taken by Tridactyl. If you desperately need more, file an [[issue]].
- the key sequence must consist of a single, simple key with at least one and no more than two modifiers. An error will be thrown if you try to bind to an invalid key sequence.
- the `ex command` you bind to may not work fully unless you are on a tab which Tridactyl has access to. Generally, browser-wide actions like making or closing tabs will work but tab-specific actions like scrolling down or entering hint mode will not.

View file

@ -50,6 +50,42 @@
},
"command_8": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
},
"command_9": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
},
"command_10": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
},
"command_11": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
},
"command_12": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
},
"command_13": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
},
"command_14": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
},
"command_15": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
},
"command_16": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
},
"command_17": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
},
"command_18": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
},
"command_19": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
},
"command_20": {
"description": "Internal use. See `:help bind`. Use `:bind --mode=browser` to change - do not change here."
}
},
"content_scripts": [