]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): Tweak documentation about tab pages
authorHirohito Higashi <h.east.727@gmail.com>
Sun, 20 Jul 2025 07:52:28 +0000 (09:52 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 20 Jul 2025 07:52:28 +0000 (09:52 +0200)
closes: #17799

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/index.txt
runtime/doc/options.txt
runtime/doc/tabpage.txt

index 8ff3ae5fee058394dad71b4bcd549015fd09eece..aa47415679d12b5fff0471e6e299f3b781aa99da 100644 (file)
@@ -1,4 +1,4 @@
-*index.txt*     For Vim version 9.1.  Last change: 2025 Jul 17
+*index.txt*     For Vim version 9.1.  Last change: 2025 Jul 20
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -530,7 +530,7 @@ tag         command            action in op-pending and Visual mode ~
 tag            command            action in Normal mode        ~
 ------------------------------------------------------------------------------
 |CTRL-W_CTRL-B|        CTRL-W CTRL-B      same as "CTRL-W b"
-|CTRL-W_CTRL-C|        CTRL-W CTRL-C      no-op |CTRL-W_CTRL-C|
+|CTRL-W_CTRL-C|        CTRL-W CTRL-C      no-op
 |CTRL-W_CTRL-D|        CTRL-W CTRL-D      same as "CTRL-W d"
 |CTRL-W_CTRL-F|        CTRL-W CTRL-F      same as "CTRL-W f"
                CTRL-W CTRL-G      same as "CTRL-W g .."
index a624a9ac6d7baccff7ceb7c61749099cecefa7e4..bc8aea013f107c4604148f4bae6b7d26d17be36b 100644 (file)
@@ -1,4 +1,4 @@
-*options.txt*  For Vim version 9.1.  Last change: 2025 Jul 16
+*options.txt*  For Vim version 9.1.  Last change: 2025 Jul 20
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -3007,7 +3007,6 @@ A jump table for the options with a short description can be found at |Q_op|.
        a pattern search that does not match anything), none of the anchors
        will be used.
 
-
                                                *'dex'* *'diffexpr'*
 'diffexpr' 'dex'       string  (default "")
                        global
index 4f46ddd0aa2f50e16beda8cdca10f84ca6077fe1..b1efbd1628a6128ae1fa9d2e5f67b0f56ac65840 100644 (file)
@@ -1,4 +1,4 @@
-*tabpage.txt*   For Vim version 9.1.  Last change: 2025 Jul 17
+*tabpage.txt*   For Vim version 9.1.  Last change: 2025 Jul 20
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -38,9 +38,9 @@ commands, |:windo|, |:all| and |:ball| (when not using the |:tab| modifier).
 The commands that are aware of other tab pages than the current one are
 mentioned below.
 
-Tabs are also a nice way to edit a buffer temporarily without changing the
-current window layout.  Open a new tab page, do whatever you want to do and
-close the tab page.
+Tab pages are also a nice way to edit a buffer temporarily without changing
+the current window layout.  Open a new tab page, do whatever you want to do
+and close the tab page.
 
 ==============================================================================
 2. Commands                                            *tab-page-commands*
@@ -145,7 +145,7 @@ something else.
                    :tabclose $     " close the last tab page
                    :tabclose #     " close the last accessed tab page
 
-When a tab is closed the next tab page will become the current one. This
+When a tab page is closed the next tab page will become the current one. This
 behaviour can be customized using the 'tabclose' option.
 
                                                        *:tabo* *:tabonly*
@@ -252,7 +252,7 @@ REORDERING TAB PAGES:
 :[N]tabm[ove]
                Move the current tab page to after tab page N.  Use zero to
                make the current tab page the first one.  N is counted before
-               the move, thus if the second tab is the current one,
+               the move, thus if the second tab page is the current one,
                `:tabmove 1` and `:tabmove 2` have no effect.
                Without N the tab page is made the last one. >
                    :.tabmove   " do nothing
@@ -276,9 +276,9 @@ REORDERING TAB PAGES:
                    :tabmove +1 " as above
 
 
-Note that although it is possible to move a tab behind the N-th one by using
-:Ntabmove. And move it by N places by using :+Ntabmove. For clarification what
-+N means in this context see |[range]|.
+Note that although it is possible to move a tab page behind the N-th one by
+using :Ntabmove. And move it by N places by using :+Ntabmove. For
+clarification what +N means in this context see |[range]|.
 
 
 LOOPING OVER TAB PAGES:
@@ -363,8 +363,8 @@ A "+" will be shown for a tab page that has a modified window.  The number of
 windows in a tabpage is also shown.  Thus "3+" means three windows and one of
 them has a modified buffer.
 
-An "X" (close button) will appear in the last column when multiple tabs are
-open, but only if the 'mouse' is enabled.
+An "X" (close button) will appear in the last column when multiple tab pages
+are open, but only if the 'mouse' is enabled.
 
 The 'tabline' option allows you to define your preferred way to tab pages
 labels.  This isn't easy, thus an example will be given here.
@@ -398,7 +398,7 @@ pages and define labels for them.  Then get the label for each tab page. >
            let s ..= ' %{MyTabLabel(' .. (i + 1) .. ')} '
          endfor
 
-         " after the last tab fill with TabLineFill and reset tab page nr
+         " after the last tab page fill with TabLineFill and reset tab page nr
          let s ..= '%#TabLineFill#%T'
 
          " right-align the label to close the current tab page