aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-05-23 00:25:15 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-05-23 00:25:15 +0200
commit41f27ae3f30d9adcde09431fc263892f6f254f55 (patch)
tree2afa4ee422f864eb40a21a8c96ef14e6e5a42c6f
parent620df5386000f68c155de9a61def9de818631f9e (diff)
downloadrneovim-41f27ae3f30d9adcde09431fc263892f6f254f55.tar.gz
rneovim-41f27ae3f30d9adcde09431fc263892f6f254f55.tar.bz2
rneovim-41f27ae3f30d9adcde09431fc263892f6f254f55.zip
doc
Closes #6788
-rw-r--r--runtime/doc/nvim_terminal_emulator.txt14
-rw-r--r--runtime/doc/options.txt2
2 files changed, 13 insertions, 3 deletions
diff --git a/runtime/doc/nvim_terminal_emulator.txt b/runtime/doc/nvim_terminal_emulator.txt
index 07be1613b9..cfe011250e 100644
--- a/runtime/doc/nvim_terminal_emulator.txt
+++ b/runtime/doc/nvim_terminal_emulator.txt
@@ -4,8 +4,7 @@
NVIM REFERENCE MANUAL by Thiago de Arruda
-Terminal emulator *terminal-emulator*
- *terminal-buffer*
+Terminal emulator *terminal* *terminal-emulator*
Nvim embeds a VT220/xterm terminal emulator based on libvterm. The terminal is
presented as a special buffer type, asynchronously updated from the virtual
@@ -90,6 +89,17 @@ Options: 'scrollback'
Events: |TermOpen|, |TermClose|
Highlight groups: |hl-TermCursor|, |hl-TermCursorNC|
+Terminal sets local defaults for some options, which may differ from your
+global configuration.
+
+- 'list' is disabled
+- 'number' is disabled
+- 'relativenumber' is disabled (cannot be changed in |Terminal-mode|)
+- 'wrap' is disabled
+
+You can change the defaults with a TermOpen autocommand: >
+ au TermOpen * setlocal number
+
Terminal colors can be customized with these variables:
- `{g,b}:terminal_color_$NUM`: The terminal color palette, where `$NUM` is the
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 8949d27dd6..0e8feb6321 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4044,7 +4044,7 @@ A jump table for the options with a short description can be found at |Q_op|.
listing continues until finished.
*'mouse'* *E538*
-'mouse' string (default "a")
+'mouse' string (default "")
global
Enable the use of the mouse. Only works for certain terminals.