Commit: runtime(doc): update doc for :horizontal

5 views
Skip to first unread message

Christian Brabandt

unread,
Jan 2, 2025, 11:45:12 AMJan 2
to vim...@googlegroups.com
runtime(doc): update doc for :horizontal

Commit: https://github.com/vim/vim/commit/fd771613b3e59923b1a82a5ed9036c82899d133b
Author: h-east <h.eas...@gmail.com>
Date: Thu Jan 2 17:34:55 2025 +0100

runtime(doc): update doc for :horizontal

Revert the documentation for :horizontal from commit
0c3e57b403e0e3a1fefc because :horizontal cannot be shortened to :ho

closes: #16362

Signed-off-by: h-east <h.eas...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index 5b844fbb9..512e2843c 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -1386,7 +1386,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/tags b/runtime/doc/tags
index f77958850..6458224fc 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -2670,7 +2670,7 @@ $quote eval.txt /*$quote*
:his cmdline.txt /*:his*
:history cmdline.txt /*:history*
:history-indexing cmdline.txt /*:history-indexing*
-:ho windows.txt /*:ho*
+:hor windows.txt /*:hor*
:horizontal windows.txt /*:horizontal*
:i insert.txt /*:i*
:ia map.txt /*:ia*
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index 812062874..db24e5191 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -263,8 +263,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
`horizontal wincmd =`, which will equalize windows only
horizontally.
Reply all
Reply to author
Forward
0 new messages