diff options
author | Jack Danger Canty <jackdanger@squareup.com> | 2015-01-19 22:21:14 -0800 |
---|---|---|
committer | Jack Danger Canty <jackdanger@squareup.com> | 2015-01-22 21:57:03 -0800 |
commit | 19c22cdb80e30711be5af33cb6726566ad629944 (patch) | |
tree | e83b3e922b402921da48d721b7b8199b6a0a62f2 /runtime/doc/usr_10.txt | |
parent | d550eecf7092397d064df26850d4a09d9ab4a481 (diff) | |
download | rneovim-19c22cdb80e30711be5af33cb6726566ad629944.tar.gz rneovim-19c22cdb80e30711be5af33cb6726566ad629944.tar.bz2 rneovim-19c22cdb80e30711be5af33cb6726566ad629944.zip |
"halfway a line" is a very confusing phrase
If you Google for this phrase found in the Vim documentation you'll find
almost exclusively hits from the Vim documentation. I think changing
"halfway a line" to "halfway through a line" makes more sense.
There seems to be an pervasive odd use of the word 'halfway' in the
original docs which I'm updating everywhere.
Diffstat (limited to 'runtime/doc/usr_10.txt')
-rw-r--r-- | runtime/doc/usr_10.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/doc/usr_10.txt b/runtime/doc/usr_10.txt index c1f62f4494..64b0181c35 100644 --- a/runtime/doc/usr_10.txt +++ b/runtime/doc/usr_10.txt @@ -370,7 +370,7 @@ into "barfoo". was specified in this example. This is different from ":substitute", which works on one line without a range. The command isn't perfect, since it also matches lines where "//" appears -halfway a line, and the substitution will also take place before the "//". +halfway in a line, and the substitution will also take place before the "//". Just like with ":substitute", any pattern can be used. When you learn more complicated patterns later, you can use them here. @@ -625,7 +625,7 @@ When you are typing plain text, it's nice if the length of each line is automatically trimmed to fit in the window. To make this happen while inserting text, set the 'textwidth' option: > - :set textwidth=72 + :set textwidth=78 You might remember that in the example vimrc file this command was used for every text file. Thus if you are using that vimrc file, you were already @@ -633,10 +633,10 @@ using it. To check the current value of 'textwidth': > :set textwidth -Now lines will be broken to take only up to 72 characters. But when you -insert text halfway a line, or when you delete a few words, the lines will get -too long or too short. Vim doesn't automatically reformat the text. - To tell Vim to format the current paragraph: > +Now lines will be broken to take only up to 78 characters. However, when you +insert text halfway through a line or delete a few words, the line will get +too long or too short as Vim won't automatically reformat the text. To tell +Vim to format the current paragraph: gqap |