mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Merge pull request #710 from glacambre/improve_tutorial
Improve tutorial
This commit is contained in:
commit
83e1026d7f
6 changed files with 12 additions and 5 deletions
|
@ -1066,7 +1066,12 @@ export function urlincrement(count = 1) {
|
|||
let newUrl = UrlUtil.incrementUrl(window.location.href, count)
|
||||
|
||||
if (newUrl !== null) {
|
||||
// This might throw an error when using incrementurl on a moz-extension:// page if the page we're trying to access doesn't exist
|
||||
try {
|
||||
window.location.href = newUrl
|
||||
} catch (e) {
|
||||
logger.info(`urlincrement: Impossible to navigate to ${newUrl}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -18,4 +18,4 @@ We support a handful of keybinds in the console:
|
|||
* `Ctrl-F` to complete the command from command history
|
||||
* `Space` to insert the URL of the highlighted completion into the command line
|
||||
|
||||
The [next page](./settings.html) will talk about the various settings available.
|
||||
The [next page](./settings.html) will talk about the various settings available. <a href='./hint_mode.html' rel="prev"></a>
|
||||
|
|
|
@ -8,4 +8,4 @@ You can get help about any command by typing `help [command]` in command mode. A
|
|||
|
||||
Lastly, you can contact the developers via Matrix or GitHub, as mentioned on the new tab page.
|
||||
|
||||
This concludes the tutorial. If you have any feedback, please leave it on [the relevant GitHub issue](https://github.com/cmcaine/tridactyl/issues/380).
|
||||
This concludes the tutorial. If you have any feedback, please leave it on [the relevant GitHub issue](https://github.com/cmcaine/tridactyl/issues/380). <a href='./settings.html' rel="prev"></a>
|
||||
|
|
|
@ -12,4 +12,4 @@ Here are some of the most useful hint modes:
|
|||
|
||||
If there is ever only a single hint remaining (for example, because you have wittled them down, or there is only a single link visible on the page) the hint mode will follow it automatically.
|
||||
|
||||
The [next page](./command_mode.html) will cover the command mode.
|
||||
The [next page](./command_mode.html) will cover the command mode. <a href='./normal_mode.html' rel="prev"></a>
|
||||
|
|
|
@ -29,3 +29,5 @@ Many keypresses in normal mode take you into another mode. `t`, for example, put
|
|||
All the keys in normal mode are bound to commands; for example, `j` is bound to `scrolline 10`. If you are ever curious as to what a key sequence does in normal mode, you can simply use `:bind [keys]` and the command line will tell you to which command they are bound.
|
||||
|
||||
The [next page](./hint_mode.html) will explain how to use some of the various hint modes. This time try `]]` (guess the next page) to follow the link.
|
||||
|
||||
<a href='./tutor.html' rel="prev"></a>
|
||||
|
|
|
@ -18,4 +18,4 @@ Here we will briefly summarise some of the main settings:
|
|||
* excmds
|
||||
* aliases for command mode: the things on the left actually run the commands on the right. The most interesting one of these is `current_url`, which is how the binds for O, W and T (`bind T`) work.
|
||||
|
||||
The <a href='./help.html' rel='next'>final page</a> describes how you can get further help.
|
||||
The <a href='./help.html' rel='next'>final page</a> describes how you can get further help. <a href='./command_mode.html' rel="prev"></a>
|
||||
|
|
Loading…
Add table
Reference in a new issue