From 994fe55b61ce53e1b5837803a853ad390cf73032 Mon Sep 17 00:00:00 2001 From: lolilolicon Date: Fri, 26 Aug 2016 18:33:55 +0800 Subject: [PATCH] Minor documentation fixes. (#801) --- documentation/api.md | 2 +- documentation/commands.md | 4 ++-- documentation/options.md | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/documentation/api.md b/documentation/api.md index 5a0ba31..810acf1 100644 --- a/documentation/api.md +++ b/documentation/api.md @@ -499,7 +499,7 @@ vimfx.addCommand({ console.log('Marker data:', {type, href, id, timesLeft}) return (timesLeft > 1) }, - )) + })) }) ``` diff --git a/documentation/commands.md b/documentation/commands.md index 456af76..f4e355b 100644 --- a/documentation/commands.md +++ b/documentation/commands.md @@ -303,7 +303,7 @@ The second key after `e` was chosen based on mnemonics: There’s `et` as in focus and `eb` as in browser. [`v` commands]: #the-v-commands--caret-mode -[hint-matcher]: api.md#vimfxhintmatcher +[hint-matcher]: api.md#vimfxsethintmatcherhintmatcher [hint chars]: options.md#hint-chars [Styling]: styling.md [hints\_peek\_through]: options.md#hints_peek_through @@ -410,7 +410,7 @@ provide two commands that do what you want, rather than many just to mimic Vim. Ignore mode is all about ignoring VimFx commands and sending the keys to the page instead. Sometimes, though, you might want to run some VimFx command even -when in Insert mode. +when in Ignore mode. One way of doing that is to press `` to exit Ignore mode, run your command and then enter Ignore mode again using `i`. However, it might be diff --git a/documentation/options.md b/documentation/options.md index 99087cf..e8b30de 100644 --- a/documentation/options.md +++ b/documentation/options.md @@ -135,7 +135,7 @@ default, Vim-style editors use `` to exit from their Insert mode to their Normal mode. In other words, there is a keyboard shortcut conflict here. It makes the most sense to let the Vim-style editor “win.” That’s why VimFx -(temporarily) enters Ignore mode when focusing such an editor. In Insert mode, +(temporarily) enters Ignore mode when focusing such an editor. In Ignore mode, there is no `` shortcut (by default), and thus no conflict. Instead, there’s `` to blur the current element and exit Ignore mode. `` was chosen because it is very unlikely to cause conflicts. If it @@ -440,14 +440,14 @@ you to press shift for this task. ### `hints_toggle_in_tab` If the keypress that matched a hint starts with this string, toggle whether to -open the matched link in the current tab or a new tab. See [The hint commands] +open the matched link in the current tab or a new tab. See the [hint commands] for more information. ### `hints_toggle_in_background` If the keypress that matched a hint starts with this string, open the matched link in a new tab and toggle whether to open that tab in the background or -foreground. See [The hint commands] for more information. +foreground. See the [hint commands] for more information. ### `activatable_element_keys` -- 2.39.3