Skip to content

Commit a3063f2

Browse files
dkearnschrisbra
authored andcommitted
runtime(doc): Wrap some overlength lines in the user manual
closes: #18696 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent c28b73d commit a3063f2

9 files changed

Lines changed: 43 additions & 39 deletions

File tree

runtime/doc/usr_02.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_02.txt* For Vim version 9.1. Last change: 2025 Oct 26
1+
*usr_02.txt* For Vim version 9.1. Last change: 2025 Nov 07
22

33

44
VIM USER MANUAL by Bram Moolenaar
@@ -522,8 +522,8 @@ Summary: *help-summary* >
522522
< You can see the user guide topics |03.9| and |usr_27.txt| in the
523523
introduction.
524524

525-
3) Options are enclosed in single apostrophes. To go to the help topic for the
526-
list option: >
525+
3) Options are enclosed in single apostrophes. To go to the help topic for
526+
the list option: >
527527
:help 'list'
528528
< If you only know you are looking for a certain option, you can also do: >
529529
:help options.txt

runtime/doc/usr_09.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_09.txt* For Vim version 9.1. Last change: 2025 Oct 26
1+
*usr_09.txt* For Vim version 9.1. Last change: 2025 Nov 07
22

33

44
VIM USER MANUAL by Bram Moolenaar
@@ -132,8 +132,8 @@ select text in a standard manner. The X Window system also has a standard
132132
system for using the mouse. Unfortunately, these two standards are not the
133133
same.
134134
Fortunately, you can customize Vim. You can make the behavior of the mouse
135-
work like an X Window system mouse or a Microsoft Windows mouse. The following
136-
command makes the mouse behave like an X Window mouse: >
135+
work like an X Window system mouse or a Microsoft Windows mouse. The
136+
following command makes the mouse behave like an X Window mouse: >
137137
138138
:behave xterm
139139

runtime/doc/usr_10.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_10.txt* For Vim version 9.1. Last change: 2025 Oct 26
1+
*usr_10.txt* For Vim version 9.1. Last change: 2025 Nov 07
22

33

44
VIM USER MANUAL by Bram Moolenaar
@@ -296,8 +296,8 @@ five lines before the last line in the file.
296296

297297
USING MARKS
298298

299-
Instead of figuring out the line numbers of certain positions, remembering them
300-
and typing them in a range, you can use marks.
299+
Instead of figuring out the line numbers of certain positions, remembering
300+
them and typing them in a range, you can use marks.
301301
Place the marks as mentioned in chapter 3. For example, use "mt" to mark
302302
the top of an area and "mb" to mark the bottom. Then you can use this range
303303
to specify the lines between the marks (including the lines with the marks): >
@@ -736,9 +736,10 @@ of the program replaces these lines.
736736
line 44 line 55
737737
last line last line
738738

739-
The "!!" command filters the current line through a filter. In Unix the "date"
740-
command prints the current time and date. "!!date<Enter>" replaces the current
741-
line with the output of "date". This is useful to add a timestamp to a file.
739+
The "!!" command filters the current line through a filter. In Unix the
740+
"date" command prints the current time and date. "!!date<Enter>" replaces the
741+
current line with the output of "date". This is useful to add a timestamp to
742+
a file.
742743

743744
Note: There is a difference between "!cmd" (e.g. using it without any file
744745
range) and "{range}!cmd". While the former will simply execute the external

runtime/doc/usr_22.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_22.txt* For Vim version 9.1. Last change: 2025 Oct 26
1+
*usr_22.txt* For Vim version 9.1. Last change: 2025 Nov 07
22

33

44
VIM USER MANUAL by Bram Moolenaar
@@ -30,15 +30,15 @@ Vim has a plugin that makes it possible to edit a directory. Try this: >
3030
3131
Through the magic of autocommands and Vim scripts, the window will be filled
3232
with the contents of the directory. It looks like this (slightly cleaned up
33-
so that it fits within 80 chars): >
33+
so that it fits within 78 chars): >
3434
35-
" ===========================================================================
36-
" Netrw Directory Listing (netrw v180)
35+
" ==========================================================================
36+
" Netrw Directory Listing (netrw v180)
3737
" /path/to/vim/runtime/doc
3838
" Sorted by name
3939
" Sort sequence: [\/]$,*,\(\.bak\|\~\|\.o\|\.h\|\.info\|\.swp\)[*@]\=$
4040
" Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:special
41-
" ===========================================================================
41+
" ==========================================================================
4242
../
4343
./
4444
check/

runtime/doc/usr_24.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_24.txt* For Vim version 9.1. Last change: 2025 Oct 26
1+
*usr_24.txt* For Vim version 9.1. Last change: 2025 Nov 07
22

33

44
VIM USER MANUAL by Bram Moolenaar
@@ -567,8 +567,8 @@ that combination. Thus CTRL-K dP also works. Since there is no digraph for
567567

568568
Note:
569569
The digraphs depend on the character set that Vim assumes you are
570-
using. Always use ":digraphs" to find out which digraphs are currently
571-
available.
570+
using. Always use ":digraphs" to find out which digraphs are
571+
currently available.
572572

573573
You can define your own digraphs by specifying the target character with a
574574
decimal number. Example: >

runtime/doc/usr_30.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_30.txt* For Vim version 9.1. Last change: 2025 Oct 26
1+
*usr_30.txt* For Vim version 9.1. Last change: 2025 Nov 07
22

33

44
VIM USER MANUAL by Bram Moolenaar
@@ -37,9 +37,9 @@ you give) and captures the results: >
3737
3838
If errors were generated, they are captured and the editor positions you where
3939
the first error occurred.
40-
Take a look at an example ":make" session. (Typical :make sessions generate
41-
far more errors and fewer stupid ones.) After typing ":make" the screen looks
42-
like this:
40+
Take a look at an example ":make" session. (Typical :make sessions
41+
generate far more errors and fewer stupid ones.) After typing ":make" the
42+
screen looks like this:
4343

4444
:!make | &tee /tmp/vim215953.err ~
4545
gcc -g -Wall -o prog main.c sub.c ~

runtime/doc/usr_40.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_40.txt* For Vim version 9.1. Last change: 2025 Oct 26
1+
*usr_40.txt* For Vim version 9.1. Last change: 2025 Nov 07
22

33

44
VIM USER MANUAL by Bram Moolenaar
@@ -385,8 +385,8 @@ Some of the other options and keywords are as follows:
385385
-count={number} The command can take a count whose default is
386386
{number}. The resulting count can be used
387387
through the <count> keyword.
388-
-bang You can use a !. If present, using <bang> will
389-
result in a !.
388+
-bang You can use a !. If present, using <bang>
389+
will result in a !.
390390
-register You can specify a register. (The default is
391391
the unnamed register.)
392392
The register specification is available as
@@ -563,9 +563,9 @@ for the cprograms group: >
563563
564564
GROUPS
565565

566-
The {group} item, used when defining an autocommand, groups related autocommands
567-
together. This can be used to delete all the autocommands in a certain group,
568-
for example.
566+
The {group} item, used when defining an autocommand, groups related
567+
autocommands together. This can be used to delete all the autocommands in a
568+
certain group, for example.
569569
When defining several autocommands for a certain group, use the ":augroup"
570570
command. For example, let's define autocommands for C programs: >
571571

runtime/doc/usr_41.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_41.txt* For Vim version 9.1. Last change: 2025 Oct 26
1+
*usr_41.txt* For Vim version 9.1. Last change: 2025 Nov 07
22

33

44
VIM USER MANUAL by Bram Moolenaar
@@ -764,7 +764,8 @@ String manipulation: *string-functions*
764764
charclass() class of a character
765765
match() position where a pattern matches in a string
766766
matchbufline() all the matches of a pattern in a buffer
767-
matchend() position where a pattern match ends in a string
767+
matchend() position where a pattern match ends in a
768+
string
768769
matchfuzzy() fuzzy matches a string in a list of strings
769770
matchfuzzypos() fuzzy matches a string in a list of strings
770771
matchstr() match of a pattern in a string
@@ -841,7 +842,8 @@ List manipulation: *list-functions*
841842
indexof() index in a List where an expression is true
842843
max() maximum value in a List
843844
min() minimum value in a List
844-
count() count number of times a value appears in a List
845+
count() count number of times a value appears in a
846+
List
845847
repeat() repeat a List multiple times
846848
flatten() flatten a List
847849
flattennew() flatten a copy of a List
@@ -1246,7 +1248,8 @@ Mappings and Menus: *mapping-functions*
12461248
Testing: *test-functions*
12471249
assert_equal() assert that two expressions values are equal
12481250
assert_equalfile() assert that two file contents are equal
1249-
assert_notequal() assert that two expressions values are not equal
1251+
assert_notequal() assert that two expressions values are not
1252+
equal
12501253
assert_inrange() assert that an expression is inside a range
12511254
assert_match() assert that a pattern matches the value
12521255
assert_notmatch() assert that a pattern does not match the value

runtime/doc/usr_44.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_44.txt* For Vim version 9.1. Last change: 2025 Oct 26
1+
*usr_44.txt* For Vim version 9.1. Last change: 2025 Nov 07
22

33

44
VIM USER MANUAL by Bram Moolenaar
@@ -629,10 +629,10 @@ be included in the next Vim version!
629629

630630
ADDING TO AN EXISTING SYNTAX FILE
631631

632-
We were assuming you were adding a completely new syntax file. When an existing
633-
syntax file works, but is missing some items, you can add items in a separate
634-
file. That avoids changing the distributed syntax file, which will be lost
635-
when installing a new version of Vim.
632+
We were assuming you were adding a completely new syntax file. When an
633+
existing syntax file works, but is missing some items, you can add items in a
634+
separate file. That avoids changing the distributed syntax file, which will
635+
be lost when installing a new version of Vim.
636636
Write syntax commands in your file, possibly using group names from the
637637
existing syntax. For example, to add new variable types to the C syntax file:
638638
>

0 commit comments

Comments
 (0)