aboutsummaryrefslogtreecommitdiff
path: root/docs/properties.md
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-10-01 06:14:45 +0000
committerGitHub <noreply@github.com>2019-10-01 06:14:45 +0000
commit1afdb51feaa860c6dd0542b362925fb553eabf4c (patch)
tree90ae0218f141b9dd1a3cd3a6c22d8433c0bb2d60 /docs/properties.md
parentc92d3ae708bbf07010aaaed1338c532ee1ff042e (diff)
parent02aa2d00a93b849aab3b924025ba8429901d7f30 (diff)
Merge pull request #650 from ueokande/docs
Help page
Diffstat (limited to 'docs/properties.md')
-rw-r--r--docs/properties.md52
1 files changed, 52 insertions, 0 deletions
diff --git a/docs/properties.md b/docs/properties.md
new file mode 100644
index 0000000..1f62ff4
--- /dev/null
+++ b/docs/properties.md
@@ -0,0 +1,52 @@
+---
+title: Properties
+---
+
+# Properties
+
+Vim Vixen can be configured by defining settings in a JSON document, e.g.:
+
+```json
+{
+ "properties": {
+ "complete": "sbh"
+ }
+}
+```
+
+Properties can be temporarily overridden by using the `:set` command in the
+console.
+
+The following properties are available:
+
+## `smoothscroll`
+
+Enable/disable smooth scrolling.
+
+```
+:set smoothscroll " enable smooth scrolling
+:set nosmoothscroll " disable smooth scrolling
+```
+
+## `hintchars`
+
+Set hint characters.
+
+```
+:set hintchars=0123456789
+```
+
+## `complete`
+
+Set completion items on `open`, `tabopen`, and `winopen` commands.
+The allowed value is character sequence of `s`, `b`, or `h`.
+Hit <kbd>Tab</kbd> or <kbd>Shift</kbd>+<kbd>Tab</kbd> to select an item from the completion list.
+Each character represents the following:
+
+- `s`: search engines
+- `b`: bookmark items
+- `h`: history items.
+
+```
+:set complete=sbh
+```