mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Merge pull request #1177 from glacambre/fix_aboutpreferences_link
manifest.json: Update about:preferences link
This commit is contained in:
commit
704e1e572d
4 changed files with 24 additions and 25 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
Use `:help <excmd>` or scroll down to show [[help]] for a particular excmd. If you're still stuck, you might consider reading through the [:tutor](/static/clippy/tutor.html) again.
|
||||
|
||||
The default keybinds and settings can be found [here](/static/docs/classes/_lib_config_.default_config.html) and active binds can be seen with `:viewconfig nmaps` or with [[bind]].
|
||||
The default keybinds and settings can be found [here](/static/docs/classes/_src_lib_config_.default_config.html) and active binds can be seen with `:viewconfig nmaps` or with [[bind]].
|
||||
|
||||
Tridactyl also provides a few functions to manipulate text in the command line or text areas that can be found [here](/static/docs/modules/_src_lib_editor_.html). There are also a few commands only available in the command line which can be found [here](/static/docs/modules/_src_commandline_frame_.html).
|
||||
|
||||
|
@ -1153,7 +1153,7 @@ export async function help(helpItem?: string) {
|
|||
}
|
||||
}
|
||||
if (settingHelpAnchor != "") {
|
||||
docpage = browser.extension.getURL("static/docs/classes/_lib_config_.default_config.html")
|
||||
docpage = browser.extension.getURL("static/docs/classes/_src_lib_config_.default_config.html")
|
||||
helpItem = settingHelpAnchor.slice(0, -1)
|
||||
}
|
||||
}
|
||||
|
@ -2452,7 +2452,7 @@ import * as tri_editor from "@src/lib/editor"
|
|||
// {
|
||||
for (let editorfn in tri_editor) {
|
||||
// Re-expose every editor function as a text.$fn excmd that will forward the call to $fn to the commandline frame if it is selected or apply $fn to the last used input if it isn't
|
||||
SELF["text." + editorfn] = (arg) => {
|
||||
SELF["text." + editorfn] = arg => {
|
||||
if ((document.activeElement as any).src === browser.extension.getURL("static/commandline.html")) return Messaging.messageOwnTab("commandline_frame", "editor_function", [editorfn].concat(arg))
|
||||
return tri_editor[editorfn](DOM.getLastUsedInput(), arg)
|
||||
}
|
||||
|
@ -2527,8 +2527,7 @@ async function setclip(str) {
|
|||
*/
|
||||
//#background_helper
|
||||
async function getclip(fromm?: "clipboard" | "selection") {
|
||||
if (fromm == undefined)
|
||||
fromm = (await config.getAsync("putfrom"))
|
||||
if (fromm == undefined) fromm = await config.getAsync("putfrom")
|
||||
if (fromm == "clipboard") {
|
||||
return messageActiveTab("commandline_frame", "getClipboard")
|
||||
} else {
|
||||
|
@ -2894,7 +2893,7 @@ export function seturl(pattern: string, key: string, ...values: string[]) {
|
|||
|
||||
/** Set a key value pair in config.
|
||||
|
||||
Use to set any string values found [here](/static/docs/classes/_lib_config_.default_config.html).
|
||||
Use to set any string values found [here](/static/docs/classes/_src_lib_config_.default_config.html).
|
||||
|
||||
e.g.
|
||||
set searchurls.google https://www.google.com/search?q=
|
||||
|
|
|
@ -201,7 +201,7 @@ addEventListener(
|
|||
switch (document.location.pathname) {
|
||||
case "/static/docs/modules/_src_excmds_.html":
|
||||
return onExcmdPageLoad
|
||||
case "/static/docs/classes/_lib_config_.default_config.html":
|
||||
case "/static/docs/classes/_src_lib_config_.default_config.html":
|
||||
return onSettingsPageLoad
|
||||
}
|
||||
return () => {}
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
}
|
||||
},
|
||||
"options_ui": {
|
||||
"page": "static/docs/classes/_lib_config_.default_config.html",
|
||||
"page": "static/docs/classes/_src_lib_config_.default_config.html",
|
||||
"open_in_tab": true
|
||||
}
|
||||
}
|
|
@ -4,7 +4,7 @@ Hello. If you've just installed Tridactyl for the first time, welcome! Tridactyl
|
|||
|
||||
Welcome to the Tridactyl tutorial. Here, you will learn how to get started with this extension. If you ever want to get back to this page, just type `:tutor`.
|
||||
|
||||
It will not cover advanced topics. For those, [`:help`](../docs/modules/_excmds_.html) is always at hand.
|
||||
It will not cover advanced topics. For those, [`:help`](../docs/modules/_src_excmds_.html) is always at hand.
|
||||
|
||||
---
|
||||
|
||||
|
@ -12,21 +12,21 @@ It will not cover advanced topics. For those, [`:help`](../docs/modules/_excmds_
|
|||
|
||||
The idea behind Tridactyl is to allow you to navigate the web more efficiently with just the keyboard. Tridactyl turns Firefox into a modal browser, meaning it has several different modes of operation, like Vim. Each tab can only ever be in one mode at a time and each of these modes could have a wildly different operation. You can think of it a bit like a Transformer, if you like. There are four main modes you will want to be familiar with:
|
||||
|
||||
* Normal mode
|
||||
* This mode is used for navigating around single pages and starting other modes.
|
||||
* Tabs are usually in this mode. You can enter normal mode from the other modes by pressing `Escape`.
|
||||
* Hint mode
|
||||
* This mode highlights elements on the web page and performs actions on those elements.
|
||||
* This is most often used for following links, but it has many other submodes.
|
||||
* You can enter this mode with `f` and exit it with `Escape` or `Enter`.
|
||||
* Hint characters are displayed as uppercase letters, but you should type the lowercase letter.
|
||||
* Command mode ("ex-mode")
|
||||
* This mode allows you to execute more complicated commands by typing them out manually.
|
||||
* It is commonly used for binding keys and accessing help.
|
||||
* You can enter this mode with `:` and exit it with `Escape` or `Enter`.
|
||||
* Ignore mode
|
||||
* This mode passes all keypresses through to the web page. It is useful for websites that have their own keybinds, such as games and Gmail.
|
||||
* You can toggle the mode with `Shift-Insert` or `Ctrl-Alt-Backtick`.
|
||||
- Normal mode
|
||||
- This mode is used for navigating around single pages and starting other modes.
|
||||
- Tabs are usually in this mode. You can enter normal mode from the other modes by pressing `Escape`.
|
||||
- Hint mode
|
||||
- This mode highlights elements on the web page and performs actions on those elements.
|
||||
- This is most often used for following links, but it has many other submodes.
|
||||
- You can enter this mode with `f` and exit it with `Escape` or `Enter`.
|
||||
- Hint characters are displayed as uppercase letters, but you should type the lowercase letter.
|
||||
- Command mode ("ex-mode")
|
||||
- This mode allows you to execute more complicated commands by typing them out manually.
|
||||
- It is commonly used for binding keys and accessing help.
|
||||
- You can enter this mode with `:` and exit it with `Escape` or `Enter`.
|
||||
- Ignore mode
|
||||
- This mode passes all keypresses through to the web page. It is useful for websites that have their own keybinds, such as games and Gmail.
|
||||
- You can toggle the mode with `Shift-Insert` or `Ctrl-Alt-Backtick`.
|
||||
|
||||
Almost all of the modes are controlled by series of keypresses. In this tutorial, a sequence of keys such as `zz` should be entered by pressing the key `z`, letting go, and then pressing the key `z`. There is no need to hold both keys at once, if that were even possible. (`zz` resets the zoom level to the default, so it probably didn't seem to do anything). Sometimes `help` refers to a command that must be entered in command mode; it should hopefully always be clear from context which we mean.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue