diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/blacklist.md | 19 | ||||
-rw-r--r-- | docs/console_commands.md | 4 |
2 files changed, 23 insertions, 0 deletions
diff --git a/docs/blacklist.md b/docs/blacklist.md index b854c07..6fede63 100644 --- a/docs/blacklist.md +++ b/docs/blacklist.md @@ -4,6 +4,8 @@ title: Blacklist # Blacklist +## Blacklist + The blacklist allows you to disable the plugin for certain pages by URL patterns. For instance, you could use `"*.slack.com"` to disable the plugin on all Slack channels. In addition, you can also specify path patterns, such as `"example.com/mail/*"`. @@ -19,3 +21,20 @@ In addition, you can also specify path patterns, such as `"example.com/mail/*"`. You can toggle Vim Vixen between disabled and enabled with <kbd>shift</kbd>+<kbd>Esc</kbd>. + +## Partial Blacklist + +The partial blacklist disables certain keys for each webpage separately. +This is enabled by describing object with `"url"` and `"keys"` instead of a string in the blacklist. +To disable <kbd>j</kbd> and <kbd>k</kbd> keys (scroll down and up) on github.com as an example, describe target url and disabled keys as the following: + +```json +{ + "blacklist" [ + { "url": "github.com", "keys": ["j", "k"] } + ] +} +``` + +The partial blacklist blocks all operations starting with the keys but not exactly-matched. +That means if the g described in "keys" field, it block all operation starting with <kbd>g</kbd>, such as <kbd>g</kbd><kbd>g</kbd>, <kbd>g</kbd><kbd>t</kbd>, and <kbd>g</kbd><kbd>T</kbd>. diff --git a/docs/console_commands.md b/docs/console_commands.md index 272ea0e..bf8f424 100644 --- a/docs/console_commands.md +++ b/docs/console_commands.md @@ -10,6 +10,10 @@ Open the console with <kbd>:</kbd>. Or populate it with initial values using <kbd>o</kbd>/<kbd>O</kbd>, <kbd>t</kbd>/<kbd>T</kbd>, or <kbd>w</kbd>/<kbd>W</kbd>. +## `:help` + +Open a [Vim Vixen official document](https://ueokande.github.io/vim-vixen/) in a new tab. + ## `:open` The `:open` command operates two different ways, depending on the parameter. |