]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): fix a few minor errors from the last doc updates
authorChristian Brabandt <cb@256bit.org>
Mon, 16 Dec 2024 09:20:51 +0000 (10:20 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 16 Dec 2024 09:20:51 +0000 (10:20 +0100)
1) move the section at :h inclusive-motion-selection-exclusive a few
lines below, so that it doesn't live in between the 2 exceptions.

2) remove the tag :h :!-range. It's not accurate (because it is actually
a filter) and this command is already described at :h :range!

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/motion.txt
runtime/doc/tags
runtime/doc/various.txt

index 8fe70241e92d223b518b1f22be1ff096419a37aa..e5b8151d0e9d40a225eb2d961d1a579d148c1bbe 100644 (file)
@@ -1,4 +1,4 @@
-*motion.txt*    For Vim version 9.1.  Last change: 2024 Dec 14
+*motion.txt*    For Vim version 9.1.  Last change: 2024 Dec 16
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -93,13 +93,6 @@ command.  There are however, two general exceptions:
    end of the motion is moved to the end of the previous line and the motion
    becomes inclusive.  Example: "}" moves to the first line after a paragraph,
    but "d}" will not include that line.
-
-                                       *inclusive-motion-selection-exclusive*
-When 'selection' is "exclusive", |Visual| mode is active and an inclusive
-motion has been used, the cursor position will be adjusted by another
-character to the right, so that visual selction includes the expected text and
-can be acted upon.
-
                                                *exclusive-linewise*
 2. If the motion is exclusive, the end of the motion is in column 1 and the
    start of the motion was at or before the first non-blank in the line, the
@@ -129,6 +122,12 @@ This cannot be repeated: >
        endif<CR>
 Note that when using ":" any motion becomes characterwise exclusive.
 
+                                       *inclusive-motion-selection-exclusive*
+When 'selection' is "exclusive", |Visual| mode is active and an inclusive
+motion has been used, the cursor position will be adjusted by another
+character to the right, so that visual selction includes the expected text and
+can be acted upon.
+
                                                                *forced-motion*
 FORCING A MOTION TO BE LINEWISE, CHARACTERWISE OR BLOCKWISE
 
index dde183e69a241e9dd11189871324491d1fa44ea8..0f8b2051f4598d814a2ce0cad962304fbfe6ccef 100644 (file)
@@ -2034,7 +2034,6 @@ $quote    eval.txt        /*$quote*
 :      cmdline.txt     /*:*
 :!     various.txt     /*:!*
 :!!    various.txt     /*:!!*
-:!-range       various.txt     /*:!-range*
 :!cmd  various.txt     /*:!cmd*
 :!start        os_win32.txt    /*:!start*
 :#     various.txt     /*:#*
index f8c3bef28e3f21d3364a7326ea257f732e43a626..440a665629049a36a60727cecceb4c703d6ed5ca 100644 (file)
@@ -1,4 +1,4 @@
-*various.txt*   For Vim version 9.1.  Last change: 2024 Dec 15
+*various.txt*   For Vim version 9.1.  Last change: 2024 Dec 16
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -322,9 +322,6 @@ g8                  Print the hex values of the bytes used in the
                        in Vim window.  `:term ++shell ++close {cmd}` could
                        serve as close approximation to what `:!{cmd}` does.
 
-                                                       *:!-range*
-:{range}!{cmd}         Like |:!| but execute {cmd} for each line in the
-                       {range}.
                                                        *:!!*
 :!!                    Repeat last ":!{cmd}".