|
1 | | -*repeat.txt* For Vim version 9.1. Last change: 2024 Aug 12 |
| 1 | +*repeat.txt* For Vim version 9.1. Last change: 2024 Oct 05 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -105,9 +105,9 @@ where the cursor was before the global command). |
105 | 105 |
|
106 | 106 | The global command sets both the last used search pattern and the last used |
107 | 107 | substitute pattern (this is vi compatible). This makes it easy to globally |
108 | | -replace a string: |
| 108 | +replace a string: > |
109 | 109 | :g/pat/s//PAT/g |
110 | | -This replaces all occurrences of "pat" with "PAT". The same can be done with: |
| 110 | +This replaces all occurrences of "pat" with "PAT". The same can be done with: > |
111 | 111 | :%s/pat/PAT/g |
112 | 112 | Which is two characters shorter! |
113 | 113 |
|
@@ -526,7 +526,7 @@ Example: the lines > |
526 | 526 | \:%, |
527 | 527 | \n:>, |
528 | 528 | \fb:- |
529 | | -are interpreted as if they were given in one line: |
| 529 | +are interpreted as if they were given in one line: > |
530 | 530 | :set comments=sr:/*,mb:*,el:*/,://,b:#,:%,n:>,fb:- |
531 | 531 |
|
532 | 532 | All leading whitespace characters in the line before a backslash are ignored. |
@@ -611,7 +611,7 @@ advantages over normal plugins: |
611 | 611 | Using a package and loading automatically ~ |
612 | 612 |
|
613 | 613 | Let's assume your Vim files are in the "~/.vim" directory and you want to add a |
614 | | -package from a zip archive "/tmp/foopack.zip": |
| 614 | +package from a zip archive "/tmp/foopack.zip": > |
615 | 615 | % mkdir -p ~/.vim/pack/foo |
616 | 616 | % cd ~/.vim/pack/foo |
617 | 617 | % unzip /tmp/foopack.zip |
@@ -661,7 +661,7 @@ If the package has an "after" directory, that directory is added to the end of |
661 | 661 | Using a single plugin and loading it automatically ~ |
662 | 662 |
|
663 | 663 | If you don't have a package but a single plugin, you need to create the extra |
664 | | -directory level: |
| 664 | +directory level: > |
665 | 665 | % mkdir -p ~/.vim/pack/foo/start/foobar |
666 | 666 | % cd ~/.vim/pack/foo/start/foobar |
667 | 667 | % unzip /tmp/someplugin.zip |
@@ -978,13 +978,13 @@ will put the MO files in the "lang/" directory of the Vim editor. |
978 | 978 | Type the following commands: |
979 | 979 | > |
980 | 980 | cd /d f:\forkvim\src\po |
981 | | - (the following command must be entered in one line, here it is separated for example) |
982 | | - For Russian: |
| 981 | +< (the following command must be entered in one line, here it is separated for example) |
| 982 | + For Russian: > |
983 | 983 | nmake.exe -f Make_mvc.mak "PLUGPACKAGE=aap" |
984 | 984 | "PO_PLUGPACKAGE=e:\project\translate\plugins\ru.po" |
985 | 985 | "MO_PLUGPACKAGE_PATH=d:\Programs\vim\vim91\lang\ru\LC_MESSAGES" |
986 | 986 | aap.mo |
987 | | - For German: |
| 987 | +< For German: > |
988 | 988 | nmake.exe -f Make_mvc.mak "PLUGPACKAGE=aap" |
989 | 989 | "PO_PLUGPACKAGE=e:\project\translate\plugins\de.po" |
990 | 990 | "MO_PLUGPACKAGE_PATH=d:\Programs\vim\vim91\lang\de\LC_MESSAGES" |
|
0 commit comments