mirror of
https://github.com/neovim/neovim.git
synced 2025-12-07 15:14:04 +00:00
doc/terminal: cleanup
This commit is contained in:
@@ -6840,7 +6840,7 @@ termopen({cmd}[, {opts}]) {Nvim} *termopen()*
|
||||
and `$TERM` is set to "xterm-256color".
|
||||
Returns the same values as |jobstart()|.
|
||||
|
||||
See |nvim-terminal-emulator| for more information.
|
||||
See |terminal-emulator| for more information.
|
||||
|
||||
tan({expr}) *tan()*
|
||||
Return the tangent of {expr}, measured in radians, as a |Float|
|
||||
|
||||
@@ -18,7 +18,7 @@ see |help.txt|.
|
||||
6. Clipboard integration |clipboard|
|
||||
7. Remote plugins |remote-plugin|
|
||||
8. Provider infrastructure |nvim-provider|
|
||||
9. Integrated terminal emulator |nvim-terminal-emulator|
|
||||
9. Integrated terminal emulator |terminal-emulator|
|
||||
|
||||
==============================================================================
|
||||
vim:tw=78:ts=8:noet:ft=help:norl:
|
||||
|
||||
@@ -1,34 +1,30 @@
|
||||
*nvim_terminal_emulator.txt* For Nvim. {Nvim}
|
||||
*terminal_emulator.txt* {Nvim}
|
||||
|
||||
|
||||
NVIM REFERENCE MANUAL by Thiago de Arruda
|
||||
|
||||
|
||||
Nvim integrated terminal emulator *nvim-terminal-emulator*
|
||||
Embedded terminal emulator *terminal-emulator*
|
||||
|
||||
1. Introduction |nvim-terminal-emulator-introduction|
|
||||
2. Spawning |nvim-terminal-emulator-spawning|
|
||||
3. Input |nvim-terminal-emulator-input|
|
||||
4. Configuration |nvim-terminal-emulator-configuration|
|
||||
1. Introduction |terminal-emulator-intro|
|
||||
2. Spawning |terminal-emulator-spawning|
|
||||
3. Input |terminal-emulator-input|
|
||||
4. Configuration |terminal-emulator-configuration|
|
||||
|
||||
==============================================================================
|
||||
1. Introduction *nvim-terminal-emulator-introduction*
|
||||
1. Introduction *terminal-emulator-intro*
|
||||
|
||||
One feature that distinguishes Nvim from Vim is that it implements a mostly
|
||||
complete VT220/xterm-like terminal emulator. The terminal is presented to the
|
||||
user as a special buffer type, one that is asynchronously updated to mirror
|
||||
the virtual terminal display as data is received from the program connected
|
||||
to it. For most purposes, terminal buffers behave a lot like normal buffers
|
||||
with 'nomodifiable' set.
|
||||
Nvim offers a mostly complete VT220/xterm terminal emulator. The terminal is
|
||||
presented as a special buffer type, asynchronously updated to mirror the
|
||||
virtual terminal display as data is received from the program connected to it.
|
||||
For most purposes, terminal buffers behave a lot like normal buffers with
|
||||
'nomodifiable' set.
|
||||
|
||||
|
||||
The implementation is powered by libvterm[1], a powerful abstract terminal
|
||||
emulation library.
|
||||
|
||||
[1]: http://www.leonerd.org.uk/code/libvterm/
|
||||
The implementation is powered by libvterm, a powerful abstract terminal
|
||||
emulation library. http://www.leonerd.org.uk/code/libvterm/
|
||||
|
||||
==============================================================================
|
||||
2. Spawning *nvim-terminal-emulator-spawning*
|
||||
2. Spawning *terminal-emulator-spawning*
|
||||
|
||||
There are 3 ways to create a terminal buffer:
|
||||
|
||||
@@ -46,7 +42,7 @@ Note that |:mksession| will "save" the terminal buffers by restarting all
|
||||
programs when the session is restored.
|
||||
|
||||
==============================================================================
|
||||
3. Input *nvim-terminal-emulator-input*
|
||||
3. Input *terminal-emulator-input*
|
||||
|
||||
Sending input is possible by entering terminal mode, which is achieved by
|
||||
pressing any key that would enter insert mode in a normal buffer (|i| or |a|
|
||||
@@ -90,7 +86,7 @@ Mouse input is also fully supported, and has the following behavior:
|
||||
the terminal wont lose focus and the hovered window will be scrolled.
|
||||
|
||||
==============================================================================
|
||||
4. Configuration *nvim-terminal-emulator-configuration*
|
||||
4. Configuration *terminal-emulator-configuration*
|
||||
|
||||
Terminal buffers can be customized through the following global/buffer-local
|
||||
variables (set via the |TermOpen| autocmd):
|
||||
|
||||
@@ -1172,8 +1172,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
help help buffer (you are not supposed to set this
|
||||
manually)
|
||||
terminal terminal buffer, this is set automatically when a
|
||||
terminal is created. See |nvim-terminal-emulator| for
|
||||
more information.
|
||||
terminal is created. |terminal-emulator|
|
||||
|
||||
This option is used together with 'bufhidden' and 'swapfile' to
|
||||
specify special kinds of buffers. See |special-buffers|.
|
||||
|
||||
@@ -220,7 +220,7 @@ g8 Print the hex values of the bytes used in the
|
||||
|
||||
Like |:enew|, it will fail if the current buffer is
|
||||
modified, but can be forced with "!". See |termopen()|
|
||||
and |nvim-terminal-emulator| for more information.
|
||||
and |terminal-emulator|.
|
||||
|
||||
To switch to terminal mode automatically:
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user