aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-01-18 20:15:49 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-01-18 21:45:49 +0900
commit3796b7de0d181d01747160d3b2082f78bb456b1e (patch)
tree5e4657bb5945dfe116a30cde5bf6184b677c0118
parent8acec80e4158f454a6cbb1a1fb8793b5a114c499 (diff)
fix README
-rw-r--r--QA.md8
-rw-r--r--README.md23
2 files changed, 26 insertions, 5 deletions
diff --git a/QA.md b/QA.md
index 97549ff..a7a0c01 100644
--- a/QA.md
+++ b/QA.md
@@ -14,7 +14,7 @@ Test operations with default key maps.
- [ ] <kbd>g</kbd><kbd>g</kbd>, <kbd>G</kbd>: scroll to top and bottom
- [ ] Smooth scroll by `:set smoothscroll`
- [ ] Non-smooth scroll by `:set nosmoothscroll`
-- [ ] Configure custom hint character by settings `smoothscroll`
+- [ ] Configure custom hint character by settings `"smoothscroll": true`, `"smoothscroll": false`
#### Console
@@ -67,8 +67,8 @@ The behaviors of the console are tested in [Console section](#consoles).
- [ ] Select link and open it in the frame in `<iframe>`/`<frame`> on following by <kbd>f</kbd>
- [ ] Select link and open it in new tab in `<iframe>`/`<frame`> on following by <kbd>F</kbd>
- [ ] Select link and open it in `<area>` tags, for <kbd>f</kbd> and <kbd>F</kbd>
-- [ ] Configure custom hint character by `:set hintchars`
-- [ ] Configure custom hint character by settings `hintchars`
+- [ ] Configure custom hint character by `:set hintchars=012345678`
+- [ ] Configure custom hint character by settings `"hintchars": "012345678"`
### Consoles
@@ -124,7 +124,7 @@ The behaviors of the console are tested in [Console section](#consoles).
##### Validations
- [ ] show error on invalid json
-- [ ] show error when top-level keys has keys other than `keymaps`, `search`, and `blacklist`
+- [ ] show error when top-level keys has keys other than `keymaps`, `search`, `blacklist`, and `properties`
###### `"keymaps"` section
diff --git a/README.md b/README.md
index 75b50a7..2421e59 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@ The default mappings are as follows:
#### Tabs
- <kbd>d</kbd>: delete current tab
+- <kbd>!</kbd><kbd>d</kbd>: delete pinned tab
- <kbd>u</kbd>: reopen close tab
- <kbd>K</kbd>, <kbd>J</kbd>: select prev or next tab
- <kbd>g0</kbd>, <kbd>g$</kbd>: select first or last tab
@@ -50,7 +51,7 @@ The default mappings are as follows:
- <kbd>[</kbd><kbd>[</kbd>, <kbd>]</kbd><kbd>]</kbd>: find prev or next links and open it
- <kbd>g</kbd><kbd>u</kbd>: go to parent directory
- <kbd>g</kbd><kbd>U</kbd>: go to root directory
-- <kbd>g</kbd><kbd>i</kbd>, <kbd>G</kbd>: focus first input
+- <kbd>g</kbd><kbd>i</kbd>: focus first input
#### Misc
- <kbd>z</kbd><kbd>i</kbd>, <kbd>z</kbd><kbd>o</kbd>: zoom-in/zoom-out
@@ -102,6 +103,26 @@ Open a URL or search keywords by search engine in new window.
Select tabs by URL or title matched by keywords.
+#### `:set` command
+
+`:set` command can set properties on console.
+
+##### `smoothscroll` property
+
+Enable/disable smooth scroll.
+```
+:set smoothscroll " enable smooth scroll
+:set nosmoothscroll " disable smooth scroll
+```
+
+##### `hintchars` property
+
+Set hint characters
+
+```
+:set hintchars=0123456789
+```
+
### Search engines
Vim Vixen supports search by search engines like Google and Yahoo.