Closes #6788
This commit is contained in:
Justin M. Keyes 2017-05-23 00:25:15 +02:00
parent 620df53860
commit 41f27ae3f3
2 changed files with 13 additions and 3 deletions

View File

@ -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

View File

@ -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.