aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2023-08-28 07:22:19 -0500
committerGitHub <noreply@github.com>2023-08-28 07:22:19 -0500
commitcffdf102d4f01fe5675c389eb80bf55daa62697a (patch)
tree27ff257e8e9022d5ff80deaca071bb88c5c8119c /runtime/doc
parent1ad13e07d2d9a01fbadd59a84af601b2ab0d8c73 (diff)
downloadrneovim-cffdf102d4f01fe5675c389eb80bf55daa62697a.tar.gz
rneovim-cffdf102d4f01fe5675c389eb80bf55daa62697a.tar.bz2
rneovim-cffdf102d4f01fe5675c389eb80bf55daa62697a.zip
feat(terminal): allow :terminal to take modifiers (#15427)
The following modifiers are all now supported: :tab term :vertical term :horizontal term :botright term :topleft term Fixes: https://github.com/neovim/neovim/issues/11385
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/news.txt3
-rw-r--r--runtime/doc/windows.txt3
2 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 4f9f362b1e..a233b66d1f 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -158,6 +158,9 @@ The following new APIs and features were added.
• Floating windows can now show footer with new `footer` and `footer_pos`
config fields. Uses |hl-FloatFooter| by default.
+• The |:terminal| command now accepts some |:command-modifiers| (specifically
+ |:horizontal| and those that affect splitting a window).
+
==============================================================================
CHANGED FEATURES *news-changed*
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index b78c1eeae5..842542bdc3 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -243,7 +243,8 @@ and 'winminwidth' are relevant.
:hor[izontal] {cmd}
Execute {cmd}. Currently only makes a difference for
`horizontal wincmd =`, which will equalize windows only
- horizontally.
+ horizontally, and |:terminal|, which will open a |terminal|
+ buffer in a split window.
:lefta[bove] {cmd} *:lefta* *:leftabove*
:abo[veleft] {cmd} *:abo* *:aboveleft*