summaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-04-15 21:13:42 +0000
committerBram Moolenaar <Bram@vim.org>2005-04-15 21:13:42 +0000
commit13fcaaf1954e9f0d5aa53a55084e01b2c2741202 (patch)
tree526724d830562d07e6ecb2cde83aa8323070ae15 /runtime/doc
parent402d2fea7025356c7abcb891017a1b7ddf99cbbf (diff)
downloadvim-git-13fcaaf1954e9f0d5aa53a55084e01b2c2741202.tar.gz
updated for version 7.0066v7.0066
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/arabic.txt27
-rw-r--r--runtime/doc/evim-fr.156
-rw-r--r--runtime/doc/farsi.txt68
-rw-r--r--runtime/doc/filetype.txt8
-rw-r--r--runtime/doc/intro.txt6
-rw-r--r--runtime/doc/os_amiga.txt36
-rw-r--r--runtime/doc/os_unix.txt10
-rw-r--r--runtime/doc/os_win32.txt22
-rw-r--r--runtime/doc/pattern.txt10
-rw-r--r--runtime/doc/pi_spec.txt34
-rw-r--r--runtime/doc/quickfix.txt76
-rw-r--r--runtime/doc/quotes.txt44
-rw-r--r--runtime/doc/remote.txt6
-rw-r--r--runtime/doc/repeat.txt4
-rw-r--r--runtime/doc/scroll.txt6
-rw-r--r--runtime/doc/spell.txt228
-rw-r--r--runtime/doc/starting.txt14
-rw-r--r--runtime/doc/syntax.txt242
-rw-r--r--runtime/doc/tagsrch.txt18
-rw-r--r--runtime/doc/todo.txt190
-rw-r--r--runtime/doc/usr_01.txt4
-rw-r--r--runtime/doc/usr_04.txt6
-rw-r--r--runtime/doc/usr_07.txt4
-rw-r--r--runtime/doc/usr_11.txt18
-rw-r--r--runtime/doc/usr_20.txt4
-rw-r--r--runtime/doc/usr_23.txt4
-rw-r--r--runtime/doc/usr_28.txt4
-rw-r--r--runtime/doc/usr_30.txt6
-rw-r--r--runtime/doc/usr_40.txt10
-rw-r--r--runtime/doc/various.txt6
-rw-r--r--runtime/doc/version7.txt26
-rw-r--r--runtime/doc/vim-fr.1574
-rw-r--r--runtime/doc/vim-fr.UTF-8.10
-rw-r--r--runtime/doc/windows.txt14
-rw-r--r--runtime/doc/workshop.txt40
-rw-r--r--runtime/doc/xxd-fr.UTF-8.1395
36 files changed, 1720 insertions, 500 deletions
diff --git a/runtime/doc/arabic.txt b/runtime/doc/arabic.txt
index 2d961485a..27990e023 100644
--- a/runtime/doc/arabic.txt
+++ b/runtime/doc/arabic.txt
@@ -1,4 +1,4 @@
-*arabic.txt* For Vim version 7.0aa. Last change: 2004 Jun 09
+*arabic.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Nadim Shaikli
@@ -24,7 +24,7 @@ Introduction
------------
Arabic is a rather demanding language in which a number of special
features are required. Characters are right-to-left oriented and
-ought to appear as such on the screen (ie. from right to left).
+ought to appear as such on the screen (i.e. from right to left).
Arabic also requires shaping of its characters, meaning the same
character has a different visual form based on its relative location
within a word (initial, medial, final or stand-alone). Arabic also
@@ -60,7 +60,7 @@ o Changing keyboard mapping and reverse insert modes using a single
o Toggling complete Arabic support via a single command.
-o While in Arabic mode, numbers are entered from left to right. Upon
+o While in Arabic mode, numbers are entered from left to right. Upon
entering a none number character, that character will be inserted
just into the left of the last number.
@@ -101,14 +101,14 @@ need to be accounted for and invoked.
o Setting the Arabic fonts
- + For VIM GUI set the 'guifont' to your_ARABIC_FONT. This is done
+ + For VIM GUI set the 'guifont' to your_ARABIC_FONT. This is done
by entering the following command in the VIM window.
>
:set guifont=your_ARABIC_FONT
<
NOTE: the string 'your_ARABIC_FONT' is used to denote a complete
- font name akin to that used in linux/unix system.
- (eg. -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1)
+ font name akin to that used in Linux/Unix systems.
+ (e.g. -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1)
You can append the 'guifont' set command to your .vimrc file
in order to get the same above noted results. In other words,
@@ -179,11 +179,11 @@ o Enable Arabic settings [short-cut]
If, on the other hand, you'd like to be verbose and explicit and
are opting not to use the 'arabic' short-cut command, here's what
- is needed (ie. if you use ':set arabic' you can skip this section) -
+ is needed (i.e. if you use ':set arabic' you can skip this section) -
+ Arabic Keymapping Activation
- To activate the Arabic keymap (ie. to remap your English/Latin
+ To activate the Arabic keymap (i.e. to remap your English/Latin
keyboard to look-n-feel like a standard Arabic one), set the
'keymap' command to "arabic". This is done by entering
>
@@ -197,14 +197,14 @@ o Enable Arabic settings [short-cut]
default mapping (English), it is advised that users use the 'CTRL-^'
key press while in insert (or add/replace) mode. The command-line
will display your current mapping by displaying an "Arabic" string
- next to your insertion mode (eg. -- INSERT Arabic --) indicating
+ next to your insertion mode (e.g. -- INSERT Arabic --) indicating
your current keymap.
+ Arabic deletion of a combined pair character
By default VIM has the 'delcombine' option disabled. This option
allows the deletion of ALEF in a LAM_ALEF (LAA) combined character
- and still retain the LAM (ie. it reverts to treating the combined
+ and still retain the LAM (i.e. it reverts to treating the combined
character as its natural two characters form -- this also pertains
to harakat and their combined forms). You can enable this option
by entering
@@ -227,7 +227,7 @@ o Enable Arabic settings [short-cut]
- While in Left-to-right mode, enter ':set rl' in the command line
('rl' is the abbreviation for rightleft).
- - Put the ':set rl' line in your '.vimrc' file to start the VIM in
+ - Put the ':set rl' line in your '.vimrc' file to start Vim in
right-to-left mode permanently.
+ Arabic right-to-left command-line Mode
@@ -295,7 +295,7 @@ Restrictions
------------
o VIM in its GUI form does not currently support Bi-directionality
- (ie. the ability to see both Arabic and Latin intermixed within
+ (i.e. the ability to see both Arabic and Latin intermixed within
the same line).
@@ -304,7 +304,7 @@ Known Bugs
There is one known minor bug,
- 1. If you insert a haraka (eg. Fatha (U+064E)) after a LAM (U+0644)
+ 1. If you insert a haraka (e.g. Fatha (U+064E)) after a LAM (U+0644)
and then insert an ALEF (U+0627), the appropriate combining will
not happen due to the sandwiched haraka resulting in something
that will NOT be displayed correctly.
@@ -320,4 +320,3 @@ There is one known minor bug,
No other bugs are known to exist.
vim:tw=78:ts=8:ft=help:norl:
-
diff --git a/runtime/doc/evim-fr.1 b/runtime/doc/evim-fr.1
new file mode 100644
index 000000000..792c1bc30
--- /dev/null
+++ b/runtime/doc/evim-fr.1
@@ -0,0 +1,56 @@
+.TH EVIM 1 "16 février 2002 February 16"
+.SH NAME
+evim \- « Easy Vim », édite un fichier avec Vim sans utiliser les modes
+.SH SYNOPSIS
+.br
+.B evim
+[options] [fichier ...]
+.br
+.B eview
+.SH DESCRIPTION
+.B eVim
+lance
+.B Vim
+et configure ses options afin qu'il se comporte comme un éditeur sans mode.
+Cela reste Vim, mais vous pouvez l'utiliser comme un éditeur « cliquer-taper ».
+Cela ressemble beaucoup à l'édition avec Notepad sur MS-Windows.
+.B eVim
+ne fonctionne qu'avec l'interface graphique, qui est nécessaire pour permettre
+l'utilisation des menus et de la barre d'outils.
+.PP
+Il n'est utile qu'aux personnes qui ne parviennent vraiment pas à utiliser Vim
+de façon traditionnelle. L'édition est alors bien moins efficace.
+.PP
+.B eview
+fait la même chose, mais démarre Vim en mode Lecture-seule.
+Cela revient à lancer evim \-R.
+.PP
+Voir vim(1) pour davantage d'informations sur Vim, les options, etc.
+.PP
+L'option 'insertmode' est activée pour permettre de taper directement du texte.
+.br
+Les mappages sont configurés pour que Copier et Coller fonctionnent avec les
+raccourcis habituels de MS-Windows. CTRL-X coupe le texte, CTRL-C copie le
+texte et CTRL-V colle le texte.
+Vous pouvez utiliser CTRL-Q pour obtenir la fonction originale de CTRL-V.
+.SH OPTIONS
+Voir vim(1).
+.SH FICHIERS
+.TP 15
+/usr/local/lib/vim/evim.vim
+Le script chargé pour initialiser eVim.
+.SH AUSSI CONNU SOUS
+Également connu sous le nom « Vim pour gumbies » [N.D.T. : Flying Circus...].
+Quand vous utilisez eVim, vous êtes censé prendre un mouchoir de poche,
+faire un noeud à chaque coin et le porter sur votre tête.
+.SH VOIR AUSSI
+vim(1)
+.SH AUTEUR
+La majeure partie de
+.B Vim
+a été écrite par Bram Moolenaar, avec l'aide de nombreux autres contributeurs.
+Voir le menu Aide/Remerciements ou ":help credits" dans
+.B Vim.
+.SH TRADUCTION
+Cette page de manuel a été traduite David Blanchet.
+<david.blanchet@free.fr> 2005-03-26.
diff --git a/runtime/doc/farsi.txt b/runtime/doc/farsi.txt
index 6f32f6e83..0e7d9bbf7 100644
--- a/runtime/doc/farsi.txt
+++ b/runtime/doc/farsi.txt
@@ -1,4 +1,4 @@
-*farsi.txt* For Vim version 7.0aa. Last change: 2004 Jun 16
+*farsi.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
@@ -42,7 +42,7 @@ o Changing keyboard mapping and reverse insert modes using a single
o Backing from reverse insert mode to the correct place in the file
(if possible).
-o While in Farsi mode, numbers are entered from left to right. Upon entering
+o While in Farsi mode, numbers are entered from left to right. Upon entering
a none number character, that character will be inserted just into the
left of the last number.
@@ -54,8 +54,8 @@ o Farsi keymapping on the command line in reverse insert mode.
o Toggling between left-to-right and right-to-left via F8 function key.
-o Toggling between Farsi ISIR-3342 standard encoding and VIM Farsi via F9
- function key. Since this makes sense only for the text written in
+o Toggling between Farsi ISIR-3342 standard encoding and Vim Farsi via F9
+ function key. Since this makes sense only for the text written in
right-to-left mode, this function is also supported only in right-to-left
mode.
@@ -77,8 +77,8 @@ Font Installation
o Installation of fonts for MS Window systems (NT/95/98)
- From 'Control Panel' folder, start the 'Fonts' program. Then from 'file'
- menu item select 'Install New Fonts ...'. Browse and select the
+ From 'Control Panel' folder, start the 'Fonts' program. Then from 'file'
+ menu item select 'Install New Fonts ...'. Browse and select the
'far-a01.fon', then follow the installation guide.
NOTE: several people have reported that this does not work. The solution
is unknown.
@@ -104,19 +104,19 @@ o Installation of fonts for X Window systems (SunOS)
o Installation of ASCII screen fonts (Unix/Linux)
For Linux system, copy the far-a01.f16 fonts into /usr/lib/kbd/consolefonts
- directory and execute the setfont program as "setfont far-a01.f16". For
+ directory and execute the setfont program as "setfont far-a01.f16". For
other systems (e.g. SCO Unix), please refer to the fonts installation
section of your system administration manuals.
o Installation of ASCII screen fonts (DOS)
- After system power on, prior to the first use of VIM, upload the Farsi
+ After system power on, prior to the first use of Vim, upload the Farsi
fonts by executing the far-a01.com font uploading program.
Usage
-----
-Prior to starting VIM, the environment in which VIM can run in Farsi mode,
+Prior to starting Vim, the environment in which Vim can run in Farsi mode,
must be set. In addition to installation of Farsi fonts, following points
refer to some of the system environments, which you may need to set:
Key code mapping, loading graphic card in ASCII screen mode, setting the IO
@@ -124,26 +124,26 @@ driver in 8 bit clean mode ... .
o Setting the Farsi fonts
- + For VIM GUI set the 'guifont' to far-a01. This is done by entering
- ':set guifont=far-a01' in the VIM window.
+ + For Vim GUI set the 'guifont' to far-a01. This is done by entering
+ ':set guifont=far-a01' in the Vim window.
- You can have 'guifont' set to far-a01 by VIM during the VIM startup
+ You can have 'guifont' set to far-a01 by Vim during the Vim startup
by appending the ':set guifont=far-a01' into your .vimrc file
(in case of NT/95/98 platforms _vimrc).
- Under the X Window environment, you can also start the VIM with
+ Under the X Window environment, you can also start Vim with the
'-fn far-a01' option.
- + For the VIM within a xterm, start a xterm with the Farsi fonts (e.g.
- kterm -fn far-a01). Then start the VIM inside the kterm.
+ + For Vim within a xterm, start a xterm with the Farsi fonts (e.g.
+ kterm -fn far-a01). Then start Vim inside the kterm.
- + For VIM under DOS, prior to the first usage of VIM, upload the Farsi
+ + For Vim under DOS, prior to the first usage of Vim, upload the Farsi
fonts by executing the far-a01.com fonts uploading program.
o Farsi Keymapping Activation
To activate the Farsi keymapping, set either 'altkeymap' or 'fkmap'.
- This is done by entering ':set akm' or ':set fk' in the VIM window.
+ This is done by entering ':set akm' or ':set fk' in the Vim window.
You can have 'altkeymap' or 'fkmap' set as default by appending ':set akm'
or ':set fk' in your .vimrc file or _vimrc in case of NT/95/98 platforms.
@@ -152,24 +152,24 @@ o Farsi Keymapping Activation
o right-to-left Farsi Mode
- By default VIM starts in Left-to-right mode. Following are ways to change
+ By default Vim starts in Left-to-right mode. Following are ways to change
the window orientation:
- + Start the VIM with -F option (e.g. vim -F ... ).
+ + Start Vim with the -F option (e.g. vim -F ...).
- + Use F8 function key to toggle between left-to-right and right-to-left.
+ + Use the F8 function key to toggle between left-to-right and right-to-left.
+ While in Left-to-right mode, enter 'set rl' in the command line ('rl' is
the abbreviation for rightleft).
- + Put the 'set rl' line in your '.vimrc' file to start the VIM in
+ + Put the 'set rl' line in your '.vimrc' file to start Vim in
right-to-left mode permanently.
Encoding
--------
-The letter encoding used is the VIM extended ISIR-3342 standard with a built
-in function to convert between VIM extended ISIR-3342 and ISIR-3342 standard.
+The letter encoding used is the Vim extended ISIR-3342 standard with a built
+in function to convert between Vim extended ISIR-3342 and ISIR-3342 standard.
For document portability reasons, the letter encoding is kept the same across
different platforms (i.e. UNIX's, NT/95/98, MS DOS, ...).
@@ -183,11 +183,11 @@ o Keyboard
+ CTRL-_ moves the cursor to the end of the typed text in edit mode.
+ CTRL-_ in command mode only toggles keyboard mapping between Farsi(akm)/
- Latin. The Farsi text is then entered in reverse insert mode.
+ Latin. The Farsi text is then entered in reverse insert mode.
+ F8 - Toggles between left-to-right and right-to-left.
- + F9 - Toggles the encoding between ISIR-3342 standard and VIM extended
+ + F9 - Toggles the encoding between ISIR-3342 standard and Vim extended
ISIR-3342 (supported only in right-to-left mode).
+ Keyboard mapping is based on the Iranian ISIRI-2901 standard.
@@ -231,28 +231,28 @@ o In insert/replace mode and fkmap (Farsi mode) set, CTRL-B is not
supported.
o If you change the character mapping between Latin/Farsi, the redo buffer
- will be reset (emptied). That is, redo is valid and will function (using
+ will be reset (emptied). That is, redo is valid and will function (using
'.') only within the mode you are in.
o While numbers are entered in Farsi mode, the redo buffer will be reset
- (emptied). That is, you can not redo the last changes (using '.') after
+ (emptied). That is, you cannot redo the last changes (using '.') after
entering numbers.
-o While in left-to-right and Farsi mode set, CTRL-R is not supported.
+o While in left-to-right mode and Farsi mode set, CTRL-R is not supported.
o While in right-to-left mode, the search on 'Latin' pattern does not work,
except if you enter the Latin search pattern in reverse.
-o In the command mode, there is no support for entering the numbers from left
- to right and also for the sake of the flexibility the keymapping logic is
+o In command mode there is no support for entering numbers from left
+ to right and also for the sake of flexibility the keymapping logic is
restricted.
-o Under X Window environment, if you want to run the VIM within a xterm
+o Under the X Window environment, if you want to run Vim within a xterm
terminal emulator and Farsi mode set, you need to have an ANSI compatible
- xterm terminal emulator. This is because the letter codes above 128 decimal
+ xterm terminal emulator. This is because the letter codes above 128 decimal
have certain meanings in the standard xterm terminal emulator.
- Note: Under X Window environment, VIM GUI works fine in Farsi mode.
+ Note: Under X Window environment, Vim GUI works fine in Farsi mode.
This eliminates the need of any xterm terminal emulator.
@@ -261,7 +261,7 @@ Bugs
While in insert/replace and Farsi mode set, if you repeatedly change the
cursor position (via cursor movement) and enter new text and then try to undo
the last change, the undo will lag one change behind. But as you continue to
-undo, you will reach the original line of text. You can also use U to undo all
+undo, you will reach the original line of text. You can also use U to undo all
changes made in the current line.
For more information about the bugs refer to rileft.txt.
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index a4cc593a2..8b7d6ac4a 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -1,4 +1,4 @@
-*filetype.txt* For Vim version 7.0aa. Last change: 2004 Aug 31
+*filetype.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -382,7 +382,7 @@ ways to change this:
CHANGELOG *changelog-plugin*
-Allows for easy entrance of Changelog entries in Changelog files. There are
+Allows for easy entrance of Changelog entries in Changelog files. There are
some commands, mappings, and variables worth exploring:
Options:
@@ -462,7 +462,7 @@ g:changelog_date_entry_search
The Changelog entries are inserted where they add the least amount of text.
After figuring out the current date and user, the file is searched for an
entry beginning with the current date and user and if found adds another item
-under it. If not found, a new entry and item is prepended to the beginning of
+under it. If not found, a new entry and item is prepended to the beginning of
the Changelog.
@@ -474,7 +474,7 @@ Options:
'textwidth' is set to 72 for fixed source format as required by the
Fortran standards and to 80 for free source format.
'formatoptions' is set to break code and comment lines and to preserve long
- lines. You can format comments with |gq|.
+ lines. You can format comments with |gq|.
For further discussion of fortran_have_tabs and the method used for the
detection of source format see |fortran-syntax|.
diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt
index 935577724..ee187c974 100644
--- a/runtime/doc/intro.txt
+++ b/runtime/doc/intro.txt
@@ -1,4 +1,4 @@
-*intro.txt* For Vim version 7.0aa. Last change: 2005 Feb 07
+*intro.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -330,11 +330,11 @@ and <> are part of what you type, the context should make this clear.
["x] An optional register designation where text can be stored.
See |registers|. The x is a single character between 'a' and
'z' or 'A' and 'Z' or '"', and in some cases (with the put
- command) between '0' and '9', '%', '#', or others. The
+ command) between '0' and '9', '%', '#', or others. The
uppercase and lowercase letter designate the same register,
but the lowercase letter is used to overwrite the previous
register contents, while the uppercase letter is used to
- append to the previous register contents. Without the ""x" or
+ append to the previous register contents. Without the ""x" or
with """" the stored text is put into the unnamed register.
*{}*
diff --git a/runtime/doc/os_amiga.txt b/runtime/doc/os_amiga.txt
index 069e76964..0e42c5d82 100644
--- a/runtime/doc/os_amiga.txt
+++ b/runtime/doc/os_amiga.txt
@@ -1,4 +1,4 @@
-*os_amiga.txt* For Vim version 7.0aa. Last change: 2004 Jun 28
+*os_amiga.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -13,7 +13,7 @@ Installation on the Amiga:
look for the file "VIM:doc/help.txt" (for the help command).
Setting the environment variable $VIM also works. And the other way around:
when $VIM used and it is not defined, "VIM:" is used.
-- With DOS 1.3 or earlier: Put "arp.library" in "libs:". Vim must have been
+- With DOS 1.3 or earlier: Put "arp.library" in "libs:". Vim must have been
compiled with the |+ARP| feature enabled. Make sure that newcli and run are
in "C:" (for executing external commands).
- Put a shell that accepts a command with "-c" (e.g. "Csh" from Fish disk
@@ -21,13 +21,13 @@ Installation on the Amiga:
executing external commands).
If you have sufficient memory you can avoid startup delays by making Vim and
-csh resident with the command "rez csh vim". You will have to put
-"rezlib.library" in your "libs:" directory. Under 2.0 you will need rez
+csh resident with the command "rez csh vim". You will have to put
+"rezlib.library" in your "libs:" directory. Under 2.0 you will need rez
version 0.5.
If you do not use digraphs, you can save some memory by recompiling without
-the |+digraphs| feature. If you want to use Vim with other terminals you can
-recompile with the TERMCAP option. Vim compiles with Manx 5.x and SAS 6.x.
+the |+digraphs| feature. If you want to use Vim with other terminals you can
+recompile with the TERMCAP option. Vim compiles with Manx 5.x and SAS 6.x.
See the makefiles and feature.h.
If you notice Vim crashes on some files when syntax highlighting is on, or
@@ -47,7 +47,7 @@ If you want to use different colors set the termcap codes:
t_ZH (for italic text)
t_ZR (for normal text after t_ZH)
-Standard ANSI escape sequences are used. The codes are:
+Standard ANSI escape sequences are used. The codes are:
30 grey char 40 grey cell >0 grey background 0 all attributes off
31 black char 41 black cell >1 black background 1 boldface
32 white char 42 white cell >2 white background 2 faint
@@ -57,8 +57,8 @@ Standard ANSI escape sequences are used. The codes are:
36 white char 46 white cell >6 white background 8 invisible
37 blue char 47 blue cell >7 blue background
-The codes with '>' must be the last. The cell and background color should be
-the same. The codes can be combined by separating them with a semicolon. For
+The codes with '>' must be the last. The cell and background color should be
+the same. The codes can be combined by separating them with a semicolon. For
example to get white text on a blue background: >
:set t_me=^V<Esc>[0;32;43;>3m
:set t_se=^V<Esc>[0;32;43;>3m
@@ -72,14 +72,14 @@ example to get white text on a blue background: >
When using multiple commands with a filter command, e.g. >
:r! echo this; echo that
-Only the output of the last command is used. To fix this you have to group the
-commands. This depends on the shell you use (that is why it is not done
-automatically in Vim). Examples: >
+Only the output of the last command is used. To fix this you have to group the
+commands. This depends on the shell you use (that is why it is not done
+automatically in Vim). Examples: >
:r! (echo this; echo that)
:r! {echo this; echo that}
Commands that accept a single file name allow for embedded spaces in the file
-name. However, when using commands that accept several file names, embedded
+name. However, when using commands that accept several file names, embedded
spaces need to be escaped with a backslash.
------------------------------------------------------------------------------
@@ -94,8 +94,8 @@ For the latest info about the MorphOS version:
Problems ~
There are a couple of problems which are not MorphOS related but more Vim and
-UN*X related. When starting up Vim in ram: it complains with a nag requester
-from MorphOS please simply ignore it. Another problem is when running Vim as
+UN*X related. When starting up Vim in ram: it complains with a nag requester
+from MorphOS please simply ignore it. Another problem is when running Vim as
is some plugins will cause a few problems which you can ignore as well.
Hopefully someone will be fixing it over the time.
@@ -116,7 +116,7 @@ Installation ~
ftp://ftp.vim.org/pub/vim/amiga/vim62rt.tgz
- and unpack it in your 'Apps' directory of the MorphOS installation. For me
+ and unpack it in your 'Apps' directory of the MorphOS installation. For me
this would create following directory hierarchy:
MorphOS:Apps/Vim/Vim62/...
@@ -130,8 +130,8 @@ Installation ~
4) Copy the '.vimrc' file to s:
-5) There is also a file named 'color-sequence' included in this archive. This
- will set the MorphOS Shell to show ANSI colors. Please copy the file to s:
+5) There is also a file named 'color-sequence' included in this archive. This
+ will set the MorphOS Shell to show ANSI colors. Please copy the file to s:
and change the s:shell-startup to:
;Begin VIM
diff --git a/runtime/doc/os_unix.txt b/runtime/doc/os_unix.txt
index 965b18d99..0a69e70c6 100644
--- a/runtime/doc/os_unix.txt
+++ b/runtime/doc/os_unix.txt
@@ -1,4 +1,4 @@
-*os_unix.txt* For Vim version 7.0aa. Last change: 2005 Mar 25
+*os_unix.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -11,7 +11,7 @@ For compiling Vim on Unix see "INSTALL" and "Makefile" in the src directory.
The default help file name is "/usr/local/lib/vim/help.txt"
The files "$HOME/.vimrc" and "$HOME/.exrc" are used instead of "s:.vimrc" and
-"s:.exrc". Additionally "/usr/local/etc/vimrc" is used first.
+"s:.exrc". Additionally "/usr/local/etc/vimrc" is used first.
If "/usr/local/share" exists it is used instead of "/usr/local/lib".
Temporary files (for filtering) are put in "/tmp". If you want to place them
@@ -26,15 +26,15 @@ For executing external commands fork()/exec() is used when possible, otherwise
system() is used, which is a bit slower. The output of ":version" includes
|+fork| when fork()/exec() is used, |+system()| when system() is used. This
can be changed at compile time.
-(For forking of the GUI version see |gui-fork|).
+(For forking of the GUI version see |gui-fork|.)
Because terminal updating under Unix is often slow (e.g. serial line
terminal, shell window in suntools), the 'showcmd' and 'ruler' options
-are default off. If you have a fast terminal, try setting them on. You might
+are default off. If you have a fast terminal, try setting them on. You might
also want to set 'ttyfast'.
When using Vim in an xterm the mouse clicks can be used by Vim by setting
-'mouse' to "a". If there is access to an X-server gui style copy/paste will
+'mouse' to "a". If there is access to an X-server gui style copy/paste will
be used and visual feedback will be provided while dragging with the mouse.
If you then still want the xterm copy/paste with the mouse, press the shift
key when using the mouse. See |mouse-using|. Visual feedback while dragging
diff --git a/runtime/doc/os_win32.txt b/runtime/doc/os_win32.txt
index 6f9a541c2..880981d74 100644
--- a/runtime/doc/os_win32.txt
+++ b/runtime/doc/os_win32.txt
@@ -1,4 +1,4 @@
-*os_win32.txt* For Vim version 7.0aa. Last change: 2004 Aug 31
+*os_win32.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by George Reilly
@@ -192,7 +192,7 @@ A. In the GUI version, you can use the 'guifont' option. Example: >
Q. When I change the size of the console window with ':set lines=xx' or
similar, the font changes! (Win95)
A. You have the console font set to 'Auto' in Vim's (or your MS-DOS prompt's)
- properties. This makes W95 guess (badly!) what font is best. Set an explicit
+ properties. This makes W95 guess (badly!) what font is best. Set an explicit
font instead.
Q. Why can't I paste into Vim when running Windows 95?
@@ -282,7 +282,7 @@ A. VisionFS can't handle certain dot (.) three letter extension file names.
dir > file.bat
<
The result is that the "dir" command updates the "file.bat~" file, instead
- of creating a new "file.bat" file. This same behavior is exhibited in Vim
+ of creating a new "file.bat" file. This same behavior is exhibited in Vim
when editing an existing file named "foo.bat" because the default behavior
of Vim is to create a temporary file with a '~' character appended to the
name. When the file is written, it winds up being deleted.
@@ -306,13 +306,13 @@ A. When using :! to run an external command, you can run it with "start": >
To avoid this special treatment, use ":! start".
Q. I'm using Win32s, and when I try to run an external command like "make",
- Vim doesn't wait for it to finish! Help!
+ Vim doesn't wait for it to finish! Help!
A. The problem is that a 32-bit application (Vim) can't get notification from
- Windows that a 16-bit application (your DOS session) has finished. Vim
+ Windows that a 16-bit application (your DOS session) has finished. Vim
includes a work-around for this, but you must set up your DOS commands to
- run in a window, not full-screen. Unfortunately the default when you
- install Windows is full-screen. To change this:
- 1) Start PIF editor (in the Main program group)
+ run in a window, not full-screen. Unfortunately the default when you
+ install Windows is full-screen. To change this:
+ 1) Start PIF editor (in the Main program group).
2) Open the file "_DEFAULT.PIF" in your Windows directory.
3) Changes the display option from "Full Screen" to "Windowed".
4) Save and exit.
@@ -321,10 +321,10 @@ A. The problem is that a 32-bit application (Vim) can't get notification from
:!dir C:\<CR>".
< You should see a DOS box window appear briefly with the directory listing.
-Q. I use Vim under Win32s and NT. In NT, I can define the console to default to
- 50 lines, so that I get a 80x50 shell when I ':sh'. Can I do the same in
+Q. I use Vim under Win32s and NT. In NT, I can define the console to default to
+ 50 lines, so that I get a 80x50 shell when I ':sh'. Can I do the same in
W3.1x, or am I stuck with 80x25?
-A. Edit SYSTEM.INI and add 'ScreenLines=50' to the [NonWindowsApp] section. DOS
+A. Edit SYSTEM.INI and add 'ScreenLines=50' to the [NonWindowsApp] section. DOS
prompts and external DOS commands will now run in a 50-line window.
vim:tw=78:fo=tcq2:ts=8:ft=help:norl:
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
index d5a6e2983..ba35a0470 100644
--- a/runtime/doc/pattern.txt
+++ b/runtime/doc/pattern.txt
@@ -1,4 +1,4 @@
-*pattern.txt* For Vim version 7.0aa. Last change: 2005 Mar 07
+*pattern.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -631,7 +631,7 @@ overview.
position: "\(foo\)\@!bar" will match "bar" in "foobar", because at the
position where "bar" matches, "foo" does not match. To avoid matching
"foobar" you could use "\(foo\)\@!...bar", but that doesn't match a
- bar at the start of a line. Use "\(foo\)\@<!bar".
+ bar at the start of a line. Use "\(foo\)\@<!bar".
*/\@<=*
\@<= Matches with zero width if the preceding atom matches just before what
@@ -735,7 +735,7 @@ $ At end of pattern or in front of "\|" or "\)" ("|" or ")" after "\v"):
*/\>*
\> Matches the end of a word: The previous char is the last char of a
- word. The 'iskeyword' option specifies what is a word character.
+ word. The 'iskeyword' option specifies what is a word character.
|/zero-width|
*/\zs*
@@ -745,7 +745,7 @@ $ At end of pattern or in front of "\|" or "\)" ("|" or ")" after "\v"):
/^\s*\zsif
< matches an "if" at the start of a line, ignoring white space.
Can be used multiple times, the last one encountered in a matching
- branch is used. Example: >
+ branch is used. Example: >
/\(.\{-}\zsFab\)\{3}
< Finds the third occurrence of "Fab".
{not in Vi} {not available when compiled without the +syntax feature}
@@ -930,7 +930,7 @@ x A single character, with no special meaning, matches itself
[] (with 'nomagic': \[]) */[]* */\[]* */\_[]* */collection*
\_[]
- A collection. This is a sequence of characters enclosed in brackets.
+ A collection. This is a sequence of characters enclosed in brackets.
It matches any single character in the collection.
Example matches ~
[xyz] any 'x', 'y' or 'z'
diff --git a/runtime/doc/pi_spec.txt b/runtime/doc/pi_spec.txt
index a52984a58..d3b03d80f 100644
--- a/runtime/doc/pi_spec.txt
+++ b/runtime/doc/pi_spec.txt
@@ -1,13 +1,13 @@
-*pi_spec.txt* For Vim version 7.0aa. Last change: 2002 Oct 29
+*pi_spec.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
by Gustavo Niemeyer ~
This is a filetype plugin to work with rpm spec files.
Currently, this Vim plugin allows you to easily update the %changelog
-section in RPM spec files. It will even create a section for you if it
-doesn't exist yet. If you've already inserted an entry today, it will
-give you the opportunity to just add a new item in today's entry. If you
+section in RPM spec files. It will even create a section for you if it
+doesn't exist yet. If you've already inserted an entry today, it will
+give you the opportunity to just add a new item in today's entry. If you
don't provide a format string (|spec_chglog_format|), it'll ask you an
email address and build a format string by itself.
@@ -22,24 +22,24 @@ The spec_chglog plugin provides a map like the following:
:map <buffer> <LocalLeader>c <Plug>SpecChangelog
It means that you may run the plugin inside a spec file by pressing
-your maplocalleader key (default is '\') plus 'c'. If you do not have
+your maplocalleader key (default is '\') plus 'c'. If you do not have
|spec_chglog_format| set, the plugin will ask you for an email address
to use in this edit session.
Everytime you run the plugin, it will check to see if the last entry
-in the changelog has been written today and by you. If it's the entry
+in the changelog has been written today and by you. If it's the entry
mathes, it will just insert a new changelog item, otherwise it will
-create a new changelog entry. If you are running with
+create a new changelog entry. If you are running with
|spec_chglog_release_info| enabled, it will also check if the name, version
-and release matches. The plugin is smart enough to ask you if it should
+and release matches. The plugin is smart enough to ask you if it should
update the package release, if you have not done so.
Setting a map *spec-setting-a-map*
-------------
As you should know, you can easily set a map to access any Vim command (or
-anything, for that matter). If you don't like the default map of
-<LocalLeader>c, you may just set up your own key. The following line
+anything, for that matter). If you don't like the default map of
+<LocalLeader>c, you may just set up your own key. The following line
shows you how you could do this in your .vimrc file, mapping the plugin to
the <F5> key:
@@ -57,16 +57,16 @@ This command will add a map only in the spec file buffers.
The format string *spec_chglog_format*
-----------------
-You can easily customize how your spec file entry will look like. To do
+You can easily customize how your spec file entry will look like. To do
this just set the variable "spec_chglog_format" in your .vimrc file like
this: >
let spec_chglog_format = "%a %b %d %Y My Name <my@email.com>"
-Note that "%a %b %d %Y" is the most used time format. If you don't provide
+Note that "%a %b %d %Y" is the most used time format. If you don't provide
a format string, when you run the SpecChangelog command for the first
time, it will ask you an email address and build the |spec_chglog_format|
-variable for you. This way, you will only need to provide your email
+variable for you. This way, you will only need to provide your email
address once.
To discover which format options you can use, take a look at the strftime()
@@ -76,7 +76,7 @@ Where to insert new items *spec_chglog_prepend*
-------------------------
The plugin will usually insert new %changelog entry items (note that it's
-not the entry itself) after the existing ones. If you set the
+not the entry itself) after the existing ones. If you set the
spec_chglog_prepend variable >
let spec_chglog_prepend = 1
@@ -87,11 +87,11 @@ Inserting release info *spec_chglog_release_info*
----------------------
If you want, the plugin may automatically insert release information
-on each changelog entry. One advantage of turning this feature on is
+on each changelog entry. One advantage of turning this feature on is
that it may control if the release has been updated after the last
-change in the package or not. If you have not updated the package
+change in the package or not. If you have not updated the package
version or release, it will ask you if it should update the package
-release for you. To turn this feature on, just insert the following
+release for you. To turn this feature on, just insert the following
code in your .vimrc: >
let spec_chglog_release_info = 1
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index d40d7e772..d558440a0 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1,4 +1,4 @@
-*quickfix.txt* For Vim version 7.0aa. Last change: 2005 Mar 25
+*quickfix.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -122,7 +122,7 @@ The following quickfix commands can be used:
:cl[ist] [from] [, [to]]
List all errors that are valid |quickfix-valid|.
If numbers [from] and/or [to] are given, the respective
- range of errors is listed. A negative number counts
+ range of errors is listed. A negative number counts
from the last error backwards, -1 being the last error.
The 'switchbuf' settings are respected when jumping
to a buffer.
@@ -380,16 +380,16 @@ id-utils) in a similar way to its compiler integration (see |:make| above).
5.3 Setting up external grep
If you have a standard "grep" program installed, the :grep command may work
-well with the defaults. The syntax is very similar to the standard command: >
+well with the defaults. The syntax is very similar to the standard command: >
:grep foo *.c
-Will search all files with the .c extension for the substring "foo". The
+Will search all files with the .c extension for the substring "foo". The
arguments to :grep are passed straight to the "grep" program, so you can use
whatever options your "grep" supports.
By default, :grep invokes grep with the -n option (show file and line
-numbers). You can change this with the 'grepprg' option. You will need to set
+numbers). You can change this with the 'grepprg' option. You will need to set
'grepprg' if:
a) You are using a program that isn't called "grep"
@@ -515,8 +515,8 @@ stdin (standard input) will not be interactive.
PYUNIT COMPILER *compiler-pyunit*
This is not actually a compiler, but a unit testing framework for the
-Python language. It is included into standard Python distribution
-starting from version 2.0. For older versions, you can get it from
+Python language. It is included into standard Python distribution
+starting from version 2.0. For older versions, you can get it from
http://pyunit.sourceforge.net.
When you run your tests with the help of the framework, possible errors
@@ -534,20 +534,20 @@ Also see http://vim.sourceforge.net/tip_view.php?tip_id=280.
TEX COMPILER *compiler-tex*
Included in the distribution compiler for TeX ($VIMRUNTIME/compiler/tex.vim)
-uses make command if possible. If the compiler finds a file named "Makefile"
+uses make command if possible. If the compiler finds a file named "Makefile"
or "makefile" in the current directory, it supposes that you want to process
-your *TeX files with make, and the makefile does the right work. In this case
-compiler sets 'errorformat' for *TeX output and leaves 'makeprg' untouched. If
+your *TeX files with make, and the makefile does the right work. In this case
+compiler sets 'errorformat' for *TeX output and leaves 'makeprg' untouched. If
neither "Makefile" nor "makefile" is found, the compiler will not use make.
You can force the compiler to ignore makefiles by defining
b:tex_ignore_makefile or g:tex_ignore_makefile variable (they are checked for
existence only).
If the compiler chose not to use make, it need to choose a right program for
-processing your input. If b:tex_flavor or g:tex_flavor (in this precedence)
+processing your input. If b:tex_flavor or g:tex_flavor (in this precedence)
variable exists, it defines TeX flavor for :make (actually, this is the name
of executed command), and if both variables do not exist, it defaults to
-"latex". For example, while editing chapter2.tex \input-ed from mypaper.tex
+"latex". For example, while editing chapter2.tex \input-ed from mypaper.tex
written in AMS-TeX: >
:let b:tex_flavor = 'amstex'
@@ -557,16 +557,16 @@ written in AMS-TeX: >
Note that you must specify a name of the file to process as an argument (to
process the right file when editing \input-ed or \include-ed file; portable
-solution for substituting % for no arguments is welcome). This is not in the
+solution for substituting % for no arguments is welcome). This is not in the
semantics of make, where you specify a target, not source, but you may specify
filename without extension ".tex" and mean this as "make filename.dvi or
filename.pdf or filename.some_result_extension according to compiler".
Note: tex command line syntax is set to usable both for MikTeX (suggestion
-by Srinath Avadhanula) and teTeX (checked by Artem Chuprina). Suggestion
+by Srinath Avadhanula) and teTeX (checked by Artem Chuprina). Suggestion
from |errorformat-LaTeX| is too complex to keep it working for different
shells and OSes and also does not allow to use other available TeX options,
-if any. If your TeX doesn't support "-interaction=nonstopmode", please
+if any. If your TeX doesn't support "-interaction=nonstopmode", please
report it with different means to express \nonstopmode from the command line.
=============================================================================
@@ -600,7 +600,7 @@ Basic items
column of the error, (1 <tab> == 1 character column))
%v virtual column number (finds a number representing
screen column of the error (1 <tab> == 8 screen
- columns)
+ columns))
%t error type (finds a single character)
%n error number (finds a number)
%m error message (finds a string)
@@ -646,7 +646,7 @@ The following uppercase conversion characters specify the type of special
format strings. At most one of them may be given as a prefix at the begin
of a single comma-separated format pattern.
Some compilers produce messages that consist of directory names that have to
-be prepended to each file name read by %f (example: GNU make). The following
+be prepended to each file name read by %f (example: GNU make). The following
codes can be used to scan these directory names; they will be stored in an
internal directory stack. *E379*
%D "enter directory" format string; expects a following
@@ -654,7 +654,7 @@ internal directory stack. *E379*
%X "leave directory" format string; expects following %f
When defining an "enter directory" or "leave directory" format, the "%D" or
-"%X" has to be given at the start of that substring. Vim tracks the directory
+"%X" has to be given at the start of that substring. Vim tracks the directory
changes and prepends the current directory to each erroneous file found with a
relative path. See |quickfix-directory-stack| for details, tips and
limitations.
@@ -663,7 +663,7 @@ limitations.
Multi-line messages *errorformat-multi-line*
It is possible to read the output of programs that produce multi-line
-messages, ie. error strings that consume more than one line. Possible
+messages, i.e. error strings that consume more than one line. Possible
prefixes are:
%E start of a multi-line error message
%W start of a multi-line warning message
@@ -756,7 +756,7 @@ A call of |:clist| writes them accordingly with their correct filenames:
9 a3.tt:67 col 3 warning: 's' already defined
Unlike the other prefixes that all match against whole lines, %P, %Q and %O
-can be used to match several patterns in the same line. Thus it is possible
+can be used to match several patterns in the same line. Thus it is possible
to parse even nested files like in the following line:
{"file1" {"file2" error1} error2 {"file3" error3 {"file4" error4 error5}}}
The %O then parses over strings that do not contain any push/pop file name
@@ -766,11 +766,11 @@ information. See |errorformat-LaTeX| for an extended example.
Ignoring and using whole messages *efm-ignore*
The codes '+' or '-' can be combined with the uppercase codes above; in that
-case they have to precede the letter, eg. '%+A' or '%-G':
+case they have to precede the letter, e.g. '%+A' or '%-G':
%- do not include the matching multi-line in any output
%+ include the whole matching line in the %m error string
-One prefix is only useful in combination with '+' or '-', namely %G. It parses
+One prefix is only useful in combination with '+' or '-', namely %G. It parses
over lines containing general information like compiler version strings or
other headers that can be skipped.
%-G ignore this message
@@ -785,7 +785,7 @@ with previous versions of Vim. However, it is also possible to specify
Since meta characters of the regular expression language can be part of
ordinary matching strings or file names (and therefore internally have to
be escaped), meta symbols have to be written with leading '%':
- %\ the single '\' character. Note that this has to be
+ %\ the single '\' character. Note that this has to be
escaped ("%\\") in ":set errorformat=" definitions.
%. the single '.' character.
%# the single '*'(!) character.
@@ -795,7 +795,7 @@ be escaped), meta symbols have to be written with leading '%':
%~ the single '~' character.
When using character classes in expressions (see |/\i| for an overview),
terms containing the "\+" quantifier can be written in the scanf() "%*"
-notation. Example: "%\\d%\\+" ("\d\+", "any number") is equivalent to "%*\\d".
+notation. Example: "%\\d%\\+" ("\d\+", "any number") is equivalent to "%*\\d".
Important note: The \(...\) grouping of sub-matches can not be used in format
specifications because it is reserved for internal conversions.
@@ -881,19 +881,19 @@ required for the set command.
8. The directory stack *quickfix-directory-stack*
Quickfix maintains a stack for saving all used directories parsed from the
-make output. For GNU-make this is rather simple, as it always prints the
-absolute path of all directories it enters and leaves. Regardless if this is
+make output. For GNU-make this is rather simple, as it always prints the
+absolute path of all directories it enters and leaves. Regardless if this is
done via a 'cd' command in the makefile or with the parameter "-C dir" (change
-to directory before reading the makefile). It may be useful to use the switch
+to directory before reading the makefile). It may be useful to use the switch
"-w" to force GNU-make to print out the working directory before and after
processing.
Maintaining the correct directory is more complicated if you don't use
-GNU-make. AIX-make for example doesn't print any information about its working
-directory. Then you need to enhance the makefile. In the makefile of LessTif
-there is a command which echoes "Making {target} in {dir}". The special
-problem here is that it doesn't print informations on leaving the directory
-and that it doesn't print the absolute path.
+GNU-make. AIX-make for example doesn't print any information about its
+working directory. Then you need to enhance the makefile. In the makefile of
+LessTif there is a command which echoes "Making {target} in {dir}". The
+special problem here is that it doesn't print informations on leaving the
+directory and that it doesn't print the absolute path.
To solve the problem with relative paths and missing "leave directory"
messages Vim uses following algorithm:
@@ -907,10 +907,10 @@ messages Vim uses following algorithm:
Additionally it is checked for every file, if it really exists in the
identified directory. If not, it is searched in all other directories of the
-directory stack (NOT the directory subtree!). If it is still not found, it is
+directory stack (NOT the directory subtree!). If it is still not found, it is
assumed that it is in Vim's current directory.
-There are limitation in this algorithm. This examples assume that make just
+There are limitation in this algorithm. This examples assume that make just
prints information about entering a directory in the form "Making all in dir".
1) Assume you have following directories and files:
@@ -957,7 +957,7 @@ Add
to your 'errorformat' to handle the above output.
Note that Vim doesn't check if the directory name in a "leave directory"
-messages is the current directory. This is why you could just use the message
+messages is the current directory. This is why you could just use the message
"Leaving dir".
=============================================================================
@@ -1019,7 +1019,7 @@ It should be easy to adopt the above LaTeX errorformat to any compiler output
consisting of multi-line errors.
The commands can be placed in a |vimrc| file or some other Vim script file,
-eg. a script containing LaTeX related stuff which is loaded only when editing
+e.g. a script containing LaTeX related stuff which is loaded only when editing
LaTeX sources.
Make sure to copy all lines of the example (in the given order), afterwards
remove the comment lines. For the '\' notation at the start of some lines see
@@ -1033,7 +1033,7 @@ remove the comment lines. For the '\' notation at the start of some lines see
:set efm=%E!\ LaTeX\ %trror:\ %m,
\%E!\ %m,
< Start of multi-line warning messages; the first two also
- include the line number. Meaning of some regular expressions:
+ include the line number. Meaning of some regular expressions:
- "%.%#" (".*") matches a (possibly empty) string
- "%*\\d" ("\d\+") matches a number >
\%+WLaTeX\ %.%#Warning:\ %.%#line\ %l%.%#,
@@ -1072,7 +1072,7 @@ remove the comment lines. For the '\' notation at the start of some lines see
on a stack since the file apparently does not contain any
error: >
\%+O(%f)%r,
-< Push a file name onto the stack. The name is given after '(': >
+< Push a file name onto the stack. The name is given after '(': >
\%+P(%f%r,
\%+P\ %\\=(%f%r,
\%+P%*[^()](%f%r,
diff --git a/runtime/doc/quotes.txt b/runtime/doc/quotes.txt
index 3c5c3a3e6..9cc94ff76 100644
--- a/runtime/doc/quotes.txt
+++ b/runtime/doc/quotes.txt
@@ -1,4 +1,4 @@
-*quotes.txt* For Vim version 7.0aa. Last change: 2004 May 06
+*quotes.txt* For Vim version 7.0aa. Last change: 2005 Apr 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -18,7 +18,7 @@ Coming with a very GUI mindset from Windows, I always thought of people using
Vi as some kind of outer space alien in human clothes. Once I tried I really
got addicted by its power and now I found myself typing Vim keypresses in the
oddest places! That's why I would like to see Vim embedded in every
-application which deals with text editing. (José Fonseca)
+application which deals with text editing. (José Fonseca)
I was a 12-year emacs user who switched to Vim about a year ago after finally
giving up on the multiple incompatible versions, flaky contributed packages,
@@ -32,17 +32,17 @@ the Vi editor")
Out of all the open software i've ever seen and used, and i've seen a lot, Vim
is the best, most useful and highest quality to work with, second only to the
-linux kernel itself. (Peter Jay Salzman)
+linux kernel itself. (Peter Jay Salzman)
It's well worth noting that the _entirety_ of SourceForge was written using
-Vim and its nifty PHP syntax highlighting. I think the entire SF.net tech
+Vim and its nifty PHP syntax highlighting. I think the entire SF.net tech
staff uses Vim and we're all excited to have you aboard! (Tim Perdue)
Vim is one of a select bunch of tools for which I have no substitute. It is
a brilliant piece of work! (Biju Chacko)
A previous girlfriend of mine switched to emacs. Needless to say, the
-relationship went nowhere. (Geoffrey Mann)
+relationship went nowhere. (Geoffrey Mann)
I rarely think about Vim, in the same way that I guess a fish rarely thinks
about water. It's the environment in which everything else happens. I'm a
@@ -51,7 +51,7 @@ is the only thing that's consistent across all my systems, and it's just about
the only thing that doesn't break from time to time. When a new system comes
in the door without Vim, I install it right away. Great to have a tool that's
the same everywhere, that's completely reliable, so I can ignore it and think
-about other things. (Pete Schaeffer)
+about other things. (Pete Schaeffer)
Having recently succeeded in running Vim via telnet through a Nokia
Communicator, I can now report that it works nicely on a Palm Pilot too.
@@ -63,10 +63,10 @@ versions of 'emacs' in the late 1970's and was relieved by finding 'vi' in the
first UNIX I came across in 1983). In my opinion, it's about time 'VIM'
replace 'emacs' as the standard for top editors. (Bo Thide', Sweden)
-I love and use VIM heavily too. (Larry Wall)
+I love and use VIM heavily too. (Larry Wall)
Vi is like a Ferrari, if you're a beginner, it handles like a bitch, but once
-you get the hang of it, its small, powerful and FAST! (Unknown)
+you get the hang of it, it's small, powerful and FAST! (Unknown)
VIM is like a new model Ferrari, and sounds like one too - "VIIIIIIMMM!"
(Stephen Riehm, Germany)
@@ -77,12 +77,12 @@ quickly get used to and appreciate the advantages of this editor. (Garry
Glendown, conclusion of an article on VIM in iX magazine 9/1998)
I've recently acquired the O'Reilly book on VI (it also discusses VIM
-in-depth), and I'm amazed at just how powerful this application is. (Jeffrey
+in-depth), and I'm amazed at just how powerful this application is. (Jeffrey
Rankin)
This guide was written using the Windows 9.x distribution of GVIM, which is
quite possibly the greatest thing to come along since God created the naked
-girl. (Michael DiBernardo)
+girl. (Michael DiBernardo)
Boy, I thought I knew almost everything about VIM, but every time I browse the
online documentation, I hit upon a minor but cool aspect of a VIM feature that
@@ -103,7 +103,7 @@ of those "Perfect Programmer's Editor" threads and was delighted to discover
that VIM already supports it. (Brendan Macmillan, Australia)
I just discovered VIM (5.0) and I'm telling everyone I know about it!
-I tell them VIM stands for VI for the new (M)illenium. Thanks so much!
+I tell them VIM stands for VI for the new (M)illenium. Thanks so much!
(Matt F. Valentine)
I think from now on "vi" should be called "Vim Imitation", not the other way
@@ -121,12 +121,12 @@ Whenever I move to a new computing platform, the first thing I do is to port
VIM. Lately, I am simply stunned by its ease of compilation using the
configure facility. (A.M. Sabuncu, Turkey)
-The options are really excellent and very powerful. (Anish Maharaj)
+The options are really excellent and very powerful. (Anish Maharaj)
The Spring user-interface designs are in, and word from the boutiques is that
80x24 text-only mode is back with a *vengeance! Vi editor clone VIM burst onto
March desk-tops with a dazzling show of pastel syntax highlights for its 5.0
-look. Strident and customizable, VIM raises eyebrows with its interpretation
+look. Strident and customizable, VIM raises eyebrows with its interpretation
of the classic Vi single-key macro collection.
http://www.ntk.net/index.cgi?back=archive98/now0327.txt&line=179#l
@@ -134,7 +134,7 @@ I just wanted to take this opportunity to let you know that VIM 5 ROCKS!
Syntax highlighting: how did I survive without it?! Thank you for creating
mankind's best editor! (Mun Johl, USA)
-Thanks again for VIM. I use it every day on Linux. (Eric Foster-Johnson,
+Thanks again for VIM. I use it every day on Linux. (Eric Foster-Johnson,
author of the book "UNIX Programming Tools")
The BEST EDITOR EVER (Stuart Woolford)
@@ -172,17 +172,17 @@ I am really happy with such a wonderful software package. Much better than
almost any expensive, off the shelf program. (Jeff Walker)
Whenever I reread the VIM documentation I'm overcome with excitement at the
-power of the editor. (William Edward Webber, Australia)
+power of the editor. (William Edward Webber, Australia)
Hurrah for VIM!! It is "at your fingertips" like vi, and has the extensions
that vi sorely needs: highlighting for executing commands on blocks, an easily
-navigable and digestible help screen, and more. (Paul Pax)
+navigable and digestible help screen, and more. (Paul Pax)
The reason WHY I don't have this amazingly useful macro any more, is that I
now use VIM - and this is built in!! (Stephen Riehm, Germany)
-I am a user of VIM and I love it. I use it to do all my programming, C,
-C++, HTML what ever. (Tim Allwine)
+I am a user of VIM and I love it. I use it to do all my programming, C,
+C++, HTML what ever. (Tim Allwine)
I discovered VIM after years of struggling with the original vi, and I just
can't live without it any more. (Emmanuel Mogenet, USA)
@@ -194,11 +194,11 @@ better than most commercial software! (Leiming Qian)
This version of VIM will just blow people apart when they discover just how
fantastic it is! (Tony Nugent, Australia)
-I took your advice & finally got VIM & I'm really impressed. Instant convert.
+I took your advice & finally got VIM & I'm really impressed. Instant convert.
(Patrick Killelea, USA)
VIM is by far my favorite piece of shareware and I have been particularly
-pleased with version 3.0. This is really a solid piece of work. (Robert
+pleased with version 3.0. This is really a solid piece of work. (Robert
Colon, USA)
VIM is a joy to use, it is so well thought and practical that I wonder why
@@ -244,7 +244,7 @@ VIM is the greatest editor since the stone chisel. (Jose Unpingco, USA)
I would like to say that with VIM I am finally making the 'emacs to vi'
transition - as an Editor it is so much better in many ways: keyboard layout,
-memory usage, text alteration to name 3. (Mark Adam)
+memory usage, text alteration to name 3. (Mark Adam)
In fact, now if I want to know what a particular setting does in vi, I fire up
VIM and check out it's help! (Nikhil Patel, USA)
@@ -255,7 +255,7 @@ before I encountered this program. (Steinar Knutsen, Norway)
I use VIM since version 3.0. Since that time, it is the ONLY editor I use,
with Solaris, Linux and OS/2 Warp. I suggest all my friends to use VIM, they
try, and they continue using it. VIM is really the best software I have ever
-downloaded from the Internet, and the best editor I know of. (Marco
+downloaded from the Internet, and the best editor I know of. (Marco
Eccettuato, Italy)
diff --git a/runtime/doc/remote.txt b/runtime/doc/remote.txt
index e3d3224e7..a5253d908 100644
--- a/runtime/doc/remote.txt
+++ b/runtime/doc/remote.txt
@@ -1,4 +1,4 @@
-*remote.txt* For Vim version 7.0aa. Last change: 2003 Nov 10
+*remote.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -87,7 +87,7 @@ SERVER NAME
By default Vim will try to register the name under which it was invoked (gvim,
egvim ...). This can be overridden with the --servername argument. If the
specified name is not available, a postfix is applied until a free name is
-encountered, ie. "gvim1" for the second invocation of gvim on a particular
+encountered, i.e. "gvim1" for the second invocation of gvim on a particular
X-server. The resulting name is available in the servername builtin variable
|v:servername|. The case of the server name is ignored, thus "gvim" and
"GVIM" are considered equal.
@@ -121,7 +121,7 @@ wait for each of the files to have been edited. This uses the BufUnload
event, thus as soon as a file has been unloaded, Vim assumes you are done
editing it.
Note that the --remote and --remote-wait arguments will consume the rest of
-the command line. Ie. all remaining arguments will be regarded as filenames.
+the command line. I.e. all remaining arguments will be regarded as filenames.
You can not put options there!
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 57221023f..66e6d3084 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -1,4 +1,4 @@
-*repeat.txt* For Vim version 7.0aa. Last change: 2005 Feb 28
+*repeat.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -176,7 +176,7 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
matching files. Example: >
:runtime! plugin/*.vim
< This is what Vim uses to load the plugin files when
- starting up. This similar command: >
+ starting up. This similar command: >
:runtime plugin/*.vim
< would source the first file only.
diff --git a/runtime/doc/scroll.txt b/runtime/doc/scroll.txt
index 262753366..1aa1b9304 100644
--- a/runtime/doc/scroll.txt
+++ b/runtime/doc/scroll.txt
@@ -1,4 +1,4 @@
-*scroll.txt* For Vim version 7.0aa. Last change: 2005 Feb 10
+*scroll.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -265,12 +265,12 @@ You can also use Alt and Ctrl modifiers.
This only works when Vim gets the scroll wheel events, of course. You can
check if this works with the "xev" program.
-When using Xfree86, the /etc/XF86Config file should have the correct entry for
+When using XFree86, the /etc/XF86Config file should have the correct entry for
your mouse. For FreeBSD, this entry works for a Logitech scrollmouse: >
Protocol "MouseMan"
Device "/dev/psm0"
ZAxisMapping 4 5
-See the Xfree86 documentation for information.
+See the XFree86 documentation for information.
*xterm-mouse-wheel*
To use the mouse wheel in a new xterm you only have to make the scroll wheel
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index 84c9e753b..04e1cfd0b 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -1,4 +1,4 @@
-*spell.txt* For Vim version 7.0aa. Last change: 2005 Mar 22
+*spell.txt* For Vim version 7.0aa. Last change: 2005 Apr 15
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -7,7 +7,8 @@
Spell checking *spell*
1. Quick start |spell-quickstart|
-X. Spell file format |spell-file-format|
+2. Generating a spell file |spell-mkspell|
+9. Spell file format |spell-file-format|
{Vi does not have any of these commands}
@@ -21,18 +22,29 @@ This command switches on spell checking: >
:setlocal spell spelllang=en_us
-This switches the 'spell' option on and specifies to check for US English.
+This switches on the 'spell' option and specifies to check for US English.
The words that are not recognized are highlighted with one of these:
SpellBad word not recognized
SpellRare rare word
SpellLocal wrong spelling for selected region
+Vim only checks words for spelling, there is no grammar check.
+
+To search for the next misspelled word:
+
+ *]s* *E756*
+]s Move to next misspelled word after the cursor.
+
+ *[s*
+[s Move to next misspelled word before the cursor.
+ DOESN'T WORK YET!
+
PERFORMANCE
Note that Vim does on-the-fly spellchecking. To make this work fast the
-word list is loaded in memory. Thus this uses a lot of memory (2 Mbyte or
+word list is loaded in memory. Thus this uses a lot of memory (1 Mbyte or
more). There might also be a noticable delay when the word list is loaded,
which happens when 'spelllang' is set. Each word list is only loaded once,
they are not deleted when 'spelllang' is made empty. When 'encoding' is set
@@ -52,34 +64,35 @@ comes in (at least) these variants:
Words that are not used in one region but are used in another region are
highlighted with SpellLocal.
-Always use lowercase letters.
+Always use lowercase letters for the language and region names.
SPELL FILES
Vim searches for spell files in the "spell" subdirectory of the directories in
-'runtimepath'. The name is: xx.yyy.spl, where:
- xx the language name
- yyy the value of 'encoding'
+'runtimepath'. The name is: LL-XXX.EEE.spl, where:
+ LL the language name
+ -XXX optional addition
+ EEE the value of 'encoding'
Exception: Vim uses "latin1" when 'encoding' is "iso-8859-15". The euro sign
doesn't matter for spelling.
Spelling for EBCDIC is currently not supported.
-A spell file might not be available in the current 'encoding'. You may try
-using the "iconv" program to create one: >
-
- iconv -f latin1 -t koi8-r de.latin1.spl >de.koi8-r.spl
-
-However, if some characters cannot be presented in the target encoding this
-will give wrong results.
+A spell file might not be available in the current 'encoding'. See
+|spell-mkspell| about how to create a spell file. Converting a spell file
+with "iconv" will NOT work.
If a spell file only uses ASCII characters the encoding can be omitted. This
is useful for English: "en.spl" The file with encoding is checked first, thus
you could have one with encoding that includes words with non-ASCII characters
and use the ASCII file as a fall-back.
+ *E758* *E759*
+When loading a spell file Vim checks that it is properly formatted. If you
+get an error the file may be truncated, modified or for another Vim version.
+
WORDS
@@ -103,56 +116,143 @@ done:
Note that mixing @Spell and @NoSpell doesn't make sense.
==============================================================================
-X. Spell file format *spell-file-format*
- *E751*
-
-The spelling for a language is specified in file with a specific format.
-The first character of a line specifies what follows in the line:
-
- line meaning ~
- -xx[-yy]... words for region xx (and region yy, etc.) follow
- <word> normal word
- ><word> rare word
- +<word> optional addition after a word
- !<word> normal word, keep upper/lower case
- !><word> rare word, keep upper/lower case
- !+<word> optional word addition, keep upper/lower case
- #<anything> comment
-
-Empty lines are ignored. The word continues until the end of the line. Watch
-out for trailing white space!
+2. Generating a spell file *spell-mkspell*
+
+Vim uses a binary file format for spelling. This greatly speeds up loading
+the word list and keeps it small.
+
+You can create a Vim spell file from the .aff and .dic files that Myspell
+uses. Myspell is used by OpenOffice.org and Mozilla. You should be able to
+find them here:
+ http://lingucomponent.openoffice.org/spell_dic.html
+
+:mksp[ell] {outname} {inname} ... *:mksp* *:mkspell*
+ Generate spell file {outname}.spl from Myspell files
+ {inname}.aff and {inname}.dic.
+ Multiple {inname} arguments can be given to combine
+ regions into one Vim spell file. Example: >
+ :mkspell ~/.vim/spell/en /tmp/en_US /tmp/en_CA /tmp/en_AU
+< This combines the English word lists for US, CA and AU
+ into one en.spl file.
+ Up to eight regions can be combined. *E754* *755*
+
+Since you might want to change the word list for use with Vim the following
+procedure is recommended:
+
+1. Obtain the xx_YY.aff and xx_YY.dic files from Myspell.
+2. Make a copy of these files to xx_YY.orig.aff and xx_YY.orig.dic.
+3. Change the xx_YY.aff and xx_YY.dic files to remove bad words, add missing
+ words, etc.
+4. Use |:mkspell| to generate the Vim spell file and try it out.
+
+When the Myspell files are updated you can merge the differences:
+5. Obtain the new Myspell files as xx_YY.new.aff and xx_UU.new.dic.
+6. Use Vimdiff to see what changed: >
+ vimdiff xx_YY.orig.dic xx_YY.new.dic
+7. Take over the changes you like in xx_YY.dic.
+ You may also need to change xx_YY.aff.
+8. Rename xx_YY.new.dic to xx_YY.orig.dic and xx_YY.new.aff to xx_YY.new.aff.
-Words that start with an upper-case letter will be required to start with an
-upper-case letter. Otherwise, words must be in lower-case and case is
-ignored.
-
-It is possible that a word appears both with an upper-case letter and as a
-rare word. This means that the word with an upper-case letter is OK and the
-word without the upper-case letter is rare.
- *E753*
-The region is specified with "-xx". For example, in the "en.spl" file "-us"
-starts the word for "en_us". This can be repeated for words that are used in
-more than one region. For example "-ca-us" is used for Canadian and US
-English words. Use "---" to go back to the words for all regions.
-
-Vim supports up to eight regions. *E752*
-
-It is possible to have a match that starts with a valid word. In that case
-the match is used, because it is longer. Example:
-
- we
- =we're
-
-"re" is not a word, thus "=we're" is needed to avoid it gets highlighted.
-
-The "+" items may appear after any word. For English "'s" is used. Be
-careful with this, it may hide mistakes.
-
-Vim will check for duplicate words in the files used, but you will only get
-warnings if the 'verbose' option is set to 1 or more.
-
-Note that the "=" and "+" words will slow down the operation. Use them only
-when really needed.
+==============================================================================
+9. Spell file format *spell-file-format*
+
+This is the format of the files that are used by the person who creates and
+maintains a word list.
+
+Note that we avoid the word "dictionary" here. That is because the goal of
+spell checking differs from writing a dictionary (as in the book). For
+spelling we need a list of words that are OK, thus need not to be highlighted.
+Names will not appear in a dictionary, but do appear in a word list. And
+some old words are rarely used and are common misspellings. These do appear
+in a dictionary but not in a word list.
+
+There are two files: the basic word list and an affix file. The affixes are
+used to modify the basic words to get the full word list. This significantly
+reduces the number of words, especially for a language like Polish. This is
+called affix compression.
+
+The format for the affix and word list files is mostly identical to what
+Myspell uses (the spell checker of Mozilla and OpenOffice.org). A description
+can be found here:
+ http://lingucomponent.openoffice.org/affix.readme ~
+Note that affixes are case sensitive, this isn't obvious from the description.
+Vim supports a few extras. Hopefully Myspell will support these too some day.
+See |spell-affix-vim|.
+
+The basic word list and the affix file are combined and turned into a binary
+spell file. All the preprocessing has been done, thus this file loads fast.
+The binary spell file format is described in the source code (src/spell.c).
+But only developers need to know about it.
+
+The preprocessing also allows us to take the Myspell language files and modify
+them before the Vim word list is made. The tools for this can be found in the
+"src/spell" directory.
+
+
+WORD LIST FORMAT *spell-wordlist-format*
+
+A very short example, with line numbers:
+
+ 1 1234
+ 2 aan
+ 3 Als
+ 4 Etten-Leur
+ 5 et al.
+ 6 's-Gravenhage
+ 7 's-Gravenhaags
+ 8 bedel/P
+ 9 kado/1
+ 10 cadeau/2
+
+The first line contains the number of words. Vim ignores it. *E760*
+
+What follows is one word per line. There should be no white space after the
+word.
+
+When the word only has lower-case letters it will also match with the word
+starting with an upper-case letter.
+
+When the word includes an upper-case letter, this means the upper-case letter
+is required at this position. The same word with a lower-case letter at this
+position will not match. When some of the other letters are upper-case it will
+not match either.
+
+The same word with all upper-case characters will always be OK.
+
+ word list matches does not match ~
+ als als Als ALS ALs AlS aLs aLS
+ Als Als ALS als ALs AlS aLs aLS
+ ALS ALS als Als ALs AlS aLs aLS
+ AlS AlS ALS als Als ALs aLs aLS
+
+Note in line 5 to 7 that non-word characters are used. You can include
+any character in a word. When checking the text a word still only matches
+when it appears with a non-word character before and after it. For Myspell a
+word starting with a non-word character probably won't work.
+
+After the word there is an optional slash and flags. Most of these flags are
+letters that indicate the affixes that can be used with this word.
+
+ *spell-affix-vim*
+A flag that Vim adds and is not in Myspell is the "=" flag. This has the
+meaning that case matters. This can be used if the word does not have the
+first letter in upper case at the start of a sentence. Example:
+
+ word list matches does not match ~
+ 's morgens/= 's morgens 'S morgens 's Morgens
+ 's Morgens 's Morgens 'S morgens 's morgens
+
+ *spell-affix-mbyte*
+The basic word list is normally in an 8-bit encoding, which is mentioned in
+the affix file. The affix file must always be in the same encoding as the
+word list. This is compatible with Myspell. For Vim the encoding may also be
+something else, any encoding that "iconv" supports. The "SET" line must
+specify the name of the encoding. When using a multi-byte encoding it's
+possible to use more different affixes.
+
+Performance hint: Although using affixes reduces the number of words, it
+reduces the speed. It's a good idea to put all the often used words in the
+word list with the affixes prepended/appended.
vim:tw=78:sw=4:ts=8:ft=help:norl:
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index 337c2ca92..39ee71051 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1,4 +1,4 @@
-*starting.txt* For Vim version 7.0aa. Last change: 2005 Feb 19
+*starting.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -281,7 +281,7 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
<
*-b*
-b Binary mode. File I/O will only recognize <NL> to separate
- lines. The 'expandtab' option will be reset. The 'textwidth'
+ lines. The 'expandtab' option will be reset. The 'textwidth'
option is set to 0. 'modeline' is reset. The 'binary' option
is set. This is done after reading the vimrc/exrc files but
before reading any file in the arglist. See also
@@ -294,17 +294,17 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
-A Arabic mode. Sets the 'arabic' option on. (Only when
compiled with the |+arabic| features (which include
|+rightleft|), otherwise Vim gives an error message
- and exits. {not in Vi}
+ and exits.) {not in Vi}
*-F*
-F Farsi mode. Sets the 'fkmap' and 'rightleft' options on.
(Only when compiled with |+rightleft| and |+farsi| features,
- otherwise Vim gives an error message and exits). {not in Vi}
+ otherwise Vim gives an error message and exits.) {not in Vi}
*-H*
-H Hebrew mode. Sets the 'hkmap' and 'rightleft' options on.
(Only when compiled with the |+rightleft| feature, otherwise
- Vim gives an error message and exits). {not in Vi}
+ Vim gives an error message and exits.) {not in Vi}
*-V* *verbose*
-V[N] Verbose. Sets the 'verbose' option to [N] (default: 10).
@@ -373,7 +373,7 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
-T {terminal} Set the terminal type to "terminal". This influences the
codes that Vim will send to your terminal. This is normally
not needed, because Vim will be able to find out what type
- of terminal you are using (See |terminal-info|). {not in Vi}
+ of terminal you are using. (See |terminal-info|.) {not in Vi}
*-d*
-d Start in diff mode, like |vimdiff|.
@@ -428,7 +428,7 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
*-U* *E230*
-U {gvimrc} The file "gvimrc" is read for initializations when the GUI
- starts. Other GUI initializations are skipped. When {gvimrc}
+ starts. Other GUI initializations are skipped. When {gvimrc}
is equal to "NONE", no file is read for GUI initializations at
all. |gui-init|
Exception: Reading the system-wide menu file is always done.
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 6503e2b5f..d1de9dbf5 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt* For Vim version 7.0aa. Last change: 2005 Mar 19
+*syntax.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -520,9 +520,9 @@ the performance unacceptable, turn on ada_withuse_ordinary.
ANT *ant.vim* *ant-syntax*
The ant syntax file provides syntax highlighting for javascript and python
-by default. Syntax highlighting for other script languages can be installed
+by default. Syntax highlighting for other script languages can be installed
by the function AntSyntaxScript(), which takes the tag name as first argument
-and the script syntax file name as second argument. Example: >
+and the script syntax file name as second argument. Example: >
:call AntSyntaxScript('perl', 'perl.vim')
@@ -737,7 +737,7 @@ To disable it again, use this: >
COLD FUSION *coldfusion.vim* *coldfusion-syntax*
-The ColdFusion has its own version of HTML comments. To turn on ColdFusion
+The ColdFusion has its own version of HTML comments. To turn on ColdFusion
comment highlighting, add the following line to your startup file: >
:let html_wrong_comments = 1
@@ -763,7 +763,7 @@ For using tcsh: >
Any script with a tcsh extension or a standard tcsh filename (.tcshrc,
tcsh.tcshrc, tcsh.login) will have filetype tcsh. All other tcsh/csh scripts
-will be classified as tcsh, UNLESS the "filetype_csh" variable exists. If the
+will be classified as tcsh, UNLESS the "filetype_csh" variable exists. If the
"filetype_csh" variable exists, the filetype will be set to the value of the
variable.
@@ -771,9 +771,9 @@ variable.
CYNLIB *cynlib.vim* *cynlib-syntax*
Cynlib files are C++ files that use the Cynlib class library to enable
-hardware modelling and simulation using C++. Typically Cynlib files have a .cc
+hardware modelling and simulation using C++. Typically Cynlib files have a .cc
or a .cpp extension, which makes it very difficult to distinguish them from a
-normal C++ file. Thus, to enable Cynlib highlighting for .cc files, add this
+normal C++ file. Thus, to enable Cynlib highlighting for .cc files, add this
line to your .vimrc file: >
:let cynlib_cyntax_for_cc=1
@@ -801,7 +801,7 @@ DESKTOP *desktop.vim* *desktop-syntax*
Primary goal of this syntax file is to highlight .desktop and .directory files
according to freedesktop.org standard: http://pdx.freedesktop.org/Standards/
But actually almost none implements this standard fully. Thus it will
-highlight all Unix ini files. But you can force strict highlighting according
+highlight all Unix ini files. But you can force strict highlighting according
to standard by placing this in your vimrc file: >
:let enforce_freedesktop_standard = 1
@@ -850,8 +850,8 @@ If this variable is not defined it defaults to a value of 2 to support
Windows 2000.
A second option covers whether *.btm files should be detected as type
-"dosbatch" (MS-DOS batch files) or type "btm" (4DOS batch files). The latter
-is used by default. You may select the former with the following line: >
+"dosbatch" (MS-DOS batch files) or type "btm" (4DOS batch files). The latter
+is used by default. You may select the former with the following line: >
:let g:dosbatch_syntax_for_btm = 1
@@ -861,12 +861,12 @@ If this variable is undefined or zero, btm syntax is selected.
DTD *dtd.vim* *dtd-syntax*
-The DTD syntax highlighting is case sensitive by default. To disable
+The DTD syntax highlighting is case sensitive by default. To disable
case-sensitive highlighting, add the following line to your startup file: >
:let dtd_ignore_case=1
-The DTD syntax file will highlight unknown tags as errors. If
+The DTD syntax file will highlight unknown tags as errors. If
this is annoying, it can be turned off by setting: >
:let dtd_no_tag_errors=1
@@ -876,7 +876,7 @@ Parameter entity names are highlighted in the definition using the
'Type' highlighting group and 'Comment' for punctuation and '%'.
Parameter entity instances are highlighted using the 'Constant'
highlighting group and the 'Type' highlighting group for the
-delimiters % and ;. This can be turned off by setting: >
+delimiters % and ;. This can be turned off by setting: >
:let dtd_no_param_entities=1
@@ -886,8 +886,8 @@ The DTD syntax file is also included by xml.vim to highlight included dtd's.
EIFFEL *eiffel.vim* *eiffel-syntax*
While Eiffel is not case-sensitive, its style guidelines are, and the
-syntax highlighting file encourages their use. This also allows to
-highlight class names differently. If you want to disable case-sensitive
+syntax highlighting file encourages their use. This also allows to
+highlight class names differently. If you want to disable case-sensitive
highlighting, add the following line to your startup file: >
:let eiffel_ignore_case=1
@@ -919,7 +919,7 @@ experimentally handled by some compilers can be enabled by: >
:let eiffel_ise=1
-Finally, some vendors support hexadecimal constants. To handle them, add >
+Finally, some vendors support hexadecimal constants. To handle them, add >
:let eiffel_hex_constants=1
@@ -965,38 +965,38 @@ Note that the form.vim syntax file implements FORM preprocessor commands and
directives per default in the same syntax group.
A predefined enhanced color mode for FORM is available to distinguish between
-header statements and statements in the body of a FORM program. To activate
+header statements and statements in the body of a FORM program. To activate
this mode define the following variable in your vimrc file >
:let form_enhanced_color=1
The enhanced mode also takes advantage of additional color features for a dark
-gvim display. Here, statements are colored LightYellow instead of Yellow, and
+gvim display. Here, statements are colored LightYellow instead of Yellow, and
conditionals are LightBlue for better distinction.
FORTRAN *fortran.vim* *fortran-syntax*
Default highlighting and dialect ~
-Highlighting appropriate for f95 (Fortran 95) is used by default. This choice
+Highlighting appropriate for f95 (Fortran 95) is used by default. This choice
should be appropriate for most users most of the time because Fortran 95 is a
superset of Fortran 90 and almost a superset of Fortran 77.
Fortran source code form ~
-Fortran 9x code can be in either fixed or free source form. Note that the
+Fortran 9x code can be in either fixed or free source form. Note that the
syntax highlighting will not be correct if the form is incorrectly set.
When you create a new fortran file, the syntax script assumes fixed source
-form. If you always use free source form, then >
+form. If you always use free source form, then >
:let fortran_free_source=1
-in your .vimrc prior to the :syntax on command. If you always use fixed source
+in your .vimrc prior to the :syntax on command. If you always use fixed source
form, then >
:let fortran_fixed_source=1
in your .vimrc prior to the :syntax on command.
If the form of the source code depends upon the file extension, then it is
-most convenient to set fortran_free_source in a ftplugin file. For more
-information on ftplugin files, see |ftplugin|. For example, if all your
+most convenient to set fortran_free_source in a ftplugin file. For more
+information on ftplugin files, see |ftplugin|. For example, if all your
fortran files with an .f90 extension are written in free source form and the
rest in fixed source form, add the following code to your ftplugin file >
let s:extfname = expand("%:e")
@@ -1012,25 +1012,25 @@ precedes the "syntax on" command in your .vimrc file.
When you edit an existing fortran file, the syntax script will assume free
source form if the fortran_free_source variable has been set, and assumes
-fixed source form if the fortran_fixed_source variable has been set. If
+fixed source form if the fortran_fixed_source variable has been set. If
neither of these variables have been set, the syntax script attempts to
determine which source form has been used by examining the first five columns
-of the first 25 lines of your file. If no signs of free source form are
-detected, then the file is assumed to be in fixed source form. The algorithm
-should work in the vast majority of cases. In some cases, such as a file that
+of the first 25 lines of your file. If no signs of free source form are
+detected, then the file is assumed to be in fixed source form. The algorithm
+should work in the vast majority of cases. In some cases, such as a file that
begins with 25 or more full-line comments, the script may incorrectly decide
-that the fortran code is in fixed form. If that happens, just add a
+that the fortran code is in fixed form. If that happens, just add a
non-comment statement beginning anywhere in the first five columns of the
first twenty five lines, save (:w) and then reload (:e!) the file.
Tabs in fortran files ~
-Tabs are not recognized by the Fortran standards. Tabs are not a good idea in
+Tabs are not recognized by the Fortran standards. Tabs are not a good idea in
fixed format fortran source code which requires fixed column boundaries.
-Therefore, tabs are marked as errors. Nevertheless, some programmers like
-using tabs. If your fortran files contain tabs, then you should set the
+Therefore, tabs are marked as errors. Nevertheless, some programmers like
+using tabs. If your fortran files contain tabs, then you should set the
variable fortran_have_tabs in your .vimrc with a command such as >
:let fortran_have_tabs=1
-placed prior to the :syntax on command. Unfortunately, the use of tabs will
+placed prior to the :syntax on command. Unfortunately, the use of tabs will
mean that the syntax file will not be able to detect incorrect margins.
Syntax folding of fortran files ~
@@ -1039,26 +1039,26 @@ fortran_fold with a command such as >
:let fortran_fold=1
to instruct the syntax script to define fold regions for program units, that
is main programs starting with a program statement, subroutines, function
-subprograms, block data subprograms, interface blocks, and modules. If you
+subprograms, block data subprograms, interface blocks, and modules. If you
also set the variable fortran_fold_conditionals with a command such as >
:let fortran_fold_conditionals=1
then fold regions will also be defined for do loops, if blocks, and select
-case constructs. If you also set the variable
+case constructs. If you also set the variable
fortran_fold_multilinecomments with a command such as >
:let fortran_fold_multilinecomments=1
then fold regions will also be defined for three or more consecutive comment
-lines. Note that defining fold regions can be slow for large files.
+lines. Note that defining fold regions can be slow for large files.
If fortran_fold, and possibly fortran_fold_conditionals and/or
fortran_fold_multilinecomments, have been set, then vim will fold your file if
-you set foldmethod=syntax. Comments or blank lines placed between two program
+you set foldmethod=syntax. Comments or blank lines placed between two program
units are not folded because they are seen as not belonging to any program
unit.
More precise fortran syntax ~
If you set the variable fortran_more_precise with a command such as >
:let fortran_more_precise=1
-then the syntax coloring will be more precise but slower. In particular,
+then the syntax coloring will be more precise but slower. In particular,
statement labels used in do, goto and arithmetic if statements will be
recognized, as will construct names at the end of a do, if, select or forall
construct.
@@ -1070,7 +1070,7 @@ subset elf90, and the Imagine1 subset F.
If you use f77 with extensions, even common ones like do/enddo loops, do/while
loops and free source form that are supported by most f77 compilers including
g77 (GNU Fortran), then you will probably find the default highlighting
-satisfactory. However, if you use strict f77 with no extensions, not even free
+satisfactory. However, if you use strict f77 with no extensions, not even free
source form or the MIL STD 1753 extensions, then the advantages of setting the
dialect to f77 are that names such as SUM are recognized as user variable
names and not highlighted as f9x intrinsic functions, that obsolete constructs
@@ -1082,14 +1082,14 @@ that f90 features excluded from these dialects will be highlighted as todo
items and that free source form will be assumed as required for these
dialects.
-The dialect can be selected by setting the variable fortran_dialect. The
+The dialect can be selected by setting the variable fortran_dialect. The
permissible values of fortran_dialect are case-sensitive and must be "f95",
-"f90", "f77", "elf" or "F". Invalid values of fortran_dialect are ignored.
+"f90", "f77", "elf" or "F". Invalid values of fortran_dialect are ignored.
If all your fortran files use the same dialect, set fortran_dialect in your
-.vimrc prior to your syntax on statement. If the dialect depends upon the file
-extension, then it is most convenient to set it in a ftplugin file. For more
-information on ftplugin files, see |ftplugin|. For example, if all your
+.vimrc prior to your syntax on statement. If the dialect depends upon the file
+extension, then it is most convenient to set it in a ftplugin file. For more
+information on ftplugin files, see |ftplugin|. For example, if all your
fortran files with an .f90 extension are written in the elf subset, your
ftplugin file should contain the code >
let s:extfname = expand("%:e")
@@ -1102,9 +1102,9 @@ Note that this will work only if the "filetype plugin indent on" command
precedes the "syntax on" command in your .vimrc file.
Finer control is necessary if the file extension does not uniquely identify
-the dialect. You can override the default dialect, on a file-by-file basis, by
+the dialect. You can override the default dialect, on a file-by-file basis, by
including a comment with the directive "fortran_dialect=xx" (where xx=f77 or
-elf or F or f90 or f95) in one of the first three lines in your file. For
+elf or F or f90 or f95) in one of the first three lines in your file. For
example, your older .f files may be written in extended f77 but your newer
ones may be F codes, and you would identify the latter by including in the
first three lines of those files a Fortran comment of the form >
@@ -1112,8 +1112,8 @@ first three lines of those files a Fortran comment of the form >
F overrides elf if both directives are present.
Limitations ~
-Parenthesis checking does not catch too few closing parentheses. Hollerith
-strings are not recognized. Some keywords may be highlighted incorrectly
+Parenthesis checking does not catch too few closing parentheses. Hollerith
+strings are not recognized. Some keywords may be highlighted incorrectly
because Fortran90 has no reserved words.
For further information related to fortran, see |fortran-indent| and
@@ -1170,7 +1170,7 @@ group to make them easier to see.
GROFF *groff.vim* *groff-syntax*
The groff syntax file is a wrapper for |nroff.vim|, see the notes
-under that heading for examples of use and configuration. The purpose
+under that heading for examples of use and configuration. The purpose
of this wrapper is to set up groff syntax extensions by setting the
filetype from a |modeline| or in a personal filetype definitions file
(see |filetype.txt|).
@@ -1179,7 +1179,7 @@ filetype from a |modeline| or in a personal filetype definitions file
HASKELL *haskell.vim* *lhaskell.vim* *haskell-syntax*
The Haskell syntax files support plain Haskell code as well as literate
-Haskell code, the latter in both Bird style and TeX style. The Haskell
+Haskell code, the latter in both Bird style and TeX style. The Haskell
syntax highlighting will also highlight C preprocessor directives.
If you want to highlight delimiter characters (useful if you have a
@@ -1198,15 +1198,15 @@ your .vimrc: >
The Haskell syntax highlighting also highlights C preprocessor
directives, and flags lines that start with # but are not valid
-directives as erroneous. This interferes with Haskell's syntax for
-operators, as they may start with #. If you want to highlight those
+directives as erroneous. This interferes with Haskell's syntax for
+operators, as they may start with #. If you want to highlight those
as operators as opposed to errors, put in your .vimrc: >
:let hs_allow_hash_operator = 1
The syntax highlighting for literate Haskell code will try to
automatically guess whether your literate Haskell code contains
TeX markup or not, and correspondingly highlight TeX constructs
-or nothing at all. You can override this globally by putting
+or nothing at all. You can override this globally by putting
in your .vimrc >
:let lhs_markup = none
for no highlighting at all, or >
@@ -1215,7 +1215,7 @@ to force the highlighting to always try to highlight TeX markup.
For more flexibility, you may also use buffer local versions of
this variable, so e.g. >
:let b:lhs_markup = tex
-will force TeX highlighting for a particular buffer. It has to be
+will force TeX highlighting for a particular buffer. It has to be
set before turning syntax highlighting on for the buffer or
loading a file.
@@ -1233,14 +1233,14 @@ Known tag names are colored the same way as statements in C. Unknown tag
names are colored with the same color as the <> or </> respectively which
makes it easy to spot errors
-Note that the same is true for argument (or attribute) names. Known attribute
+Note that the same is true for argument (or attribute) names. Known attribute
names are colored differently than unknown ones.
-Some HTML tags are used to change the rendering of text. The following tags
+Some HTML tags are used to change the rendering of text. The following tags
are recognized by the html.vim syntax coloring file and change the way normal
text is shown: <B> <I> <U> <EM> <STRONG> (<EM> is used as an alias for <I>,
while <STRONG> as an alias for <B>), <H1> - <H6>, <HEAD>, <TITLE> and <A>, but
-only if used as a link that is, it must include a href as in
+only if used as a link (that is, it must include a href as in
<A href="somfile.html">).
If you want to change how such text is rendered, you must redefine the
@@ -1276,13 +1276,13 @@ ends with --!>) you can define >
JavaScript and Visual Basic embedded inside HTML documents are highlighted as
'Special' with statements, comments, strings and so on colored as in standard
-programming languages. Note that only JavaScript and Visual Basic are currently
+programming languages. Note that only JavaScript and Visual Basic are currently
supported, no other scripting language has been added yet.
Embedded and inlined cascading style sheets (CSS) are highlighted too.
-There are several html preprocessor languages out there. html.vim has been
-written such that it should be trivial to include it. To do so add the
+There are several html preprocessor languages out there. html.vim has been
+written such that it should be trivial to include it. To do so add the
following two lines to the syntax coloring file for that language
(the example comes from the asp.vim file):
@@ -1358,7 +1358,7 @@ The java.vim syntax highlighting file offers several options:
In Java 1.0.2 it was never possible to have braces inside parens, so this was
flagged as an error. Since Java 1.1 this is possible (with anonymous
-classes), and therefore is no longer marked as an error. If you prefer the old
+classes), and therefore is no longer marked as an error. If you prefer the old
way, put the following line into your vim startup file: >
:let java_mark_braces_in_parens_as_errors=1
@@ -1366,7 +1366,7 @@ All identifiers in java.lang.* are always visible in all classes. To
highlight them use: >
:let java_highlight_java_lang_ids=1
-You can also highlight identifiers of most standard java packages if you
+You can also highlight identifiers of most standard Java packages if you
download the javaid.vim script at http://www.fleiner.com/vim/download.html.
If you prefer to only highlight identifiers of a certain package, say java.io
use the following: >
@@ -1374,7 +1374,7 @@ use the following: >
Check the javaid.vim file for a list of all the packages that are supported.
Function names are not highlighted, as the way to find functions depends on
-how you write java code. The syntax file knows two possible ways to highlight
+how you write Java code. The syntax file knows two possible ways to highlight
functions:
If you write function declarations that are always indented by either
@@ -1388,44 +1388,44 @@ declarations to be highlighted create your own definitions by changing the
definitions in java.vim or by creating your own java.vim which includes the
original one and then adds the code to highlight functions.
-In java 1.1 the functions System.out.println() and System.err.println() should
+In Java 1.1 the functions System.out.println() and System.err.println() should
only be used for debugging. Therefore it is possible to highlight debugging
-statements differently. To do this you must add the following definition in
+statements differently. To do this you must add the following definition in
your startup file: >
:let java_highlight_debug=1
The result will be that those statements are highlighted as 'Special'
-characters. If you prefer to have them highlighted differently you must define
+characters. If you prefer to have them highlighted differently you must define
new highlightings for the following groups.:
Debug, DebugSpecial, DebugString, DebugBoolean, DebugType
which are used for the statement itself, special characters used in debug
-strings, strings, boolean constants and types (this, super) respectively. I
+strings, strings, boolean constants and types (this, super) respectively. I
have opted to chose another background for those statements.
In order to help you to write code that can be easily ported between
-java and C++, all C++ keywords are marked as error in a java program.
+Java and C++, all C++ keywords are marked as error in a Java program.
However, if you use them regularly, you may want to define the following
variable in your .vimrc file: >
:let java_allow_cpp_keywords=1
-Javadoc is a program that takes special comments out of java program files and
-creates HTML pages. The standard configuration will highlight this HTML code
-similarly to HTML files (see |html.vim|). You can even add javascript
-and CSS inside this code (see below). There are four differences however:
+Javadoc is a program that takes special comments out of Java program files and
+creates HTML pages. The standard configuration will highlight this HTML code
+similarly to HTML files (see |html.vim|). You can even add Javascript
+and CSS inside this code (see below). There are four differences however:
1. The title (all characters up to the first '.' which is followed by
some white space or up to the first '@') is colored differently (to change
the color change the group CommentTitle).
2. The text is colored as 'Comment'.
3. HTML comments are colored as 'Special'
- 4. The special javadoc tags (@see, @param, ...) are highlighted as specials
+ 4. The special Javadoc tags (@see, @param, ...) are highlighted as specials
and the argument (for @see, @param, @exception) as Function.
To turn this feature off add the following line to your startup file: >
:let java_ignore_javadoc=1
-If you use the special javadoc comment highlighting described above you
-can also turn on special highlighting for javascript, visual basic
-scripts and embedded CSS (stylesheets). This makes only sense if you
-actually have javadoc comments that include either javascript or embedded
-CSS. The options to use are >
+If you use the special Javadoc comment highlighting described above you
+can also turn on special highlighting for Javascript, visual basic
+scripts and embedded CSS (stylesheets). This makes only sense if you
+actually have Javadoc comments that include either Javascript or embedded
+CSS. The options to use are >
:let java_javascript=1
:let java_css=1
:let java_vb=1
@@ -1478,7 +1478,7 @@ set "lite_minlines" to the value you desire. Example: >
LPC *lpc.vim* *lpc-syntax*
-LPC stands for a simple, memory-efficient language: Lars Pensj| C. The
+LPC stands for a simple, memory-efficient language: Lars Pensj| C. The
file name of LPC is usually *.c. Recognizing these files as LPC would bother
users writing only C programs. If you want to use LPC syntax in Vim, you
should set a variable in your .vimrc file: >
@@ -1497,7 +1497,7 @@ For a C file that is recognized as LPC:
If you don't want to set the variable, use the modeline in EVERY LPC file.
There are several implementations for LPC, we intend to support most widely
-used ones. Here the default LPC syntax is for MudOS series, for MudOS v22
+used ones. Here the default LPC syntax is for MudOS series, for MudOS v22
and before, you should turn off the sensible modifiers, and this will also
asserts the new efuns after v22 to be invalid, don't set this variable when
you are using the latest version of MudOS: >
@@ -1519,7 +1519,7 @@ instead, and the name of your source file should be *.pike
LUA *lua.vim* *lua-syntax*
-This syntax file may be used for Lua 4.0 and Lua 5.0 (default). If you are
+This syntax file may be used for Lua 4.0 and Lua 5.0 (default). If you are
programming in Lua 4.0, use this: >
:let lua_version = 4
@@ -1530,16 +1530,16 @@ If lua_version variable doesn't exist, it is set to 5.
MAIL *mail.vim*
Vim highlights all the standard elements of an email (headers, signatures,
-quoted text and URLs / email addresses). In keeping with standard conventions,
+quoted text and URLs / email addresses). In keeping with standard conventions,
signatures begin in a line containing only "--" followed optionally by
whitespaces and end with a newline.
Vim treats lines beginning with ']', '}', '|', '>' or a word followed by '>'
-as quoted text. However Vim highlights headers and signatures in quoted text
+as quoted text. However Vim highlights headers and signatures in quoted text
only if the text is quoted with '>' (optionally followed by one space).
By default mail.vim synchronises syntax to 100 lines before the first
-displayed line. If you have a slow machine, and generally deal with emails
+displayed line. If you have a slow machine, and generally deal with emails
with short headers, you can change this to a smaller value: >
:let mail_minlines = 30
@@ -1604,7 +1604,7 @@ To highlight builtin properties (.name, .location, .programmer etc.): >
:let moo_builtin_properties = 1
-Unknown builtin functions can be recognized and highlighted as errors. If you
+Unknown builtin functions can be recognized and highlighted as errors. If you
use this option, add your own extensions to the mooKnownBuiltinFunction group.
To enable this option: >
@@ -1648,7 +1648,7 @@ activate the GNU groff extra features included in the syntax file before you
can use them.
For example, Linux and BSD distributions use groff as their default text
-processing package. In order to activate the extra syntax highlighting
+processing package. In order to activate the extra syntax highlighting
features for groff, add the following option to your start-up files: >
:let b:nroff_is_groff = 1
@@ -1656,7 +1656,7 @@ features for groff, add the following option to your start-up files: >
Groff is different from the old AT&T n/troff that you may still find in
Solaris. Groff macro and request names can be longer than 2 characters and
there are extensions to the language primitives. For example, in AT&T troff
-you access the year as a 2-digit number with the request \(yr. In groff you
+you access the year as a 2-digit number with the request \(yr. In groff you
can use the same request, recognized for compatibility, or you can use groff's
native syntax, \[yr]. Furthermore, you can use a 4-digit year directly:
\[year]. Macro requests can be longer than 2 characters, for example, GNU mm
@@ -1684,7 +1684,7 @@ vertical space input will be output as is.
Therefore, you should be careful about not using more space between sentences
than you intend to have in your final document. For this reason, the common
practice is to insert a carriage return immediately after all punctuation
-marks. If you want to have "even" text in your final processed output, you
+marks. If you want to have "even" text in your final processed output, you
need to maintaining regular spacing in the input text. To mark both trailing
spaces and two or more spaces after a punctuation as an error, use: >
@@ -1693,7 +1693,7 @@ spaces and two or more spaces after a punctuation as an error, use: >
Another technique to detect extra spacing and other errors that will interfere
with the correct typesetting of your file, is to define an eye-catching
highlighting definition for the syntax groups "nroffDefinition" and
-"nroffDefSpecial" in your configuration files. For example: >
+"nroffDefSpecial" in your configuration files. For example: >
hi def nroffDefinition term=italic cterm=italic gui=reverse
hi def nroffDefSpecial term=italic,bold cterm=italic,bold
@@ -1732,15 +1732,15 @@ PAPP *papp.vim* *papp-syntax*
The PApp syntax file handles .papp files and, to a lesser extend, .pxml
and .pxsl files which are all a mixture of perl/xml/html/other using xml
-as the top-level file format. By default everything inside phtml or pxml
-sections is treated as a string with embedded preprocessor commands. If
+as the top-level file format. By default everything inside phtml or pxml
+sections is treated as a string with embedded preprocessor commands. If
you set the variable: >
:let papp_include_html=1
in your startup file it will try to syntax-hilight html code inside phtml
sections, but this is relatively slow and much too colourful to be able to
-edit sensibly ;)
+edit sensibly. ;)
The newest version of the papp.vim syntax file can usually be found at
http://papp.plan9.de.
@@ -1756,7 +1756,7 @@ startup vimrc: >
The Pascal syntax file has been extended to take into account some extensions
provided by Turbo Pascal, Free Pascal Compiler and GNU Pascal Compiler.
-Delphi keywords are also supported. By default, Turbo Pascal 7.0 features are
+Delphi keywords are also supported. By default, Turbo Pascal 7.0 features are
enabled. If you prefer to stick with the standard Pascal keywords, add the
following line to your startup file: >
@@ -1825,8 +1825,8 @@ If you do not want complex things like '@{${"foo"}}' to be parsed: >
(In Vim 6.x it was the other way around: "perl_extended_vars" enabled it.)
-The coloring strings can be changed. By default strings and qq friends will be
-highlighted like the first line. If you set the variable
+The coloring strings can be changed. By default strings and qq friends will be
+highlighted like the first line. If you set the variable
perl_string_as_statement, it will be highlighted as in the second line.
"hello world!"; qq|hello world|;
@@ -1835,10 +1835,10 @@ perl_string_as_statement, it will be highlighted as in the second line.
(^ = perlString, S = perlStatement, N = None at all)
-The syncing has 3 options. The first two switch off some triggering of
+The syncing has 3 options. The first two switch off some triggering of
synchronization and should only be needed in case it fails to work properly.
If while scrolling all of a sudden the whole screen changes color completely
-then you should try and switch off one of those. Let me know if you can figure
+then you should try and switch off one of those. Let me know if you can figure
out the line that causes the mistake.
One triggers on "^\s*sub\s*" and the other on "^[$@%]" more or less. >
@@ -1920,10 +1920,10 @@ PPWizard is a preprocessor for HTML and OS/2 INF files
This syntax file has the options:
- ppwiz_highlight_defs : determines highlighting mode for PPWizard's
- definitions. Possible values are
+ definitions. Possible values are
ppwiz_highlight_defs = 1 : PPWizard #define statements retain the
- colors of their contents (e. g. PPWizard macros and variables)
+ colors of their contents (e.g. PPWizard macros and variables)
ppwiz_highlight_defs = 2 : preprocessor #define and #evaluate
statements are shown in a single color with the exception of line
@@ -2066,10 +2066,10 @@ preceding three options): >
QUAKE *quake.vim* *quake-syntax*
The Quake syntax definition should work for most any FPS (First Person
-Shooter) based on one of the Quake engines. However, the command names vary
+Shooter) based on one of the Quake engines. However, the command names vary
a bit between the three games (Quake, Quake 2, and Quake 3 Arena) so the
syntax definition checks for the existence of three global variables to allow
-users to specify what commands are legal in their files. The three variables
+users to specify what commands are legal in their files. The three variables
can be set for the following effects:
set to highlight commands only available in Quake: >
@@ -2088,7 +2088,7 @@ commands than are actually available to you by the game.
READLINE *readline.vim* *readline-syntax*
The readline library is primarily used by the BASH shell, which adds quite a
-few commands and options to the ones already available. To highlight these
+few commands and options to the ones already available. To highlight these
items as well you can add the following to your |vimrc| or just type it in the
command line before loading a file with the readline syntax: >
let readline_has_bash = 1
@@ -2113,7 +2113,7 @@ RUBY *ruby.vim* *ruby-syntax*
There are a few options to the Ruby syntax highlighting.
By default, the "end" keyword is colorized according to the opening statement
-of the block it closes. While useful, this feature can be expensive: if you
+of the block it closes. While useful, this feature can be expensive: if you
experience slow redrawing (or you are on a terminal with poor color support)
you may want to turn it off by defining the "ruby_no_expensive" variable: >
:let ruby_no_expensive = 1
@@ -2151,11 +2151,11 @@ of them it's almost impossibly to cope.
The new standard, SDL-2000, specifies that all identifiers are
case-sensitive (which was not so before), and that all keywords can be
-used either completely lowercase or completely uppercase. To have the
+used either completely lowercase or completely uppercase. To have the
highlighting reflect this, you can set the following variable: >
:let sdl_2000=1
-This also sets many new keywords. If you want to disable the old
+This also sets many new keywords. If you want to disable the old
keywords, which is probably a good idea, use: >
:let SDL_no_96=1
@@ -2199,10 +2199,10 @@ defined for you)
Known tag names are colored the same way as statements in C. Unknown tag
names are not colored which makes it easy to spot errors.
-Note that the same is true for argument (or attribute) names. Known attribute
+Note that the same is true for argument (or attribute) names. Known attribute
names are colored differently than unknown ones.
-Some SGML tags are used to change the rendering of text. The following tags
+Some SGML tags are used to change the rendering of text. The following tags
are recognized by the sgml.vim syntax coloring file and change the way normal
text is shown: <varname> <emphasis> <command> <function> <literal>
<replaceable> <ulink> and <link>.
@@ -2289,7 +2289,7 @@ The Speedup syntax file has some options:
- highlight_types : Definition of this variable causes stream types
like temperature or pressure to be highlighted as Type, not as a
- plain Identifier. Included are the types that are usually found in
+ plain Identifier. Included are the types that are usually found in
the DECLARE section; if you defined own types, you have to include
them in the syntax file.
@@ -2300,13 +2300,13 @@ The Speedup syntax file has some options:
number of #s.
oneline_comments = 2 : show code starting with the second # as
- error. This is the default setting.
+ error. This is the default setting.
oneline_comments = 3 : show the whole line as error if it contains
more than one #.
Since especially OPERATION sections tend to become very large due to
-PRESETting variables, syncing may be critical. If your computer is
+PRESETting variables, syncing may be critical. If your computer is
fast enough, you can increase minlines and/or maxlines near the end of
the syntax file.
@@ -2328,7 +2328,7 @@ This covers the shell named "tcsh". It is a superset of csh. See |csh.vim|
for how the filetype is detected.
Tcsh does not allow \" in strings unless the "backslash_quote" shell variable
-is set. If you want VIM to assume that no backslash quote constructs exist add
+is set. If you want VIM to assume that no backslash quote constructs exist add
this line to your .vimrc: >
:let tcsh_backslash_quote = 0
@@ -2340,7 +2340,7 @@ to a larger number: >
:let tcsh_minlines = 100
This will make the syntax synchronization start 100 lines before the first
-displayed line. The default value is 15. The disadvantage of using a larger
+displayed line. The default value is 15. The disadvantage of using a larger
number is that redrawing can become slow.
@@ -2364,7 +2364,7 @@ If you have a slow computer, you may wish to reduce the values for >
:syn sync maxlines=200
:syn sync minlines=50
(especially the latter). If your computer is fast, you may wish to
-increase them. This primarily affects synchronizing (ie. just what group,
+increase them. This primarily affects synchronizing (i.e. just what group,
if any, is the text at the top of the screen supposed to be in?).
Excessive Error Highlighting? ~
@@ -2461,14 +2461,14 @@ highlighted.
XML *xml.vim* *xml-syntax*
-Xml namespaces are highlighted by default. This can be inhibited by
+Xml namespaces are highlighted by default. This can be inhibited by
setting a global variable: >
:let g:xml_namespace_transparent=1
<
*xml-folding*
The xml syntax file provides syntax |folding| (see |:syn-fold|) between
-start and end tags. This can be turned on by >
+start and end tags. This can be turned on by >
:let g:xml_syntax_folding = 1
:set foldmethod=syntax
@@ -2607,7 +2607,7 @@ DEFINING KEYWORDS *:syn-keyword*
The same keyword can be defined multiple times, when its containment
differs. For example, you can define the keyword once not contained
and use one highlight group, and once contained, and use a different
- highlight group. Example: >
+ highlight group. Example: >
:syn keyword vimCommand tag
:syn keyword vimSetting contained tag
< When finding "tag" outside of any syntax item, the "vimCommand"
@@ -2663,7 +2663,7 @@ DEFINING REGIONS *:syn-region* *:syn-start* *:syn-skip* *:syn-end*
match with the end pattern. See
|:syn-keepend|.
extend Override a "keepend" for an item this region
- is contained in. See |:syn-extend|.
+ is contained in. See |:syn-extend|.
excludenl Don't make a pattern with the end-of-line "$"
extend a containing match or item. Only
useful for end patterns. Must be given before
@@ -3736,7 +3736,7 @@ ctermbg={color-nr} *highlight-ctermbg*
The case of the color names is ignored.
Note that for 16 color ansi style terminals (including xterms), the
- numbers in the NR-8 column is used. Here '*' means 'add 8' so that Blue
+ numbers in the NR-8 column is used. Here '*' means 'add 8' so that Blue
is 12, DarkGray is 8 etc.
Note that for some color terminals these names may result in the wrong
@@ -3924,7 +3924,7 @@ WildMenu current match in 'wildmenu' completion
*hl-User1* *hl-User1..9*
The 'statusline' syntax allows the use of 9 different highlights in the
-statusline and ruler (via 'rulerformat'). The names are User1 to User9.
+statusline and ruler (via 'rulerformat'). The names are User1 to User9.
For the GUI you can use these groups to set the colors for the menu,
scrollbars and tooltips. They don't have defaults. This doesn't work for the
@@ -4151,14 +4151,14 @@ To use it, execute these commands: >
:e $VIMRUNTIME/syntax/colortest.vim
:so %
-Some versions of xterm (and other terminals, like the linux console) can
+Some versions of xterm (and other terminals, like the Linux console) can
output lighter foreground colors, even though the number of colors is defined
at 8. Therefore Vim sets the "cterm=bold" attribute for light foreground
colors, when 't_Co' is 8.
*xfree-xterm*
To get 16 colors or more, get the newest xterm version (which should be
-included with Xfree86 3.3 and later). You can also find the latest version
+included with XFree86 3.3 and later). You can also find the latest version
at: >
http://invisible-island.net/xterm/xterm.html
Here is a good way to configure it. This uses 88 colors and enables the
diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt
index 467a9a175..87608f19c 100644
--- a/runtime/doc/tagsrch.txt
+++ b/runtime/doc/tagsrch.txt
@@ -1,4 +1,4 @@
-*tagsrch.txt* For Vim version 7.0aa. Last change: 2005 Feb 14
+*tagsrch.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -251,7 +251,7 @@ g CTRL-] Like CTRL-], but use ":tjump" instead of ":tag".
in Vi}
*:tf* *:tfirst*
-:[count]tf[irst][!] Same as ":trewind". {not in Vi}
+:[count]tf[irst][!] Same as ":trewind". {not in Vi}
*:tl* *:tlast*
:tl[ast][!] Jump to last matching tag. See |tag-!| for [!]. {not
@@ -281,12 +281,12 @@ the same as above, with a "p" prepended.
*:pts* *:ptselect*
:pts[elect][!] [ident] Does ":tselect[!] [ident]" and shows the new tag in a
- "Preview" window. See |:ptag| for more info.
+ "Preview" window. See |:ptag| for more info.
{not in Vi}
*:ptj* *:ptjump*
:ptj[ump][!] [ident] Does ":tjump[!] [ident]" and shows the new tag in a
- "Preview" window. See |:ptag| for more info.
+ "Preview" window. See |:ptag| for more info.
{not in Vi}
*:ptn* *:ptnext*
@@ -305,7 +305,7 @@ the same as above, with a "p" prepended.
{not in Vi}
*:ptf* *:ptfirst*
-:[count]ptf[irst][!] Same as ":ptrewind". {not in Vi}
+:[count]ptf[irst][!] Same as ":ptrewind". {not in Vi}
*:ptl* *:ptlast*
:ptl[ast][!] ":tlast" in the preview window. See |:ptag|.
@@ -395,7 +395,7 @@ In a future version changing the buffer will be impossible. All this for
security reasons: Somebody might hide a nasty command in the tags file, which
would otherwise go unnoticed. Example: >
:$d|/tag-function-name/
-{this security prevention is not present in Vi}.
+{this security prevention is not present in Vi}
In Vi the ":tag" command sets the last search pattern when the tag is searched
for. In Vim this is not done, the previous search pattern is still remembered,
@@ -582,8 +582,8 @@ If the command is a normal search command (it starts and ends with "/" or
"?"), some special handling is done:
- Searching starts on line 1 of the file.
The direction of the search is forward for "/", backward for "?".
- Note that 'wrapscan' does not matter, the whole file is always searched. {Vi
- does use 'wrapscan', which caused tags sometimes not be found). {Vi starts
+ Note that 'wrapscan' does not matter, the whole file is always searched. (Vi
+ does use 'wrapscan', which caused tags sometimes not be found.) {Vi starts
searching in line 2 of another file. It does not find a tag in line 1 of
another file when 'wrapscan' is not set}
- If the search fails, another try is done ignoring case. If that fails too,
@@ -596,7 +596,7 @@ If the command is a normal search command (it starts and ends with "/" or
"^[#a-zA-Z_].*\<tagname[ \t]*("
This means: A line starting with '#' or an identifier and containing the tag
followed by white space and a '('. This will find macro names and function
- names with a type prepended. {the extra searches are not in Vi}.
+ names with a type prepended. {the extra searches are not in Vi}
==============================================================================
6. Include file searches *include-search* *definition-search*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index b8f86b207..33c1f8f5d 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 28
+*todo.txt* For Vim version 7.0aa. Last change: 2005 Apr 15
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,6 +30,36 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------
+Frame size wrong after ":sp" with this in vimrc (Michael Schaap):
+ set cmdheight=2
+ set lines=43
+
+Trick to get ...MOUSE_NM not used when there are vertical splits. Can we pass
+-col instead of col? (Yegappan Lakshmanan)
+
+Hang in searchpair(). (2005 April 12, John Wellesz)
+
+With this mapping a click on a status line echoes the wrong buffer name:
+ :noremap <Leftmouse> <Leftmouse>:echo bufname('%')<CR>
+
+When in diff mode and making a change that causes the "changed" highlighting
+to disappear, it's still highlighted in another window.
+
+regmatch(): "regstack" could start with a fixed block of data for speed.
+"backpos" is never freed. (Alexei Alexandrov)
+
+Starting without any buffers, set nocp, ":b <Tab>" gives error message.
+(Ciaran McCressh for Aron Griffis)
+
+Problem with 'insertmode'. (Georg Dahn, 2005 April 9, expl. April 14)
+Problem with CTRL-V pasting more than one line. (Georg Dahn, 2005 April 11)
+
+Patch for setqflist() (Yegappan Lakshmanan, 2005 April 11)
+
+In an errorfile expand "~/" to home directory. (Arnout Engelen)
+
+Patch for 2html.vim to disable folding (Michael Schaap, 2005 April 12)
+
Mac unicode patch (Da Woon Jung):
- selecting proportional font breaks display
- UTF-8 text causes display problems. Font replacement causes this.
@@ -47,23 +77,59 @@ autoload:
Win32: Balloon text can't contain line break.
Hints for multiline tooltips from Alexei Alexandrov (2005 Mar 26)
- Patch from Sergey Khorev, 2005 Mar 28
+ Patch from Sergey Khorev, 2005 Apr 11
Add has("balloon_multiline")
+setline() should accept a List.
+Add ":[range]sort" command. Sort on specified field, using a regexp? Remove
+duplicates?
+
Awaiting response:
- Patch for mch_FullName() also in Vim 6.3? os_mswin.c
- Win32: tearoff menu window should have a scrollbar when it's taller than
the screen.
+Make option like 'verbose' that writes output into a file? Should make it
+possible to see what's happening without messing up the display.
+
PLANNED FOR VERSION 7.0:
- Add SPELLCHECKER, with support for many languages.
- Use "engspchk" from Charles Campbell for ideas.
- - Alternative: use MySpell library (in OpenOffice.org).
+ - Spell checking code todo's:
+ - BWF_ADDS and BWF_ADDSM for more than 256, only one byte for count.
+ - Case folding only works when locale is set properly.
+ E.g., when C locale is active then 'enc' is "latin1" but Ångström
+ isn't seen as a ONECAP.
+ Use our own character tables for encodings used in spell files?
+ Use iswupper() if possible?
+ Put the character tables in the .aff file?
+ - Implement = flag in .dic: KEEPCASE for lower case word.
+ 's morgens/= does not match 'S morgens
+ - Merge en_US, en_CA, en_AU, etc.
+ - Implement compound words?
+ - Make matching additions faster somehow?
+ - More efficient way to store additions?
+ - remove fw_prefix and fw_suffix, use fw_len (word length) and put
+ prefixes and suffixes right after it.
+ - Make "en-rare" spell file.
+ Convention: use en_US (language_region) and en-rare (language-field)
+ - Need to check for affixes of zero length?
+ - specify word characters in .aff file?
+ - Polish: Anio and Hanio are wrong words, even though Myspell allows
+ them. Problem with not ignoring case in conditions.
+ - Put addition up to end of word also in hashtab, so that "s'aaa"
+ is found by "'aaa", s-bbb by "-bbb", etc. Put rest in table (search
+ longest match).
+ - Rare words: use another dictionary. Add hl groups to 'spelllang'?
+ :set spelllang=en_us,en.rare/SpellRare,en.math/SpellMath
+ - References MySpell library (in OpenOffice.org).
http://spellchecker.mozdev.org/source.html
+ http://whiteboard.openoffice.org/source/browse/whiteboard/lingucomponent/source/spellcheck/myspell/
+ author: Kevin Hendricks <kevin.hendricks@sympatico.ca>
- Alternative: use aspell library.
- - Dump pre-parsed spell structs in a file?
+ ispell is replaced by aspell, thus forget about it.
- More complicated: Regions with different languages? E.g. comments in
English, strings in German (po file).
- Commands required:
@@ -72,12 +138,13 @@ PLANNED FOR VERSION 7.0:
:spell wrong <word> zw
[s move to previous spell error [S also rare word
]s move to next spell error ]S also rare word
+ (only "]s" is currently implemented)
- Update option window for 'spell' and 'spelllang'.
- - Use an external program like ispell or aspell for suggestions to correct
- the spelling.
- - Need wordlists for many languages; "language pack"
- - Use wordlists from openoffice (myspell). Work together with them to
- update the wordlist. (Adri Verhoef, Aad Nales)
+ - Use an external program like aspell for suggestions to correct the
+ spelling? Or include the myspell/spell code in Vim?
+ - Distribution: Need wordlists for many languages; "language pack"
+ - Work together with OpenOffic.org to update the wordlists. (Adri
+ Verhoef, Aad Nales)
- Support for approximate-regexps will help with finding similar words
(agrep http://www.tgries.de/agrep/).
- Charles Campbell asks for method to add "contained" groups to
@@ -92,6 +159,7 @@ PLANNED FOR VERSION 7.0:
ispell inside Vim). Gautam Iyer has an example with "aspell".
Patch from Marcin Dalecki, uses pipe to aspell.
+
- REFACTORING: The main() function is very long. Move parts to separate
functions, especially loops. Ideas from Walter Briscoe (2003 Apr 3, 2004
Feb 9).
@@ -110,6 +178,8 @@ PLANNED FOR VERSION 7.0:
of http://insenvim.sourceforge.net
http://cedet.sourceforge.net/intellisense.shtml (for Emacs)
Ivan Villanueva has something for Java.
+ Ideas from Emads:
+ http://www.xref-tech.com/xrefactory/more_c_completion.html
Can't call it Intellisense, it is a trademark by Microsoft.
Ideas from the Vim 7 BOF at SANE:
- It's not possible to have one solution for all languages. Design an
@@ -218,6 +288,14 @@ PLANNED FOR VERSION 7.0:
Adjust src/main.aap for installing manpages like in Makefile.
+Add strtol() to avoid the problems with leading zero causing octal conversion.
+
+Try new POSIX tests, made after my comments. (Geoff Clare, 2005 April 7)
+Before April 23 if possible.
+
+Add a 'tool' window: behaves like a preview window but there can be several.
+Don't count it in only_one_window(). (Alexei Alexandrov)
+
Win32: Patch for Korean IME. (Yusung, 2005 March 21)
Support ":set syntax=cpp.doxygen"? Suggested patch by Michael Geddes (9 Aug
@@ -361,7 +439,7 @@ Vi incompatibility:
Also: A mark is lost after: make change, undo, redo and undo.
Example: "{d''" then "u" then "d''": deletes an extra line, because the ''
position is one line down. (Veselinovic)
-8 ":change" in a single-line file adds an empty line. When the file used to
+8 ":change" in a single-line file adds an empty line. When the file used to
be longer a "~" line is displayed, but there really is an empty line.
(Haakon Riiser, 2003 Dec 3 and Dec 16)
8 ":append" and ":insert" in an empty file add an extra empty line. (Haakon
@@ -549,7 +627,7 @@ Athena and Motif:
wrong.
9 XIM is disabled by default for SGI/IRIX. Fix XIM so that 'imdisable' can
be off by default.
-9 XIM doesn't work properly for Athena/Motif. (Yasuhiro Matsumoto) For now,
+9 XIM doesn't work properly for Athena/Motif. (Yasuhiro Matsumoto) For now,
keep XIM active at all times when the input method has the preediting
flag.
8 X11: A menu that contains an umlaut is truncated at that character.
@@ -873,7 +951,7 @@ Macintosh:
7 The Cygwin and MingW makefiles define "PC", but it's not used anywhere.
Remove? (Dan Sharp)
9 The argument <f-args> of a user command doesn't handle backslashes
- properly. "Cmd \ e" is one argument, "Cmd \\ e" still is one argument.
+ properly. "Cmd \ e" is one argument, "Cmd \\ e" still is one argument.
"Cmd \ e" is two arguments, first one ending in space. (Kontra Gergely)
9 User commands use the context of the script they were defined in. This
causes a "s:var" argument to unexpectedly use a variable in the defining
@@ -895,7 +973,7 @@ Macintosh:
won't work for GTK anyway.
8 When the clipboard isn't supported: ":yank*" gives a confusing error
message. Specifically mention that the register name is invalid.
-8 "gf" always excludes trailing punctuation characters. file_name_in_line()
+8 "gf" always excludes trailing punctuation characters. file_name_in_line()
is currently fixed to use ".,:;!". Add an option to make this
configurable?
8 'hkmap' should probably be global-local.
@@ -1118,7 +1196,7 @@ Problems that will (probably) not be solved:
- Amiga: When using quickfix with the Manx compiler we only get the first 25
errors. How do we get the rest?
- Amiga: The ":cq" command does not always abort the Manx compiler. Why?
-- Linux: A file with protection r--rw-rw- is seen readonly for others. The
+- Linux: A file with protection r--rw-rw- is seen readonly for others. The
access() function in GNU libc is probably wrong.
- MSDOS: When using smartdrive with write-back buffering, writing to a
readonly floppy will cause problems. How to test for a writable floppy
@@ -1269,6 +1347,7 @@ Folding:
8 Add "z/" and "z?" for searching in not folded text only.
8 Add different highlighting for a fold line depending on the fold level.
(Noel Henson)
+7 Use "++--", "+++--" for different levels instead of "+---" "+----".
8 When a closed fold is displayed open because of 'foldminlines', the
behavior of commands is still like the fold is closed. How to make the
user aware of this?
@@ -1311,7 +1390,8 @@ Multi-byte characters:
Match with "-\*-\s*coding[:=]\s*\([::word::-_.]\+\)\s*-\*-" and use first
item.
8 Add an item in 'fileencodings' to check the first line of an XML file for
- the encoding. <?xml version="1.0" encoding="UTF-8"?> Or "charset=UTF-8"?
+ the encoding. <?xml version="1.0" encoding="UTF-8"?> Or "charset=UTF-8"?
+ For HTML look for "charset=utf-8".
8 The quickfix file is read without conversion, thus in 'encoding'. Add an
option to specify the encoding of the errorfile and convert it. Also for
":grep" and ":helpgrep".
@@ -1444,7 +1524,7 @@ Syntax highlighting:
7 Use parsing like awk, so that e.g., a ( without a matching ) can be
detected.
8 Make it possible to use "inverted" highlighting, invert the original
- character. For Visual mode. (xterm-selection already does this).
+ character. For Visual mode. (xterm-selection already does this).
8 Highlight non-printable characters with "SpecialChar", linked to
"Special". Display them with the digraph characters, if possible.
8 Highlight the clipboard-selection with a highlight group.
@@ -1790,7 +1870,7 @@ Messages:
Careful: For a severe error (out of memory), and when the user starts
typing, error messages must be switched back on.
Also a flag to ignore error messages for shell commands (for mappings).
-- Option to set time for emsg() sleep. Interrupt sleep when key is typed?
+- Option to set time for emsg() sleep. Interrupt sleep when key is typed?
sleep before second message?
8 In Ex silent mode or when reading commands from a file, what exactly is
not printed and what is? Check ":print", ":set all", ":args", ":vers",
@@ -2028,7 +2108,7 @@ GUI:
7 Motif: For a confirm() dialog <Enter> should be ignored when no default
button selected, <Esc> should close the dialog.
7 When using a pseudo-tty Vim should behave like some terminal (vt52 looks
- simple enough). Terminal codes to/from shell should be translated.
+ simple enough). Terminal codes to/from shell should be translated.
- Would it be useful to be able to quit the GUI and go back to the terminal
where it was started from?
7 Support "-visual <type>" command line argument.
@@ -2353,7 +2433,7 @@ Insert mode:
9 Wrong indent for cino=(4, removing the (void) fixes it: (Zellner)
(void) MyFancyFunction(
argument);
-- Make smartindenting configurable. Add 'sioptions', e.g. '#' setting the
+- Make smartindenting configurable. Add 'sioptions', e.g. '#' setting the
indent to 0 should be switched on/off.
7 Support ANSI style function header, with each argument on its own line.
- "[p" and "]p" should use 'cindent' code if it's on (only for the first
@@ -2509,16 +2589,16 @@ Visual mode:
6 In non-Block mode, "A" should append the same text after each line.
6 ":'<,'>source" should read the selected lines and ":source" them.
6 When in blockwise visual selection (CTRL-V), allow cursor to be placed
- right of the line. Could also allow cursor to be placed anywhere on a TAB
+ right of the line. Could also allow cursor to be placed anywhere on a TAB
or other special character.
6 Add commands to move selected text, without deselecting.
More advanced repeating commands:
- Add "." command for visual mode: redo last visual command (e.g. ":fmt").
-7 Repeating "d:{cmd}" with "." doesn't work. (Benji Fisher) Somehow remember
+7 Repeating "d:{cmd}" with "." doesn't work. (Benji Fisher) Somehow remember
the command line so that it can be repeated?
-- Add "." command after operator: repeat last command of same operator. E.g.
+- Add "." command after operator: repeat last command of same operator. E.g.
"c." will repeat last change, also when "x" used since then (Webb).
"y." will repeat last yank.
"c2." will repeat the last but one change?
@@ -2556,7 +2636,7 @@ Mappings and Abbreviations:
not fool proof. How to handle ambiguous mappings?
7 Add <0x8f> (hex), <033> (octal) and <123> (decimal) to <> notation?
7 Allow mapping "Q" and "Q}" at the same time. Need to put a flag with "Q",
- that it needs an extra character before it can match. See Vile 'maplonger'
+ that it needs an extra character before it can match. See Vile 'maplonger'
option.
7 When someone tries to unmap with a trailing space, and it fails, try
unmapping without the trailing space. Helps for ":unmap xx | unmap yy".
@@ -2598,7 +2678,7 @@ Mappings and Abbreviations:
- List mappings that have a raw escape sequence both with the name of the key
for that escape sequence (if there is one) and the sequence itself.
- List mappings: Once with special keys listed as <>, once with meta chars as
- <M-a>, once with the byte values (octal?). Sort of "spell mapping" command?
+ <M-a>, once with the byte values (octal?). Sort of "spell mapping" command?
- When entering mappings: Add the possibility to enter meta keys like they
are displayed, within <>: <M-a>, <~@> or <|a>.
- Allow multiple arguments to :unmap.
@@ -2709,17 +2789,17 @@ Searching:
as Visual area. (variation on idea from Bertin)
- Searching: "/this//that/" should find "that" after "this".
- Add global search commands: Instead of wrapping at the end of the buffer,
- they continue in another buffer. Use flag after search pattern:
+ they continue in another buffer. Use flag after search pattern:
a for the next file in the argument list
f for file in the buffer list
w for file edited in a window.
- e.g. "/pat/f". Then "n" and "N" work through files too. "f" flag also for
- ":s/pat/foo/f"??? Then when 'autowrite' and 'hidden' are both not set, ask
+ e.g. "/pat/f". Then "n" and "N" work through files too. "f" flag also for
+ ":s/pat/foo/f"??? Then when 'autowrite' and 'hidden' are both not set, ask
before saving files: "Save modified buffer "/path/file"? (Yes/Hide/No
Save-all/hide-All/Quit) ".
- ":s/pat/foo/3": find 3rd match of "pat", like sed. (Thomas Koehler)
7 When searching with 'n' give message when getting back where the search
- first started. Remember start of search in '/ mark.
+ first started. Remember start of search in '/ mark.
7 Add option that scrolls screen to put cursor in middle of screen after
search always/when off-screen/never. And after a ":tag" command. Maybe
specify how many lines below the screen causes a redraw with the cursor in
@@ -2775,8 +2855,8 @@ Buffer list:
8 Unix: Check all uses of fnamecmp() and fnamencmp() if they should check
inode too.
7 Add another number for a buffer, which is visible for the user. When
- creating a new buffer, use the lowest number not in use. (or the highest
- number in use plus one?)
+ creating a new buffer, use the lowest number not in use (or the highest
+ number in use plus one?).
7 Offer some buffer selection from the command line? Like using ":ls" and
asking for a buffer number. (Zachmann)
- When starting to edit a file that is already in the buffer list, use the
@@ -2788,7 +2868,7 @@ Buffer list:
7 Add expansion of buffer names, so that "*.c" is expanded to all buffer
names. Needed for ":bdel *.c", ":bunload *.c", etc.
8 Support for <afile> where a buffer name is expected.
-8 Some commands don't use line numbers, but buffer numbers. '$'
+8 Some commands don't use line numbers, but buffer numbers. '$'
should then mean the number of the last buffer. E.g.: "4,$bdel".
7 Add an option to mostly use slashes in file names. Separately for
internal use and for when executing an external program?
@@ -2802,14 +2882,14 @@ Swap (.swp) files:
file for the Win32 and Dos 32 bit versions.
8 When a file is edited by root, add $LOGNAME to know who did su.
8 When the edited file is a symlink, try to put the swap file in the same
- dir as the actual file. Adjust FullName(). Avoids editing the same file
+ dir as the actual file. Adjust FullName(). Avoids editing the same file
twice (e.g. when using quickfix). Also try to make the name of the backup
file the same as the actual file?
Use the code for resolve()?
7 When using 64 bit inode numbers, also store the top 32 bits. Add another
field for this, using part of bo_fname[], to keep it compatible.
7 When editing a file on removable media, should put swap file somewhere
- else. Use something like 'r' flag in 'viminfo'. 'diravoid'?
+ else. Use something like 'r' flag in 'viminfo'. 'diravoid'?
Also: Be able to specify minimum disk space, skip directory when not
enough room.
7 Add a configure check for which directory should be used: /tmp, /var/tmp
@@ -2914,7 +2994,7 @@ Multiple Windows:
7 Add a 'winfixwidth' option, similar to 'winfixheight'.
6 Add an option to resize the shell when splitting and/or closing a window.
":vsp" would make the shell wider by as many columns as needed for the new
- window. Specify a maximum size (or use the screen size). ":close" would
+ window. Specify a maximum size (or use the screen size). ":close" would
shrink the shell by as many columns as come available. (Demirel)
7 When starting Vim several times, instantiate a Vim server, that allows
communication between the different Vims. Feels like one Vim running with
@@ -2929,7 +3009,7 @@ Multiple Windows:
Marks:
8 When cursor is first moved because of scrolling, set a mark at this
position. (Rimon Barr) Use '-.
-8 Add a command to jump to a mark and make the motion inclusive. g'm and g`m?
+8 Add a command to jump to a mark and make the motion inclusive. g'm and g`m?
8 The '" mark is set to the first line, even when doing ":next" a few times.
Only set the '" mark when the cursor was really moved in a file.
8 Make `` and '', which would position the new cursor position in the middle
@@ -2987,7 +3067,7 @@ Writing files:
E.g., ":set patchmode=~/backups/*.orig". (Thomas)
6 Add an option to prepend something to the backup file name. E.g., "#".
Or maybe allow a function to modify the backup file name?
-8 Only make a backup when overwriting a file for the first time. Avoids
+8 Only make a backup when overwriting a file for the first time. Avoids
losing the original when writing twice. (Slootman)
7 On non-Unix machines, also overwrite the original file in some situations
(file system full, it's a link on an NFS partition).
@@ -3002,13 +3082,13 @@ Writing files:
Substitute:
-8 Make it easier to replace in all files in the argument list. E.g.:
+8 Make it easier to replace in all files in the argument list. E.g.:
":argsub/oldword/newword/". Works like ":argdo %s/oldword/newword/g|w".
- :s///p prints the line after a substitution.
- With :s///c replace \&, ~, etc. when showing the replacement pattern.
8 With :s///c allow scrolling horizontally when 'nowrap' is effective.
Also allow a count before the scrolling keys.
-- Add number option to ":s//2": replace second occurrence of string? Or:
+- Add number option to ":s//2": replace second occurrence of string? Or:
:s///N substitutes N times.
- Add answers to ":substitute" with 'c' flag, used in a ":global", e.g.:
":g/pat1/s/pat2/pat3/cg": 'A' do all remaining replacements, 'Q' don't do
@@ -3107,7 +3187,7 @@ Various improvements:
Overrules the default of "--remote-send" to fail and "--remote" to do it
in this Vim.
8 When Vim was started without a server, make it possible to start one, as
- if the "--servername" argument was given. ":startserver <name>"?
+ if the "--servername" argument was given. ":startserver <name>"?
8 No address range can be used before the command modifiers. This makes
them difficult to use in a menu for Visual mode. Accept the range and
have it apply to the following command.
@@ -3178,7 +3258,7 @@ Various improvements:
buffer. Make jumplist remember the last ten accessed buffers?
- Keep a list of most recently used files for each window, use "[o" to go
back (older file) and "]n" to go forward (newer file) (like ^O and ^I for
- jumps) (Webb). Use ":files" and ":ls" to list the files in history order.
+ jumps). (Webb) Use ":files" and ":ls" to list the files in history order.
7 Add a history of recently accessed buffer. Maybe make "2 CTRL-^" jump to
the 2nd previously visited buffer, "3 CTRL-^" to the third, etc. Or use
"3 g CTRL-^" for this?
@@ -3295,7 +3375,7 @@ Various improvements:
Add setting of 'nrformats' to syntax files.
- 'path' can become very long, don't use NameBuff for expansion.
- When unhiding a hidden buffer, put the same line at top of the window as
- the one before hiding it. Or: keep the same relative cursor position (so
+ the one before hiding it. Or: keep the same relative cursor position (so
many percent down the windows).
- Make it possible for the 'showbreak' to be displayed at the end of the
line. Use a comma to separate the part at the end and the start of the
@@ -3316,12 +3396,12 @@ Various improvements:
- Change ":fixdel" into option 'fixdel', t_del will be adjusted each time
t_bs is set? (Webb)
- "gc": goto character, move absolute character positions forward, also
- counting newlines. "gC" goes backwards (Weigert).
-- When doing CTRL-^, redraw buffer with the same topline (Demirel). Store
+ counting newlines. "gC" goes backwards (Weigert).
+- When doing CTRL-^, redraw buffer with the same topline. (Demirel) Store
cursor row and window height to redraw cursor at same percentage of window
(Webb).
- Besides remembering the last used line number of a file, also remember the
- column. Use it with CTRL-^ et. al.
+ column. Use it with CTRL-^ et. al.
- Check for non-digits when setting a number option (careful when entering
hex codes like 0xff).
- Add option to make "." redo the "@r" command, instead of the last command
@@ -3346,11 +3426,11 @@ Various improvements:
- Create a program that can translate a .swp file from any machine into a
form usable by Vim on the current machine.
- Add ":noro" command: Reset 'ro' flag for all buffers, except ones that have
- a readonly file. ":noro!" will reset all 'ro' flags.
+ a readonly file. ":noro!" will reset all 'ro' flags.
- Add a variant of CTRL-V that stops interpretation of more than one
character. For entering mappings on the command line where a key contains
several special characters, e.g. a trailing newline.
-- Add regex for 'paragraphs' and 'sections': 'parare' and 'sectre'. Combine
+- Add regex for 'paragraphs' and 'sections': 'parare' and 'sectre'. Combine
the two into a regex for searching. (Ned Konz)
- Make '2' option in 'formatoptions' also work inside comments.
- Add 's' flag to 'formatoptions': Do not break when inside a string. (Dodt)
@@ -3368,7 +3448,7 @@ Various improvements:
entered)?
- Check out how screen does output optimizing. Apparently this is possible
as an output filter.
-- In dosub() regexec is called twice for the same line. Try to avoid this.
+- In dosub() regexec is called twice for the same line. Try to avoid this.
- Window updating from memline.c: insert/delete/replace line.
- Optimize ml_append() for speed, esp. for reading a file.
- V..c should keep indent when 'ai' is set, just like [count]cc.
@@ -3382,7 +3462,7 @@ Various improvements:
or in octal.
7 Tighter integration with xxd to edit binary files. Make it more
easy/obvious to use. Command line argument?
-- How does vi detect whether a filter has messed up the screen? Check source.
+- How does vi detect whether a filter has messed up the screen? Check source.
After ":w !command" a wait_return?
- Improve screen updating code for doput() (use s_ins()).
- With 'p' command on last line: scroll screen up (also for terminals without
@@ -3393,7 +3473,7 @@ Various improvements:
- Add "-d null" for editing from a script file without displaying.
- In Insert mode: Remember the characters that were removed with backspace
and re-insert them one at a time with <key1>, all together with <key2>.
-- Amiga: Add possibility to set a keymap. The code in amiga.c does not work
+- Amiga: Add possibility to set a keymap. The code in amiga.c does not work
yet.
- Implement 'redraw' option.
- Add special code to 'sections' option to define something else but '{' or
@@ -3414,7 +3494,7 @@ Various improvements:
- Check handling of CTRL-V and '\' for ":" commands that do not have TRLBAR.
- When a file cannot be opened but does exist, give error message.
- Amiga: When 'r' protection bit is not set, file can still be opened but
- gives read errors. Check protection before opening.
+ gives read errors. Check protection before opening.
- When writing check for file exists but no permission, "Permission denied".
- If file does not exists, check if directory exists.
- MSDOS: although t_cv and t_ci are not set, do invert char under cursor.
@@ -3436,23 +3516,23 @@ Various improvements:
- Add commands for saving and restoring options ":set save" "set restore",
for use in macro's and the like.
- Keep output from listings in a window, so you can have a look at it while
- working in another window. Put cmdline in a separate window?
+ working in another window. Put cmdline in a separate window?
- Add possibility to put output of ex commands in a buffer or file, e.g. for
":set all". ":r :set all"?
- 'edit' option: When off changing the buffer is not possible (Really
read-only mode).
- When the 'equalalways' option is set, creating a new window should not
- result in windows to become bigger. Deleting a window should not result in
+ result in windows to become bigger. Deleting a window should not result in
a window to become smaller (Webb).
- When resizing the whole Vim window, the windows inside should be resized
proportionally (Webb).
-- Include options directly in option table, no indirect pointers. Use
+- Include options directly in option table, no indirect pointers. Use
mkopttab to make option table?
- When doing ":w dir", where "dir" is a directory name, write the current
file into that directory, with the current file name (without the path)?
- Support for 'dictionary's that are sorted, makes access a lot faster
(Haritsis).
-- Add "^Vrx" on the command line, replace with contents of register x. Used
+- Add "^Vrx" on the command line, replace with contents of register x. Used
instead of CTRL-R to make repeating possible. (Marinichev)
- Add "^Vb" on the command line, replace with word before or under the
cursor?
@@ -3554,7 +3634,7 @@ Far future and "big" extensions:
:g/RE/#l shall print lines with line numbers and in list format.
:g/RE/dp shall print lines that are deleted.
POSIX: Commands where flags shall apply to all lines written: list,
- number, open, print, substitute, visual, &, z. For other commands, flags
+ number, open, print, substitute, visual, &, z. For other commands, flags
shall apply to the current line after the command completes. Examples:
:7,10j #l Join the lines 7-10 and print the result in list
- Allow two or more users to edit the same file at the same time. Changes
diff --git a/runtime/doc/usr_01.txt b/runtime/doc/usr_01.txt
index eaffb190b..6827552ca 100644
--- a/runtime/doc/usr_01.txt
+++ b/runtime/doc/usr_01.txt
@@ -1,4 +1,4 @@
-*usr_01.txt* For Vim version 7.0aa. Last change: 2004 Sep 09
+*usr_01.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
@@ -152,7 +152,7 @@ filename. For French:
*01.4* Copyright *manual-copyright*
The Vim user manual and reference manual are Copyright (c) 1988-2003 by Bram
-Moolenaar. This material may be distributed only subject to the terms and
+Moolenaar. This material may be distributed only subject to the terms and
conditions set forth in the Open Publication License, v1.0 or later. The
latest version is presently available at:
http://www.opencontent.org/opl.shtml
diff --git a/runtime/doc/usr_04.txt b/runtime/doc/usr_04.txt
index 619e27813..d9664ca78 100644
--- a/runtime/doc/usr_04.txt
+++ b/runtime/doc/usr_04.txt
@@ -1,4 +1,4 @@
-*usr_04.txt* For Vim version 7.0aa. Last change: 2004 Jun 08
+*usr_04.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
@@ -270,7 +270,7 @@ where they open a new line below or above the cursor.
*04.5* Moving text
When you delete something with the "d", "x", or another command, the text is
-saved. You can paste it back by using the p command. (The Vim name for
+saved. You can paste it back by using the p command. (The Vim name for
this is put).
Take a look at how this works. First you will delete an entire line, by
putting the cursor on the line you want to delete and typing "dd". Now you
@@ -457,7 +457,7 @@ you type <Esc>.
This is interesting. ~
You may have noticed that this command replaced 5 characters in the line with
-twelve others. The "R" command automatically extends the line if it runs out
+twelve others. The "R" command automatically extends the line if it runs out
of characters to replace. It will not continue on the next line.
You can switch between Insert mode and Replace mode with the <Insert> key.
diff --git a/runtime/doc/usr_07.txt b/runtime/doc/usr_07.txt
index b41977699..1b97c2d01 100644
--- a/runtime/doc/usr_07.txt
+++ b/runtime/doc/usr_07.txt
@@ -1,4 +1,4 @@
-*usr_07.txt* For Vim version 7.0aa. Last change: 2004 Mar 12
+*usr_07.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
@@ -266,7 +266,7 @@ positions without placing marks there.
==============================================================================
*07.4* Backup files
-Usually Vim does not produce a backup file. If you want to have one, all you
+Usually Vim does not produce a backup file. If you want to have one, all you
need to do is execute the following command: >
:set backup
diff --git a/runtime/doc/usr_11.txt b/runtime/doc/usr_11.txt
index 28ff3842e..28900b2df 100644
--- a/runtime/doc/usr_11.txt
+++ b/runtime/doc/usr_11.txt
@@ -1,4 +1,4 @@
-*usr_11.txt* For Vim version 7.0aa. Last change: 2004 Apr 23
+*usr_11.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
@@ -34,7 +34,7 @@ messages (with different file names, of course):
Using swap file ".help.txt.swp" ~
Original file "~/vim/runtime/doc/help.txt" ~
- Recovery completed. You should check if everything is OK. ~
+ Recovery completed. You should check if everything is OK. ~
(You might want to write out this file under another name ~
and run diff with the original file to check for changes) ~
Delete the .swp file afterwards. ~
@@ -181,7 +181,7 @@ something wrong. It may be one of these two situations.
either it was changed after the crash (perhaps you recovered it earlier,
but didn't delete the swap file?), or else the file was saved before the
crash but after the last write of the swap file (then you're lucky: you
- don't even need that old swap file). Vim will warn you for this with this
+ don't even need that old swap file). Vim will warn you for this with this
extra line:
NEWER than swap file! ~
@@ -193,17 +193,17 @@ Sometimes the line
[cannot be read] ~
-will appear under the name of the swap file. This can be good or bad,
+will appear under the name of the swap file. This can be good or bad,
depending on circumstances.
It is good if a previous editing session crashed without having made any
-changes to the file. Then a directory listing of the swap file will show
-that it has zero bytes. You may delete it and proceed.
+changes to the file. Then a directory listing of the swap file will show
+that it has zero bytes. You may delete it and proceed.
-It is slightly bad if you don't have read permission for the swap file. You
-may want to view the file read-only, or quit. On multi-user systems, if you
+It is slightly bad if you don't have read permission for the swap file. You
+may want to view the file read-only, or quit. On multi-user systems, if you
yourself did the last changes under a different login name, a logout
-followed by a login under that other name might cure the "read error". Or
+followed by a login under that other name might cure the "read error". Or
else you might want to find out who last edited (or is editing) the file and
have a talk with them.
diff --git a/runtime/doc/usr_20.txt b/runtime/doc/usr_20.txt
index a489a46e9..235b8a8ae 100644
--- a/runtime/doc/usr_20.txt
+++ b/runtime/doc/usr_20.txt
@@ -1,4 +1,4 @@
-*usr_20.txt* For Vim version 7.0aa. Last change: 2003 Apr 30
+*usr_20.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
@@ -263,7 +263,7 @@ now check the list for the item you wanted. If it isn't there, you can use
characters before pressing <Tab> to complete the rest.
If you have watched carefully, you will have noticed that "incsearch"
doesn't start with "is". In this case "is" stands for the short name of
-"incsearch". (Many options have a short and a long name.) Vim is clever
+"incsearch". (Many options have a short and a long name.) Vim is clever
enough to know that you might have wanted to expand the short name of the
option into the long name.
diff --git a/runtime/doc/usr_23.txt b/runtime/doc/usr_23.txt
index 21e998060..dede37cb3 100644
--- a/runtime/doc/usr_23.txt
+++ b/runtime/doc/usr_23.txt
@@ -1,4 +1,4 @@
-*usr_23.txt* For Vim version 7.0aa. Last change: 2001 Sep 03
+*usr_23.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
@@ -82,7 +82,7 @@ Vim guesses wrong.
OVERRULING THE FORMAT
If you use the good old Vi and try to edit an MS-DOS format file, you will
-find that each line ends with a ^M character. (^M is <CR>). The automatic
+find that each line ends with a ^M character. (^M is <CR>). The automatic
detection avoids this. Suppose you do want to edit the file that way? Then
you need to overrule the format: >
diff --git a/runtime/doc/usr_28.txt b/runtime/doc/usr_28.txt
index 522dc3f9f..8ad98a3ea 100644
--- a/runtime/doc/usr_28.txt
+++ b/runtime/doc/usr_28.txt
@@ -1,4 +1,4 @@
-*usr_28.txt* For Vim version 7.0aa. Last change: 2003 Dec 21
+*usr_28.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
@@ -350,7 +350,7 @@ You can try it out on this text:
Explanation for the 'foldexpr' used in the example (inside out):
getline(v:lnum) gets the current line
substitute(...,'\\s','','g') removes all white space from the line
- substitute(...,'[^>].*','','')) removes everything after leading '>'s
+ substitute(...,'[^>].*','','') removes everything after leading '>'s
strlen(...) counts the length of the string, which
is the number of '>'s found
diff --git a/runtime/doc/usr_30.txt b/runtime/doc/usr_30.txt
index c88f060fa..a4e869088 100644
--- a/runtime/doc/usr_30.txt
+++ b/runtime/doc/usr_30.txt
@@ -1,4 +1,4 @@
-*usr_30.txt* For Vim version 7.0aa. Last change: 2004 Jan 17
+*usr_30.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
@@ -35,7 +35,7 @@ you give) and captures the results: >
If errors were generated, they are captured and the editor positions you where
the first error occurred.
- Take a look at an example ":make" session. (Typical :make sessions generate
+ Take a look at an example ":make" session. (Typical :make sessions generate
far more errors and fewer stupid ones.) After typing ":make" the screen looks
like this:
@@ -606,7 +606,7 @@ This allows formatting a message like this:
Try setting 'textwidth' to a different value, e.g., 80, and format the text by
Visually selecting it and typing "gq". The result is:
- > ! Did you see that site? It looks really great. ~
+ > ! Did you see that site? It looks really great. ~
> I don't like it. The colors are terrible. ~
What is the URL of that site? ~
diff --git a/runtime/doc/usr_40.txt b/runtime/doc/usr_40.txt
index afc3696ae..7d2a7df55 100644
--- a/runtime/doc/usr_40.txt
+++ b/runtime/doc/usr_40.txt
@@ -1,4 +1,4 @@
-*usr_40.txt* For Vim version 7.0aa. Last change: 2004 Dec 29
+*usr_40.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
@@ -383,9 +383,9 @@ Some of the other options and keywords are as follows:
-count={number} The command can take a count whose default is
{number}. The resulting count can be used
through the <count> keyword.
- -bang You can use a !. If present, using <bang> will
+ -bang You can use a !. If present, using <bang> will
result in a !.
- -register You can specify a register. (The default is
+ -register You can specify a register. (The default is
the unnamed register.)
The register specification is available as
<reg> (a.k.a. <register>).
@@ -425,14 +425,14 @@ More details about all this in the reference manual: |user-commands|.
*40.3* Autocommands
An autocommand is a command that is executed automatically in response to some
-event, such as a file being read or written or a buffer change. Through the
+event, such as a file being read or written or a buffer change. Through the
use of autocommands you can train Vim to edit compressed files, for example.
That is used in the |gzip| plugin.
Autocommands are very powerful. Use them with care and they will help you
avoid typing many commands. Use them carelessly and they will cause a lot of
trouble.
-Suppose you want to replace a date stamp on the end of a file every time it is
+Suppose you want to replace a datestamp on the end of a file every time it is
written. First you define a function: >
:function DateInsert()
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 556ea4aab..0a6097ed8 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt* For Vim version 7.0aa. Last change: 2005 Mar 07
+*various.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -151,7 +151,7 @@ g8 Print the hex values of the bytes used in the
(to start Insert mode, see |:startinsert|). A ":"
command must be completed as well. And you can't use
"Q" or "gQ" to start Ex mode.
- {commands} cannot start with a space. Put a 1 (one)
+ {commands} cannot start with a space. Put a 1 (one)
before it, 1 space is one space.
The 'insertmode' option is ignored for {commands}.
This command cannot be followed by another command,
@@ -509,7 +509,7 @@ K Run a program to lookup the keyword under the
[N]gs *gs* *:sl* *:sleep*
:[N]sl[eep] [N] [m] Do nothing for [N] seconds. When [m] is included,
- sleep for [N] milliseconds. The count for "gs" always
+ sleep for [N] milliseconds. The count for "gs" always
uses seconds. The default is one second. >
:sleep "sleep for one second
:5sleep "sleep for five seconds
diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt
index ec74a1040..ff3bfd667 100644
--- a/runtime/doc/version7.txt
+++ b/runtime/doc/version7.txt
@@ -1,4 +1,4 @@
-*version7.txt* For Vim version 7.0aa. Last change: 2005 Mar 28
+*version7.txt* For Vim version 7.0aa. Last change: 2005 Apr 05
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -106,6 +106,8 @@ you can't be sure what the keyboard generates. Now all <xHome> are internally
translated to <Home>, both for the keys and for mappings. Also for <xEnd>,
<xF1>, etc.
+":put" now leaves the cursor on the last inserted line.
+
==============================================================================
NEW FEATURES *new-7*
@@ -180,11 +182,15 @@ Translated manual pages *new-manpage-trans*
The manual page of Vim and associated programs is now also available in
several other languages.
+French - translated by David Blanchet
Italian - translated by Antonio Colombo
Russian - translated by Vassily Ragosin
-The Unix Makefile installs the Italian manual pages in .../man/it/man1/.
-Other languages in similar places.
+The Unix Makefile installs the Italian manual pages in .../man/it/man1/,
+.../man/it.ISO8859-1/man1/ and .../man/it.UTF-8/man1/. There appears to be no
+standard for what encoding goes in the "it" directory, the 8-bit encoded file
+is used there as a best guess.
+Other languages are installed in similar places.
Internal grep *new-vimgrep*
@@ -388,8 +394,8 @@ New items in search patterns: ~
|/\%U| \%U1234abcd search for character with 8 pos. hex number
|/\]| [\U1234abcd] idem, in a colletion
(The above partly by Ciaran McCreesh)
-|/[=| [[=a=]] an equivalence class (only for latin1 characters)
-|/[.| [[.a.]] a collation element (only works with single char)
+|/[[=| [[=a=]] an equivalence class (only for latin1 characters)
+|/[[.| [[.a.]] a collation element (only works with single char)
Nesting |/multi| items no longer is an error when an empty match is possible.
@@ -1026,4 +1032,14 @@ and reset it in nv_home().
Wildcard expansion failed: ":w /tmp/$$.`echo test`". Don't put quotes around
spaces inside backticks.
+After this sequence of commands: Y V p gv: the wrong line is selected. Now
+let "gv" select the text that was put, since the original text is deleted.
+This should be the most useful thing to do.
+
+":sleep 100u" sleeps for 100 seconds, not 100 usec as one might expect. Give
+an error message when the argument isn't recognized.
+
+In gui_mch_draw_string() in gui_w32.c "unibuflen" wasn't static, resulting in
+reallocating the buffer every time. (Alexei Alexandrov)
+
vim:tw=78:ts=8:ft=help:norl:
diff --git a/runtime/doc/vim-fr.1 b/runtime/doc/vim-fr.1
new file mode 100644
index 000000000..9a8fe3cf7
--- /dev/null
+++ b/runtime/doc/vim-fr.1
@@ -0,0 +1,574 @@
+.\" Traduction Lundi 7 août 2000 par Richard Hitier
+.\" (richard.hitier@dial.oleane.com)
+.\" Mise à jour de la traduction par David Blanchet
+.\" (david.blanchet@free.fr) 2005-01-17
+.\"
+.TH VIM 1 "22 Février 2002"
+.SH NOM
+vim \- Vi IMproved, éditeur de texte pour programmeurs
+.SH SYNOPSIS
+.br
+.B vim
+[options] [fichier ...]
+.br
+.B vim
+[options] \-
+.br
+.B vim
+[options] \-t marqueur
+.br
+.B vim
+[options] \-q [fichiererreurs]
+.PP
+.br
+.B ex
+.br
+.B view
+.br
+.B gvim
+.B gview
+.B evim
+.B eview
+.br
+.B rvim
+.B rview
+.B rgvim
+.B rgview
+.SH DESCRIPTION
+.B Vim
+est un éditeur de texte proposant une compatibilité ascendante
+avec Vi. Il permet d'éditer n'importe quel type de texte brut.
+Il est particulièrement adapté pour l'édition des programmes.
+.PP
+Il comporte de nombreuses améliorations par rapport à Vi : annulation sur
+plusieurs niveaux, fenêtres et tampons multiples, coloration syntaxique,
+édition en ligne de commande, complètement des noms de fichiers, aide en
+ligne, sélection visuelle, etc.
+Voir ":help vi_diff.txt" pour un résumé des différences entre
+.B Vim
+et Vi.
+.PP
+Pendant l'exécution de
+.B Vim
+\, une aide abondante est accessible au travers du système d'aide
+en ligne, grâce à la commande ":help".
+Voir la section AIDE EN LIGNE plus bas.
+.PP
+Le plus souvent
+.B Vim
+est démarré pour éditer un unique fichier avec la commande
+.PP
+ vim fichier
+.PP
+Plus généralement,
+.B Vim
+est lancé avec :
+.PP
+ vim [options] [listefichiers]
+.PP
+Si la listefichiers est omise, l'éditeur démarre avec un tampon vide.
+Autrement, l'une des quatre méthodes suivantes vous permettra de choisir
+un ou plusieurs fichiers à éditer.
+.TP 12
+fichier ...
+Une liste de noms de fichiers.
+Le premier sera le fichier courant et sera lu dans le tampon.
+Le curseur sera placé sur la première ligne du tampon.
+Vous pouvez passer aux autres fichiers avec la commande ":next".
+Pour éditer un fichier débutant par un tiret, faites précéder la
+liste de fichiers par "\-\-".
+.TP
+\-
+Le fichier à éditer est lu sur l'entrée standard (stdin). Les commandes sont
+lues depuis stderr, qui devrait être un terminal.
+.TP
+\-t {marqueur}
+Le fichier à éditer et la position initiale du curseur dépendent
+d'un "marqueur", qui est une sorte d'étiquette.
+{marqueur} est recherché dans le fichier des marqueurs, le fichier correspondant
+devient le fichier courant et la commande associée est exécutée.
+Principalement utile pour les programmes en C ; dans ce cas, {marqueur}
+peut être le nom d'une fonction.
+Au final, le fichier contenant cette fonction devient le fichier
+courant et le curseur est placé au début de la fonction.
+Voir ":help tag\-commands".
+.TP
+\-q [fichiererreurs]
+Démarre en mode Mise-au-point (QuickFix).
+Le fichier [fichiererreurs] est lu et la première erreur est affichée.
+Si [fichiererreurs] est omis, le nom du fichier est lu dans
+l'option 'errorfile' ("AztecC.Err" par défaut sur Amiga, "errors.err" sur les
+autres systèmes).
+La commande ":cn" permet de sauter aux erreurs suivantes.
+Voir ":help quickfix".
+.PP
+.B Vim
+se comporte différemment selon le nom de la commande (l'exécutable peut
+cependant être le même fichier).
+.TP 10
+vim
+La façon "normale", le comportement par défaut.
+.TP
+ex
+Démarre en mode Ex.
+La commande ":vi" permet de passer en mode Normal.
+Ce mode est également accessible avec l'argument "\-e".
+.TP
+view
+Démarre en mode Lecture-Seule. Vous êtes protégé de l'écriture accidentelle
+des fichiers. Ce mode est également accessible avec l'argument "\-R".
+.TP
+gvim gview
+La version graphique.
+Ouvre une nouvelle fenêtre.
+Également accessible avec l'argument "\-g".
+.TP
+evim eview
+La version graphique en mode Débutant (easy).
+Ouvre une nouvelle fenêtre.
+Également accessible avec l'argument "\-y".
+.TP
+rvim rview rgvim rgview
+Comme ci-dessus, mais avec des restrictions. Il vous sera impossible de
+lancer des commandes du shell, ou de suspendre
+.B Vim.
+Également accessible avec l'argument "\-Z".
+.SH OPTIONS
+Les options peuvent être spécifiées dans n'importe quel ordre,
+avant ou après les noms de fichiers. Les options sans arguments
+peuvent être combinées après un unique tiret.
+.TP 12
++[num]
+Place le curseur sur la ligne "num" dans le premier fichier.
+Si "num" est omis, le curseur sera placé sur la dernière ligne.
+.TP
++/{motif}
+Place le curseur sur la première occurence de {motif} dans le premier fichier.
+Voir ":help search\-pattern" pour connaître les motifs de recherches
+disponibles.
+.TP
++{commande}
+.TP
+\-c {commande}
+Exécute {commande} après la lecture du premier fichier.
+{commande} est interprétée comme une commande Ex.
+Si la {commande} contient des espaces, elle doit être entourée
+de doubles-apostrophes (cela dépend du shell utilisé).
+Exemple: Vim "+set si" main.c
+.br
+Note : vous pouvez utiliser jusqu'à 10 commandes "+" ou "\-c".
+.TP
+\-S {fichier}
+Source {fichier} après la lecture du premier fichier.
+C'est équivalent à \-c "source {fichier}".
+{fichier} ne peut pas débuter par un '\-'.
+Si {fichier} est omis, "Session.vim" est utilisé (cela ne fonctionne que si
+\-S est le dernier argument).
+.TP
+\-\-cmd {commande}
+Comme "\-c", mais la commande est exécutée juste avant de traiter les fichiers
+vimrc.
+Vous pouvez utiliser jusqu'à 10 de ces commandes, indépendamment des
+commandes "\-c".
+.TP
+\-A
+Si
+.B Vim
+a été compilé avec le support de la fonctionnalité ARABIC pour l'édition de
+fichiers de droite à gauche et les claviers arabes, cette option lance
+.B Vim
+en mode Arabe, c.-à-d. que l'option 'arabic' est activée.
+Sinon, un message d'erreur est émis et
+.B Vim
+quitte.
+.TP
+\-b
+Mode Binaire.
+Active plusieurs options pour permettre l'édition
+d'un fichier binaire ou exécutable.
+.TP
+\-C
+Compatible. Active l'option 'compatible'.
+.B Vim
+se comportera alors quasiment comme Vi, même s'il existe un fichier .vimrc.
+.TP
+\-d
+Démarre en mode Diff.
+Deux ou trois noms de fichiers doivent être spécifiés.
+.B Vim
+ouvrira alors tous les fichiers et affichera leurs différences.
+Fonctionne comme vimdiff(1).
+.TP
+\-d {périph}
+Ouvre {périph} pour l'utiliser comme terminal.
+Uniquement sur Amiga.
+Exemple:
+"\-d con:20/30/600/150".
+.TP
+\-D
+Debogage. Passe en mode Débogage lors de l'exécution de la première commande
+d'un script.
+.TP
+\-e
+Démarre
+.B Vim
+en mode Ex, comme si l'exécutable s'appelait "ex".
+.TP
+\-E
+Démarre
+.B Vim
+en mode Ex amélioré, comme si l'exécutable "exim" avait été invoqué.
+.TP
+\-f
+Premier-plan (Foreground). Pour la version graphique,
+.B Vim
+ne forke pas et ne se détache pas du shell dans lequel il a été invoqué.
+Sur Amiga,
+.B Vim
+n'est pas relancé pour ouvrir une nouvelle fenêtre.
+Cette option est utile quand
+.B Vim
+est exécuté par un programme qui attend la fin de la session d'édition
+(par exemple mail).
+Sur Amiga, les commandes ":sh" et ":!" ne fonctionneront pas.
+.TP
+\-\-nofork
+Premier-plan (Foreground). Pour la version graphique,
+.B Vim
+ne forkera pas et ne se détachera pas du shell dans lequel il a été lancé.
+.TP
+\-F
+Si
+.B Vim
+a été compilé avec le support de la fonctionnalité FKMAP pour l'édition de
+fichiers de droite à gauche et les claviers farsi, cette option lance
+.B Vim
+en mode Farsi, c.-à-d. avec les options 'fkmap' et 'rightleft' activées.
+Sinon, un message d'erreur est émis et
+.B Vim
+quitte.
+.TP
+\-g
+Si
+.B Vim
+a été compilé avec le support de l'IHM graphique, cette option active
+l'IHM graphique. Si le support n'a pas été compilé, un message d'erreur
+est émis et
+.B Vim
+quitte.
+.TP
+\-h
+Donne une aide succinte sur les arguments et les options de la ligne de
+commande. Après cela,
+.B Vim
+quitte.
+.TP
+\-H
+Si
+.B Vim
+a été compilé avec le support de la fonctionnalité RIGHTLEFT pour l'édition de
+fichiers de droite à gauche et les claviers hébreu, cette option lance
+.B Vim
+en mode Hebreu, c.-à-d. avec les options 'hkmap' et 'rightleft' activées.
+Sinon, un message d'erreur est émis et
+.B Vim
+quitte.
+.TP
+\-i {viminfo}
+Lorsque l'utilisation d'un fichier viminfo est activée, cette option indique
+le nom de fichier à utiliser à la place de "~/.viminfo" par défaut.
+Il est possible d'empêcher l'utilisation d'un fichier ".viminfo", en
+spécifiant le nom de fichier "NONE".
+.TP
+\-L
+Comme \-r.
+.TP
+\-l
+Mode Lisp.
+Active les options 'lisp' et 'showmatch'.
+.TP
+\-m
+Empêche la modification des fichiers.
+Désactive l'option 'write'.
+Vous pouvez toujours modifier le tampon, mais il vous sera impossible
+d'écrire le fichier.
+.TP
+\-M
+N'autorise aucune modification. les options 'modifiable' et 'write' sont
+desactivées, de sorte que les changements ne sont pas autorisés et que les
+fichiers ne peuvent pas être écrits. Note : ces options peuvent être activées
+pour autoriser les modifications.
+.TP
+\-N
+Mode Non-compatible. Désactive l'option 'compatible'.
+Cela améliorera le comportement de
+.B Vim
+\, mais il sera moins conforme à celui de Vi, même s'il n'existe aucun
+fichier ".vimrc".
+.TP
+\-n
+N'utilise pas de fichier d'échange (swapfile).
+Le recouvrement après un plantage sera impossible.
+Utile pour éditer un fichier sur un support très lent (disquette par ex.).
+Également activable avec ":set uc=0".
+Il est possible de l'annuler avec ":set uc=200".
+.TP
+\-nb
+Devient un serveur d'édition pour NetBeans. Consulter la documentation à ce
+sujet pour davantage de détails.
+.TP
+\-o[N]
+Ouvre N fenêtres les unes au-dessus des autres.
+Quand N est omis, ouvre une fenêtre pour chaque fichier.
+.TP
+\-O[N]
+Ouvre N fenêtres côte à côte.
+Quand N est omis, ouvre une fenêtre pour chaque fichier fichier.
+.TP
+\-R
+Mode Lecture-Seule.
+Active l'option 'readonly'.
+Vous pouvez toujours éditer le tampon, mais il vous sera impossible de
+d'écraser accidentellement un fichier.
+Si vous voulez écraser un fichier, ajoutez un point d'exclamation à la commande
+Ex, comme dans ":w!".
+L'option \-R impose l'option \-n (voir ci-dessus).
+L'option 'readonly' peut être désactivée avec ":set noro".
+Voir ":help 'readonly'".
+.TP
+\-r
+Donne la liste des fichiers d'échange, avec des informations pour les utiliser
+à des fins de recouvrement.
+.TP
+\-r {file}
+Mode Recouvrement.
+Utilise le fichier d'échange pour récouvrer d'une session d'édition plantée.
+Le fichier d'échange est un fichier avec le même nom que le fichier texte,
+suivi du suffixe ".swp".
+Voir ":help recovery".
+.TP
+\-s
+Mode Silencieux. Disponible uniquement quand
+.B Vim
+est lancé en tant que "ex" ou quand l'option "\-e" a été spécifiée avant
+l'option "\-s".
+.TP
+\-s {scriptEntrée}
+Lit le fichier de script {scriptEntrée}.
+Les caractères du fichier sont interprétés comme si vous les tapiez.
+La commande ":source! {scriptEntrée}" donne le même résultat.
+Si la fin du fichier est atteinte avant que l'éditeur quitte, les caractères
+suivants sont lus depuis le clavier.
+.TP
+\-T {terminal}
+Indique à
+.B Vim
+le nom du terminal utilisé.
+Cela n'est requis que lorsque la détection automatique échoue.
+Le {terminal} devrait être connu de
+.B Vim
+(intégré) ou défini dans le fichier termcap ou terminfo.
+.TP
+\-u {vimrc}
+Utilise les commandes du fichier {vimrc} pour les initialisations.
+Toutes les autres initialisations sont omises.
+À utiliser pour éditer un type de fichiers particulier.
+Cela permet aussi d'omettre toute initialisation en spécifiant le nom de
+fichier "NONE".
+Voir ":help initialization" dans Vim pour davantage de détails.
+.TP
+\-U {gvimrc}
+Utilise les commandes du fichier {gvimrc} pour l'initialisation de l'IHM
+graphique.
+Toutes les autres initialisations graphiques sont omises.
+Cela permet aussi d'omettre toute initialisation graphique en spécifiant le nom
+de fichier "NONE".
+Voir ":help gui\-init" dans Vim pour davantage de détails.
+.TP
+\-V[N]
+Mode Verbeux.
+Donne des messages à propos des fichiers sourcés, ainsi que sur la lecture
+et les écritures dans le fichier viminfo. le nombre optionnel N précise la
+valeur de l'option 'verbose' (10 par défaut).
+.TP
+\-v
+Démarre
+.B Vim
+en mode Vi, comme si l'exécutable s'appelait "vi". Cela n'a d'effet que si
+l'exécutable invoqué est "ex".
+.TP
+\-w {scriptSortie}
+Tous les caractères que vous tapez sont enregistrés dans le fichier
+{scriptSortie}, jusqu'à ce que vous quittiez
+.B Vim.
+C'est utile quand vous voulez créer un fichier de script à utiliser avec
+"vim \-s" ou ":source!".
+Si le fichier {scriptSortie} existe, les caractères sont ajoutés à la fin.
+.TP
+\-W {scriptSortie}
+Comme \-w, mais un fichier existant sera écrasé.
+.TP
+\-x
+Chiffre les fichiers lors de l'écriture. Une clé de chiffrement sera demandée.
+.TP
+\-X
+Ne se connecte pas au serveur X. Accélère le temps de démarrage dans un
+terminal, mais le titre de la fenêtre et le presse-papier seront inaccessibles.
+.TP
+\-y
+Démarre
+.B Vim
+en mode Débutant (easy), comme si l'exécutable s'appelait "evim" ou "eview".
+Donne à
+.B Vim
+un comportement plus proche des éditeurs « cliquez-tapez ».
+.TP
+\-Z
+Mode restreint. Fonctionne comme si l'exécutable commençait par la lettre 'r'.
+.TP
+\-\-
+Délimite la fin des options.
+Les arguments qui suivent seront considérés comme des noms de fichiers.
+Cela permet d'éditer des fichier débutant par un '\-'.
+.TP
+\-\-echo\-wid
+IHM graphique GTK uniquement : retourne la Window ID sur stdout.
+.TP
+\-\-help
+Donne un message d'aide et quitte, comme "\-h".
+.TP
+\-\-literal
+Prend les arguments de noms de fichiers littéralement, sans étendre les
+jokers. N'a aucun effet sur Unix, où le shell étend les jokers.
+.TP
+\-\-noplugin
+Ne charge pas les greffons. Implicite avec \-u NONE.
+.TP
+\-\-remote
+Se connecte à un serveur Vim et lui fait éditer les fichiers spécifiés dans
+le reste des arguments. Si aucun serveur n'est trouvé, un avertissement est
+émis et les fichiers sont édités dans le Vim courant.
+.TP
+\-\-remote\-expr {expr}
+Se connecte à un serveur Vim, y évalue {expr} et affiche le résultat sur la
+sortie standard (stdout).
+.TP
+\-\-remote\-send {touches}
+Se connecte à un serveur Vim et y envoie {touches}.
+.TP
+\-\-remote\-silent
+Comme \-\-remote, mais sans émettre d'avertissement si aucun serveur n'est
+trouvé.
+.TP
+\-\-remote\-wait
+Comme \-\-remote, mais Vim ne quitte pas tant que le fichier est en cours
+d'édition.
+.TP
+\-\-remote\-wait\-silent
+Comme \-\-remote\-wait, mais sans émettre d'avertissement si aucun serveur n'est
+trouvé.
+.TP
+\-\-serverlist
+Donne la liste des noms de tous les serveurs Vim disponibles.
+.TP
+\-\-servername {nom}
+Utilise {nom} pour le nom de serveur. Ce nom est donné au Vim courant, à moins
+qu'il ne soit utilisé avec un argument \-\-remote. Dans ce cas, il s'agit du nom
+du serveur auquel se connecter.
+.TP
+\-\-socketid {id}
+IHM graphique GTK+ uniquement : utilise le mécanisme GtkPlug pour faire
+fonctionner gvim dans une autre fenêtre.
+.TP
+\-\-version
+Affiche les informations sur la version puis quitte.
+.SH AIDE EN LIGNE
+Taper ":help" dans
+.B Vim
+pour commencer.
+Taper ":help sujet" pour obtenir de l'aide sur un sujet précis.
+Par exemple : ":help ZZ" pour consulter l'aide sur la commande "ZZ".
+Utiliser <Tab> et CTRL\-D pour compléter les sujets (":help
+cmdline\-completion").
+Des marqueurs sont inclus dans l'aide et vous permettent de sauter d'un endroit
+à un autre (comme des liens hypertextes, voir ":help").
+L'ensemble des fichiers de la documentation peut être consulté de cette
+façon, par exemple ":help syntax.txt".
+.SH FICHIERS
+.TP 15
+/usr/local/lib/vim/doc/*.txt
+Les fichiers de la documentation de
+.B Vim.
+Utiliser ":help doc\-file\-list" pour obtenir la liste complète.
+.TP
+/usr/local/lib/vim/doc/tags
+Le fichier des marqueurs utilisé pour trouver les informations dans les
+fichiers de la documentation.
+.TP
+/usr/local/lib/vim/syntax/syntax.vim
+Initialisation de la syntaxe pour l'ensemble du système.
+.TP
+/usr/local/lib/vim/syntax/*.vim
+Fichiers de syntaxe pour différents langages.
+.TP
+/usr/local/lib/vim/vimrc
+Initialisation de
+.B Vim
+pour l'ensemble du système.
+.TP
+/usr/local/lib/vim/gvimrc
+Initialisation de gvim pour l'ensemble du système.
+.TP
+/usr/local/lib/vim/optwin.vim
+Script utilisé pour la commande ":options", une manière pratique de consulter
+et de modifier les options.
+.TP
+/usr/local/lib/vim/menu.vim
+Initialisation des menus de gvim pour l'ensemble du système.
+.TP
+/usr/local/lib/vim/bugreport.vim
+Script pour générer un rapport de bogue. Voir ":help bugs".
+.TP
+/usr/local/lib/vim/filetype.vim
+Script pour détecter le type d'un fichier d'après son nom.
+Voir ":help 'filetype'".
+.TP
+/usr/local/lib/vim/scripts.vim
+Script pour détecter le type d'un fichier d'après son contenu.
+Voir ":help 'filetype'".
+.TP
+/usr/local/lib/vim/*.ps
+Fichiers utilisés pour l'impression PostScript.
+.PP
+Pour disposer d'informations récentes, consulter le site Internet de VIM :
+.br
+<URL:http://www.vim.org/>
+.SH VOIR AUSSI
+vimtutor(1)
+.SH AUTEUR
+La majeure partie de
+.B Vim
+a été écrite par Bram Moolenaar, avec l'aide de nombreux autres contributeurs.
+Voir ":help credits" dans
+.B Vim.
+.br
+.B Vim
+est basé sur Stevie, réalisé par Tim Thompson,
+Tony Andrews et G.R. (Fred) Walter.
+Toutefois, pratiquement rien du code original ne subsiste.
+.SH BOGUES
+Probablement.
+Voir ":help todo" pour consulter la liste des problèmes connus.
+.PP
+NOTE : Remarquez que bon nombre de points, qui pourraient être considérés comme
+des bugs par certains, sont en fait dus à une reproduction trop fidèle
+du comportement de Vi. Et si vous pensez que d'autres points sont des
+bugs "parce que Vi le fait différemment", vous devriez jeter un oeil
+attentif au fichier vi_diff.txt (ou taper ":help vi_diff.txt" dans Vim).
+Regardez aussi les options 'compatible' et 'coptions'.
+.SH TRADUCTION
+Cette page de manuel a été traduite par Richard Hitier.
+<richard.hitier@dial.oleane.com> 2000-08-07.
+.br
+Cette page de manuel a été mise à jour par David Blanchet.
+<david.blanchet@free.fr> 2005-01-17.
diff --git a/runtime/doc/vim-fr.UTF-8.1 b/runtime/doc/vim-fr.UTF-8.1
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/runtime/doc/vim-fr.UTF-8.1
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index fb7cf9e1c..8fd966619 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -1,4 +1,4 @@
-*windows.txt* For Vim version 7.0aa. Last change: 2005 Feb 18
+*windows.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -516,7 +516,7 @@ The minimal height and width of a window is set with 'winminheight' and
24. :[N]sprevious [N] 34. :[N]sbprevious [N] split + to Nth previous arg/buf
25. :srewind / :sfirst 35. :sbrewind / :sbfirst split + to first arg/buf
26. :slast 36. :sblast split + to last arg/buf
-27. :sall 37: :sball edit all args/buffers
+27. :sall 37. :sball edit all args/buffers
38. :sunhide edit all loaded buffers
39. :[N]sbmod [N] split + to Nth modified buf
@@ -725,7 +725,7 @@ to have it keep the same height when opening/closing other windows.
:pta[g][!] [tagname]
Does ":tag[!] [tagname]" and shows the found tag in a
"Preview" window without changing the current buffer or cursor
- position. If a "Preview" window already exists, it is re-used
+ position. If a "Preview" window already exists, it is re-used
(like a help window is). If a new one is opened,
'previewheight' is used for the height of the window. See
also |:tag|.
@@ -750,12 +750,12 @@ CTRL-W CTRL-Z *CTRL-W_CTRL-Z* *:pc* *:pclose*
CTRL-W } *CTRL-W_}*
Use identifier under cursor as a tag and perform a :ptag on
- it. Make the new Preview window (if required) N high. If N is
+ it. Make the new Preview window (if required) N high. If N is
not given, 'previewheight' is used.
CTRL-W g } *CTRL-W_g}*
Use identifier under cursor as a tag and perform a :ptjump on
- it. Make the new Preview window (if required) N high. If N is
+ it. Make the new Preview window (if required) N high. If N is
not given, 'previewheight' is used.
*:ped* *:pedit*
@@ -903,7 +903,7 @@ list of buffers. |unlisted-buffer|
:bad[d] [+lnum] {fname}
Add file name {fname} to the buffer list, without loading it.
If "lnum" is specified, the cursor will be positioned at that
- line when the buffer is first entered. Note that other
+ line when the buffer is first entered. Note that other
commands after the + will be ignored.
:[N]bd[elete][!] *:bd* *:bdel* *:bdelete* *E516*
@@ -1002,7 +1002,7 @@ list of buffers. |unlisted-buffer|
buffer (if there is one). Similarly, if you are in a normal
(non-help) buffer, this takes you to the next normal buffer.
This is so that if you have invoked help, it doesn't get in
- the way when you're browsing code/text buffers. The next three
+ the way when you're browsing code/text buffers. The next three
commands also work like this.
*:sbn* *:sbnext*
diff --git a/runtime/doc/workshop.txt b/runtime/doc/workshop.txt
index 7168c7515..f51390555 100644
--- a/runtime/doc/workshop.txt
+++ b/runtime/doc/workshop.txt
@@ -1,4 +1,4 @@
-*workshop.txt* For Vim version 7.0aa. Last change: 2004 Jan 08
+*workshop.txt* For Vim version 7.0aa. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Gordon Prieur
@@ -19,14 +19,14 @@ Sun Visual WorkShop Features *workshop* *workshop-support*
1. Introduction *workshop-intro*
Sun Visual WorkShop has an "Editor of Choice" feature designed to let users
-debug using their favorite editors. For the 6.0 release we have added support
-for gvim. A workshop debug session will have a debugging window and an editor
-window (possibly others as well). The user can do many debugging operations
+debug using their favorite editors. For the 6.0 release we have added support
+for gvim. A workshop debug session will have a debugging window and an editor
+window (possibly others as well). The user can do many debugging operations
from the editor window, minimizing the need to switch from window to window.
The version of vim shipped with Sun Visual WorkShop 6 (also called Forte
-Developer 6) is vim 5.3. The features in this release are much more reliable
-than the vim/gvim shipped with Visual WorkShop. VWS users wishing to use vim
+Developer 6) is vim 5.3. The features in this release are much more reliable
+than the vim/gvim shipped with Visual WorkShop. VWS users wishing to use vim
as their editor should compile these sources and install them in their
workshop release tree.
@@ -43,9 +43,9 @@ sends the verb and data to workshop over an IPC connection.
3. Compiling vim/gvim for WorkShop *workshop-compiling*
Compiling vim with FEAT_SUN_WORKSHOP turns on all compile time flags necessary
-for building a vim to work with Visual WorkShop. The features required for VWS
-have been built and tested using the Sun compilers from the VWS release. They
-have not been built or tested using Gnu compilers. This does not mean the
+for building a vim to work with Visual WorkShop. The features required for VWS
+have been built and tested using the Sun compilers from the VWS release. They
+have not been built or tested using Gnu compilers. This does not mean the
features won't build and run if compiled with gcc, just that nothing is
guaranteed with gcc!
@@ -55,17 +55,17 @@ guaranteed with gcc!
There are several assumptions which must be met in order to compile a gvim for
use with Sun Visual WorkShop 6.
- o You should use the compiler in VWS rather than gcc. We have neither
+ o You should use the compiler in VWS rather than gcc. We have neither
built nor tested with gcc and cannot guarantee it will build properly.
- o You must supply your own XPM library. See |workshop-xpm| below for
+ o You must supply your own XPM library. See |workshop-xpm| below for
details on obtaining the latest version of XPM.
o Edit the Makefile in the src directory and uncomment the lines for Sun
- Visual WorkShop. You can easily find these by searching for the string
+ Visual WorkShop. You can easily find these by searching for the string
FEAT_SUN_WORKSHOP
- o We also suggest you use Motif for your gui. This will provide gvim with
+ o We also suggest you use Motif for your gui. This will provide gvim with
the same look-and-feel as the rest of Sun Visual WorkShop.
The following configuration line can be used to configure vim to build for use
@@ -75,10 +75,10 @@ with Sun Visual WorkShop:
-prefix=<VWS-install-dir>/contrib/contrib6/<vim-version>
The VWS-install-dir should be the base directory where your Sun Visual WorkShop
-was installed. By default this is /opt/SUNWspro. It will normally require
-root permissions to install the vim release. You will also need to change the
+was installed. By default this is /opt/SUNWspro. It will normally require
+root permissions to install the vim release. You will also need to change the
symlink <VWS-install-dir>/bin/gvim to point to the vim in your newly installed
-directory. The <vim-version> should be a unique version string. I use "vim"
+directory. The <vim-version> should be a unique version string. I use "vim"
concatenated with the equivalent of version.h's VIM_VERSION_SHORT.
==============================================================================
@@ -88,11 +88,11 @@ The XPM library is required to show images within Vim with Motif or Athena.
Without it the toolbar and signs will be disabled.
The XPM library is provide by Arnaud Le Hors of the French National Institute
-for Research in Computer Science and Control. It can be downloaded from
-http://koala.ilog.fr/ftp/pub/xpm. The current release, as of this writing, is
-xpm-3.4k-solaris.tgz, which is a gzip'ed tar file. If you create the directory
+for Research in Computer Science and Control. It can be downloaded from
+http://koala.ilog.fr/ftp/pub/xpm. The current release, as of this writing, is
+xpm-3.4k-solaris.tgz, which is a gzip'ed tar file. If you create the directory
/usr/local/xpm and untar the file there you can use the uncommented lines in
-the Makefile without changing them. If you use another xpm directory you will
+the Makefile without changing them. If you use another xpm directory you will
need to change the XPM_DIR in src/Makefile.
vim:tw=78:ts=8:ft=help:norl:
diff --git a/runtime/doc/xxd-fr.UTF-8.1 b/runtime/doc/xxd-fr.UTF-8.1
new file mode 100644
index 000000000..d57545850
--- /dev/null
+++ b/runtime/doc/xxd-fr.UTF-8.1
@@ -0,0 +1,395 @@
+.TH XXD 1 "août 1996" "Page de manuel pour xxd"
+.\"
+.\" 21st May 1996
+.\" Man page author:
+.\" Tony Nugent <tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
+.\" Changes by Bram Moolenaar <Bram@vim.org>
+.\" French translation by David Blanchet <david.blanchet@free.fr> 2005-03
+.SH NOM
+.I xxd
+\- convertit en représentation hexadécimale et inversement.
+.SH SYNOPSIS
+.B xxd
+\-h[elp]
+.br
+.B xxd
+[options] [fichier_entree [fichier_sortie]]
+.br
+.B xxd
+\-r[evert] [options] [fichier_entree [fichier_sortie]]
+.SH DESCRIPTION
+.I xxd
+crée un fichier contenant la représentation hexadécimale d'un fichier
+binaire ou de l'entrée standard.
+Il peut également convertir un fichier de codes hexadécimaux en un fichier
+binaire.
+Comme
+.BR uuencode(1)
+et
+.BR uudecode(1)
+il permet la transmission de données binaires dans une représentation ASCII
+compatible avec le courrier électronique, mais a l'avantage de décoder la
+sortie standard.
+De plus, il peut être utilisé pour appliquer des rustines à des fichiers
+binaires.
+.SH OPTIONS
+Si aucun
+.I fichier_entree
+n'est spécifié, l'entrée standard est utilisée.
+Si
+.I fichier_entree
+correspond au caractère
+.RB '\-'
+\, l'entrée standard est employée comme source des données en entrée.
+Si aucun
+.I fichier_sortie
+n'est spécifié (ou qu'un caractère
+.RB '\-'
+est donné à sa place), le résultat est envoyé sur la sortie standard.
+.PP
+NOTE : un analyseur paresseux est utilisé. Il ne vérifie pas au-delà de la
+première lettre de l'option, à moins que cette dernière ne requiert un
+paramètre.
+L'espace entre l'option et son paramètre est optionnel.
+Les paramètres des options peuvent être spécifiés en notation décimale,
+hexadécimale ou octale.
+Ainsi
+.BR \-c8 ,
+.BR "\-c 8" ,
+.B \-c 010
+et
+.B \-cols 8
+sont tous équivalents.
+.TP
+.IR \-a " | " \-autoskip
+active la fonctionnalité "autoskip" : le caractère '*' remplace les lignes
+d'octets nuls. Désactivée par défaut.
+.TP
+.IR \-b " | " \-bits
+Convertit en binaires plutôt qu'en hexadécimal.
+Cette option écrit les octets comme une séquence de "1" et de "0" au lieu
+d'une conversion en hexadécimal traditionnel. Chaque ligne est précédée par un
+numéro de ligne en hexadécimal et suivie de la représentation ASCII (ou
+EBCDIC) correspondante. Les options \-r, \-p, \-i ne fonctionnent pas dans ce
+mode.
+.TP
+.IR "\-c cols " | " \-cols cols"
+place
+.RI < cols >
+octets par ligne. 16 par défaut (\-i : 12, \-ps : 30, \-b : 6). Maximum 256.
+.TP
+.IR \-E " | " \-EBCDIC
+Passe le codage des caractères de la colonne de droite de ASCII à EBCDIC.
+Cela ne change pas la représentation hexadécimale. Cette option est sans effet
+quand elle est utilisée avec \-r, \-p or \-i.
+.TP
+.IR "\-g octets " | " \-groupsize octets"
+Regroupe les octets (deux chiffres hexadécimaux ou huit chiffres binaires)
+par groupe de
+.RI < octets >
+\, séparés par des espaces blancs. Spécifiez
+.I \-g 0
+pour supprimer le regroupement.
+.RI < octets >
+vaut 2 par défaut dans le mode normal et \fI1\fP en
+représentation binaire. Le regroupement ne s'applique pas aux styles
+Postscript et Include.
+.TP
+.IR \-h " | " \-help
+Affiche un résumé des commandes disponibles et quitte. Aucune conversion n'est
+effectuée.
+.TP
+.IR \-i " | " \-include
+produit une sortie dans le style #include (fichier C à inclure). La définition
+complète d'un tableau statique est écrite et est nommée d'après le fichier
+d'origine, à moins que xxd lise depuis l'entrée standard.
+.TP
+.IR "\-l long " | " \-len long"
+Arrête après l'écriture de
+.RI < long >
+octets.
+.TP
+.IR \-p " | " \-ps " | " \-postscript " | " \-plain
+Produit une conversion continue dans le style Postscript (postscript continuous
+hexdumd style).
+Également connu sous le nom de « conversion brute » (plain hexdump style).
+.TP
+.IR \-r " | " \-revert
+Opération inverse : convertit un fichier hexadécimal en un fichier binaire (ou
+applique une rustine à un fichier binaire).
+Si l'écriture n'a pas lieu sur la sortie standard, xxd écrit dans le fichier
+qu'il produit sans le tronquer. Utilisez la combinaison
+.I \-r \-p
+pour lire de l'hexadécimal brut sans information sur le numéro des lignes et
+sans format de colonnes particulier. Des espaces blancs et coupures de lignes
+supplémentaires sont autorisés à n'importe quel endroit.
+.TP
+.I \-seek décalage
+Utilisé après l'option
+.I \-r
+\: inverse la conversion en ajoutant
+.RI < décalage >
+aux positions dans le fichier données dans le code hexadécimal.
+.TP
+.I \-s [\+][\-]décalage
+Débute au
+.RI < décalage >
+absolu ou relatif dans fichier_entree.
+\fI\+ \fRindique que le décalage est relatif à la position courante dans
+l'entrée standard (sans effet si la lecture n'a pas lieu sur l'entrée
+standard). \fI\- \fRindique un décalage en caractères depuis la fin de
+l'entrée (utilisé avec \fI \+ \fR, désigne la position avant la position
+actuelle de l'entrée standard).
+Sans l'option \-s, xxd démarre à la position courante du fichier.
+.TP
+.I \-u
+Utilise des chiffres hexadécimaux majuscules. La casse par défaut est
+minuscule.
+.TP
+.IR \-v " | " \-version
+Affiche la version de xxd.
+.SH MISE EN GARDE
+.I xxd \-r
+effectue des opérations internes un peu obscures lors de l'évaluation
+des informations sur les numéros de lignes. Si le fichier de sortie est
+adressable, alors les numéros de lignes au début de chaque ligne d'hexadécimal
+peuvent être désordonnées, des lignes peuvent manquer ou se chevaucher. Dans
+ces cas, xxd utilisera lseek(2) pour déterminer la prochaine position. Si le
+fichier n'est pas adressable, seuls les vides sont autorisés, et ils seront
+comblés par des octets nuls.
+.PP
+.I xxd \-r
+ne génère aucune erreur lors de l'analyse. Le problème sont passés
+silencieusement.
+.PP
+Lors de l'édition de la représentation hexadécimale, veuillez noter que
+.I xxd \-r
+ignore tout ce qui se trouve sur la ligne après avoir lu suffisamment de
+données hexadécimales (voir l'option \-c). Cela signifie également que les
+modifications dans la colonne ASCII (ou EBCDIC) sont toujours ignorées. La
+conversion inverse de données hexadécimales brutes (postscript) avec xxd \-r
+\-p ne dépend pas d'un nombre correct de colonnes. Dans ce cas, tout ce qui
+ressemble à une paire de chiffres hexadécimaux est interprété.
+.PP
+Remarquez la différence entre
+.br
+\fI% xxd \-i fichier\fR
+.br
+et
+.br
+\fI% xxd \-i \< fichier\fR
+.PP
+.I xxd \-s \+seek
+peut différer de
+.I xxd \-s seek
+\, car lseek(2) est utilisé pour « revenir en arrière ». Le '+' fait une
+différence quand la source des données est l'entrée standard et si la position
+dans le fichier de l'entrée standard n'est pas au début du fichier lorsque xxd
+est démarré et qu'il reçoit ses données.
+L'exemple suivant peut vous aider à comprendre (ou bien vous perdre davantage
+encore !)...
+.PP
+Remettre l'entrée standard au départ avant de lire ; nécessaire car 'cat' a
+déjà lu jusqu'à la fin de l'entrée standard.
+.br
+\fI% sh \-c 'cat > donnees_binaires; xxd \-s 0 > donnees_hexa' < fichier\fR
+.PP
+Convertir à partir de la position 0x480 (= 1024 + 128) du fichier.
+Le symbole '+' signifie "relativement à la position actuelle', ainsi 128 est
+ajouté aux 1024 octets comptabilisés pour dd.
+.br
+\fI% sh \-c 'dd of=donnees_binaires bs=1k count=1; xxd \-s +128 >
+donnees_hexa' < fichier\fR
+.PP
+Convertir de fichier depuis la position 0x100 (= 1024 - 768) du fichier.
+.br
+\fI% sh \-c 'dd of=donnees_binaires bs=1k count=1; xxd \-s +\-768 >
+donnees_hexa' < fichier\fR
+.PP
+Toutefois, cette situation est peu fréquente et l'utilisation de '+' est
+rarement requise. L'auteur préfère surveiller les effets de xxd avec strace(1)
+ou truss(1) quand \-s est employé.
+.SH EXEMPLES
+Afficher la totalité du
+.B fichier
+sauf les trois premières lignes (0x30 octets en hexadécimal).
+.br
+\fI% xxd \-s 0x30 fichier\fR
+.PP
+afficher les trois dernières lignes (0x30 octets en hexadécimal) du
+.B fichier
+\.
+.br
+\fI% xxd \-s \-0x30 fichier\fR
+.PP
+.br
+Afficher 120 octets convertis en continu, avec 20 octets par ligne.
+.br
+\fI% xxd \-l 120 \-ps \-c 20 xxd\-fr.1\fR
+.br
+2e54482058584420312022616ffb742031393936
+.br
+22202250616765206465206d616e75656c20706f
+.br
+757220787864220a2e5c220a2e5c222032317374
+.br
+204d617920313939360a2e5c22204d616e207061
+.br
+676520617574686f723a0a2e5c2220202020546f
+.br
+6e79204e7567656e74203c746f6e79407363746e
+.br
+204e7567656e74203c746f6e79407363746e7567
+.br
+2e54482058584420312022417567757374203139
+.PP
+Convertir les 120 premiers octets de cette page de manuel avec 12 octets par
+ligne.
+.br
+\fI% xxd \-l 120 \-c 12 xxd\-fr.1\fR
+.br
+0000000: 2e54 4820 5858 4420 3120 2261 .TH XXD 1 "a
+.br
+000000c: 6ffb 7420 3139 3936 2220 2250 o.t 1996" "P
+.br
+0000018: 6167 6520 6465 206d 616e 7565 age de manue
+.br
+0000024: 6c20 706f 7572 2078 7864 220a l pour xxd".
+.br
+0000030: 2e5c 220a 2e5c 2220 3231 7374 .\"..\" 21st
+.br
+000003c: 204d 6179 2031 3939 360a 2e5c May 1996..\
+.br
+0000048: 2220 4d61 6e20 7061 6765 2061 " Man page a
+.br
+0000054: 7574 686f 723a 0a2e 5c22 2020 uthor:..\"
+.br
+0000060: 2020 546f 6e79 204e 7567 656e Tony Nugen
+.br
+000006c: 7420 3c74 6f6e 7940 7363 746e t <tony@sctn
+.PP
+Afficher la date écrite au début du fichier xxd\-fr.1.
+.br
+\fI% xxd \-s 0x38 \-l 13 \-c 13 xxd.1\fR
+.br
+0000036: 3231 7374 204d 6179 2031 3939 36 21st May 1996
+.PP
+Copier
+.B fichier_entree
+vers
+.B fichier_sortie
+en ajoutant 100 octets de valeur 0x00 avant.
+.br
+\fI% xxd fichier_entree | xxd \-r \-s 100 \> fichier_sortie\fR
+.PP
+Patcher la date dans le fichier xxd.1
+.br
+\fI% echo '0000037: 3574 68' | xxd \-r \- xxd\-fr.1\fR
+.br
+\fI% xxd \-s 0x38 \-l 13 \-c 13 xxd\-fr.1\fR
+.br
+0000036: 3235 7468 204d 6179 2031 3939 36 25th May 1996
+.PP
+Créer un fichier de 65537 octets tous nuls (0x00),
+sauf le dernier qui vaut 'A' (0x41 en hexadécimal).
+.br
+\fI% echo '010000: 41' | xxd \-r \> fichier\fR
+.PP
+.br
+Convertir le fichier de l'exemple précédent avec la fonctionnalité "autoskip".
+.br
+\fI% xxd \-a \-c 12 fichier\fR
+.br
+0000000: 0000 0000 0000 0000 0000 0000 ............
+.br
+*
+.br
+000fffc: 0000 0000 40 ....A
+.PP
+Créer un fichier d'un octet, contenant seulement le caractère 'A'.
+Les nombres après '\-r \-s' s'ajoutent au numéros de lignes trouvées dans le
+fichier ; XXX in effects, les octets initiaux sont supprimés.
+.br
+\fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> fichier\fR
+.PP
+Utiliser xxd comme filtre dans un éditeur tel que
+.B vim(1)
+pour convertir une zone comprise entre les marques 'a' et 'z'.
+.br
+\fI:'a,'z!xxd\fR
+.PP
+Utiliser xxd comme filtre dans un éditeur tel que
+.B vim(1)
+pour récupérer une conversion binaire comprise entre les marques 'a' et 'z'.
+.br
+\fI:'a,'z!xxd \-r\fR
+.PP
+Utiliser xxd comme filtre dans un éditeur tel que
+.B vim(1)
+pour récupérer une ligne convertie. Placez le curseur sur la ligne et tapez :
+.br
+\fI!!xxd \-r\fR
+.PP
+Lire des caractères depuis une connexion série :
+.br
+\fI% xxd \-c1 < /dev/term/b &\fR
+.br
+\fI% stty < /dev/term/b \-echo \-opost \-isig \-icanon min 1\fR
+.br
+\fI% echo \-n foo > /dev/term/b\fR
+.SH VALEURS DE RETOUR
+Les erreurs suivantes sont rapportées :
+.TP
+0
+aucune erreur ne s'est produit.
+.TP
+\-1
+opération non supportée (
+.I xxd \-r \-i
+reste impossible).
+.TP
+1
+erreur lors de l'analyse des options.
+.TP
+2
+problème avec le fichier d'entrée.
+.TP
+3
+problème avec le fichier de sortie.
+.TP
+4, 5
+la position spécifiée n'est pas atteignable.
+.SH VOIR AUSSI
+uuencode(1), uudecode(1), patch(1)
+.SH AVERTISSEMENTS
+L'étrangeté de cet outil reflète celle du cerveau de ses créateurs.
+Utilisez cet outil à vos risques et périls. Dupliquez vos fichiers.
+Surveillez l'outil. Devenez un gourou.
+.SH VERSION
+Cette page de manuel documente la version 1.7 de xxd.
+.SH AUTEUR
+(c) 1990-1997 par Juergen Weigert
+.br
+<jnweiger@informatik.uni-erlangen.de>
+.LP
+"Distribute freely and credit me,
+.br
+make money and share with me,
+.br
+lose money and don't ask me."
+.PP
+Distribution libre en citant l'auteur,
+.br
+gagnez de l'argent, pensez à moi,
+.br
+perdez de l'argent, oubliez-moi.
+.PP
+Page de manuel débutée par Tony Nugent
+.br
+<tony@sctnugen.ppp.gu.edu.au> <T.Nugent@sct.gu.edu.au>
+.br
+Modifications mineures par Bram Moolenaar.
+Édité par Juergen Weigert.
+.SH TRADUCTION
+Cette page de manuel a été traduite par David Blanchet
+<david.blanchet@free.fr> 2004-12-24.