commit e8c0b87c1f00dafe8bc197a474b4f9d5fe87a3a1
parent 22dadf4c33740a67a2c7bc57435076aa7eadc01a
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon, 6 Jan 2025 09:54:01 +0800
vim-patch:fd77161: runtime(doc): update doc for :horizontal
Revert the documentation for :horizontal from commit
0c3e57b403e0e3a1fefc because :horizontal cannot be shortened to :ho
closes: vim/vim#16362
https://github.com/vim/vim/commit/fd771613b3e59923b1a82a5ed9036c82899d133b
Co-authored-by: h-east <h.east.727@gmail.com>
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
@@ -1335,7 +1335,7 @@ tag command action ~
|:highlight| :hi[ghlight] specify highlighting methods
|:hide| :hid[e] hide current buffer for a command
|:history| :his[tory] print a history list
-|:horizontal| :ho[rizontal] following window command work horizontally
+|:horizontal| :hor[izontal] following window command work horizontally
|:insert| :i[nsert] insert text
|:iabbrev| :ia[bbrev] like ":abbrev" but for Insert mode
|:iabclear| :iabc[lear] like ":abclear" but for Insert mode
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
@@ -253,8 +253,8 @@ and 'winminwidth' are relevant.
will be equalized only vertically.
Doesn't work for |:execute| and |:normal|.
- *:ho* *:horizontal*
-:ho[rizontal] {cmd}
+ *:hor* *:horizontal*
+:hor[izontal] {cmd}
Execute {cmd}. Currently only makes a difference for
the following commands:
- `:wincmd =`: equalize windows only horizontally.