Skip to content

Commit 7b671a2

Browse files
committed
Update runtime files.
1 parent 1198b1a commit 7b671a2

31 files changed

+324
-239
lines changed

runtime/doc/change.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 7.3. Last change: 2012 Jun 13
1+
*change.txt* For Vim version 7.3. Last change: 2012 Aug 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -666,6 +666,8 @@ The flags that you can use for the substitute commands:
666666
[n] Report the number of matches, do not actually substitute. The [c]
667667
flag is ignored. The matches are reported as if 'report' is zero.
668668
Useful to |count-items|.
669+
If \= |sub-replace-expression| is used, the expression will be
670+
evaluated in the |sandbox| at every match.
669671

670672
[p] Print the line containing the last substitute.
671673

runtime/doc/diff.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*diff.txt* For Vim version 7.3. Last change: 2012 May 18
1+
*diff.txt* For Vim version 7.3. Last change: 2012 Aug 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -333,7 +333,7 @@ diff. This example explains the format that Vim expects: >
333333
334334
The "1a2" item appends the line "bbb".
335335
The "4d4" item deletes the line "111".
336-
The '7c7" item replaces the line "GGG" with "ggg".
336+
The "7c7" item replaces the line "GGG" with "ggg".
337337

338338
When 'diffexpr' is not empty, Vim evaluates it to obtain a diff file in the
339339
format mentioned. These variables are set to the file names used:

runtime/doc/editing.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 7.3. Last change: 2012 Jul 10
1+
*editing.txt* For Vim version 7.3. Last change: 2012 Aug 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -393,7 +393,7 @@ is to use "path\[[]abc]". Then the file "path[abc]" literally.
393393
*starstar-wildcard*
394394
Expanding "**" is possible on Unix, Win32, Mac OS/X and a few other systems.
395395
This allows searching a directory tree. This goes up to 100 directories deep.
396-
Note there are some commands where this works slightly different, see
396+
Note there are some commands where this works slightly differently, see
397397
|file-searching|.
398398
Example: >
399399
:n **/*.txt

runtime/doc/eval.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.3. Last change: 2012 Jul 10
1+
*eval.txt* For Vim version 7.3. Last change: 2012 Aug 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3288,8 +3288,9 @@ getfperm({fname}) *getfperm()*
32883288
"rwx" flags represent, in turn, the permissions of the owner
32893289
of the file, the group the file belongs to, and other users.
32903290
If a user does not have a given permission the flag for this
3291-
is replaced with the string "-". Example: >
3291+
is replaced with the string "-". Examples: >
32923292
:echo getfperm("/etc/passwd")
3293+
:echo getfperm(expand("~/.vimrc"))
32933294
< This will hopefully (from a security point of view) display
32943295
the string "rw-r--r--" or even "rw-------".
32953296

@@ -6325,6 +6326,7 @@ mouse_gpm Compiled with support for gpm (Linux console mouse)
63256326
mouse_netterm Compiled with support for netterm mouse.
63266327
mouse_pterm Compiled with support for qnx pterm mouse.
63276328
mouse_sysmouse Compiled with support for sysmouse (*BSD console mouse)
6329+
mouse_sgr Compiled with support for sgr mouse.
63286330
mouse_urxvt Compiled with support for urxvt mouse.
63296331
mouse_xterm Compiled with support for xterm mouse.
63306332
mouseshape Compiled with support for 'mouseshape'.

runtime/doc/gui_w32.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_w32.txt* For Vim version 7.3. Last change: 2011 Jul 23
1+
*gui_w32.txt* For Vim version 7.3. Last change: 2012 Aug 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -489,4 +489,16 @@ to:
489489
And add gvim to the list of applications. This problem only appears to happen
490490
with the Intellimouse driver 2.2 and when "Universal Scrolling" is turned on.
491491

492+
493+
XPM support *w32-xpm-support*
494+
495+
Gvim can be build on MS-Windows with support for XPM files. |+xpm_w32|
496+
See the Make_mvc.mak file for instructions, search for XPM.
497+
498+
To try out if XPM support works do this: >
499+
:help
500+
:exe 'sign define vimxpm icon=' . $VIMRUNTIME . '\\vim16x16.xpm'
501+
:exe 'sign place 1 line=1 name=vimxpm file=' . expand('%:p')
502+
<
503+
492504
vim:tw=78:sw=4:ts=8:ft=help:norl:

runtime/doc/if_perl.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_perl.txt* For Vim version 7.3. Last change: 2010 Jul 21
1+
*if_perl.txt* For Vim version 7.3. Last change: 2012 Aug 02
22

33

44
VIM REFERENCE MANUAL by Sven Verdoolaege
@@ -44,15 +44,17 @@ The Perl patches for Vim were made by:
4444
Sven Verdoolaege <[email protected]>
4545
Matt Gerassimof
4646

47-
Perl for MS-Windows can be found at:
48-
http://www.perl.com/CPAN/ports/nt/Standard/x86/
47+
Perl for MS-Windows can be found at: http://www.perl.com/
48+
The ActiveState one should work.
4949

5050
==============================================================================
5151
3. Using the Perl interface *perl-using*
5252

5353
*:perl* *:pe*
5454
:pe[rl] {cmd} Execute Perl command {cmd}. The current package
55-
is "main".
55+
is "main". Simple example to test if `:perl` is
56+
working: >
57+
:perl VIM::Msg("Hello")
5658
5759
:pe[rl] << {endpattern}
5860
{script}

runtime/doc/if_pyth.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_pyth.txt* For Vim version 7.3. Last change: 2012 Feb 04
1+
*if_pyth.txt* For Vim version 7.3. Last change: 2012 Aug 02
22

33

44
VIM REFERENCE MANUAL by Paul Moore
@@ -27,7 +27,9 @@ The Python 3 interface is available only when Vim was compiled with the
2727

2828
*:python* *:py* *E205* *E263* *E264*
2929
:[range]py[thon] {stmt}
30-
Execute Python statement {stmt}.
30+
Execute Python statement {stmt}. A simple check if
31+
the `:python` command is working: >
32+
:python print "Hello"
3133
3234
:[range]py[thon] << {endmarker}
3335
{script}
@@ -362,8 +364,10 @@ sure edit "gvim.exe" and search for "python\d*.dll\c".
362364
8. Python 3 *python3*
363365

364366
*:py3* *:python3*
365-
The |:py3| and |:python3| commands work similar to |:python|.
366-
*:py3file*
367+
The |:py3| and |:python3| commands work similar to |:python|. A simple check
368+
if the `:py3` command is wrong: >
369+
:py3 print("Hello")
370+
< *:py3file*
367371
The |:py3file| command works similar to |:pyfile|.
368372

369373

runtime/doc/if_ruby.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_ruby.txt* For Vim version 7.3. Last change: 2010 Oct 27
1+
*if_ruby.txt* For Vim version 7.3. Last change: 2012 Aug 02
22

33

44
VIM REFERENCE MANUAL by Shugo Maeda
@@ -25,7 +25,8 @@ downloading Ruby there.
2525
1. Commands *ruby-commands*
2626

2727
*:ruby* *:rub*
28-
:rub[y] {cmd} Execute Ruby command {cmd}.
28+
:rub[y] {cmd} Execute Ruby command {cmd}. A command to try it out: >
29+
:ruby print "Hello"
2930
3031
:rub[y] << {endpattern}
3132
{script}
@@ -40,9 +41,6 @@ downloading Ruby there.
4041
wasn't compiled in. To avoid errors, see
4142
|script-here|.
4243

43-
Command to try it out: >
44-
:ruby print "Hello" # this is a comment
45-
4644
Example Vim script: >
4745
4846
function! RedGem()
@@ -211,6 +209,8 @@ for sure edit "gvim.exe" and search for "ruby\d*.dll\c".
211209

212210
If you want to build Vim with Ruby 1.9.1, you need to edit the config.h file
213211
and comment-out the check for _MSC_VER.
212+
You may also need to rename the include directory name to match the version,
213+
strangely for Ruby 1.9.3 the directory is called 1.9.1.
214214

215215
==============================================================================
216216
vim:tw=78:ts=8:ft=help:norl:

runtime/doc/if_tcl.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_tcl.txt* For Vim version 7.3. Last change: 2008 Aug 16
1+
*if_tcl.txt* For Vim version 7.3. Last change: 2012 Aug 02
22

33

44
VIM REFERENCE MANUAL by Ingo Wilken
@@ -27,7 +27,9 @@ comments, ideas etc to <[email protected]>
2727
1. Commands *tcl-ex-commands* *E571* *E572*
2828

2929
*:tcl* *:tc*
30-
:tc[l] {cmd} Execute Tcl command {cmd}.
30+
:tc[l] {cmd} Execute Tcl command {cmd}. A simple check if `:tcl`
31+
is working: >
32+
:tcl puts "Hello"
3133
3234
:[range]tc[l] << {endmarker}
3335
{script}

runtime/doc/motion.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim version 7.3. Last change: 2012 Jul 25
1+
*motion.txt* For Vim version 7.3. Last change: 2012 Aug 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -326,6 +326,7 @@ gg Goto line [count], default first line, on the first
326326
non-blank character |linewise|. If 'startofline' not
327327
set, keep the same column.
328328

329+
*:[range]*
329330
:[range] Set the cursor on the last line number in [range].
330331
[range] can also be just one line number, e.g., ":1"
331332
or ":'m".

0 commit comments

Comments
 (0)