mirror of
https://github.com/vim/vim
synced 2025-09-01 09:40:01 +00:00
Compare commits
219 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
733f0a286e | ||
|
33c4fb68bf | ||
|
f2a4e33ffb | ||
|
7f6ca07606 | ||
|
311d982b6f | ||
|
602eb74de6 | ||
|
fa3491a0e0 | ||
|
09a16b5f09 | ||
|
77f66d6c8d | ||
|
85c79d30ff | ||
|
0396ab0156 | ||
|
373154b00c | ||
|
ad40f02cd9 | ||
|
b01a8b749b | ||
|
47b8b15b5f | ||
|
48b66fb5a7 | ||
|
86ea76404e | ||
|
0739a1e671 | ||
|
8c471fa0b3 | ||
|
8dd1aa58ad | ||
|
fb7c90c0fa | ||
|
56da797e6d | ||
|
84c4d79ad4 | ||
|
863b53b72e | ||
|
89ed3dfd87 | ||
|
9460b9d215 | ||
|
d675e2c513 | ||
|
df88dda91c | ||
|
201863f75d | ||
|
cf8e7d14aa | ||
|
9c4b4ab3a6 | ||
|
61b974b9ee | ||
|
3b1b6c6259 | ||
|
f278987c97 | ||
|
4632d298ad | ||
|
3d20ca1ad1 | ||
|
85f868c3ae | ||
|
b0c9a85bc8 | ||
|
9334c3447a | ||
|
b42dc236e9 | ||
|
508b9e895d | ||
|
93db975fa4 | ||
|
9a51c6e35d | ||
|
c65c491295 | ||
|
84212825ed | ||
|
908d53a230 | ||
|
d333d1e086 | ||
|
3f2d9814e5 | ||
|
6ae133b915 | ||
|
e9da72e482 | ||
|
5a6404cff4 | ||
|
219b87038a | ||
|
74c596b5a8 | ||
|
0cae847008 | ||
|
8b610cfc7c | ||
|
d13506289a | ||
|
09ef47a32a | ||
|
2647063968 | ||
|
a2a31754a4 | ||
|
cba2ae53a6 | ||
|
38c0a6e6fa | ||
|
2d8b2d8df9 | ||
|
640009dca3 | ||
|
5fc1a8b5d7 | ||
|
a350f4a54f | ||
|
1769d5a8c9 | ||
|
8b402a0a87 | ||
|
bc444827c2 | ||
|
adcb9497e8 | ||
|
b90daee952 | ||
|
e163f1cb99 | ||
|
685295c3c4 | ||
|
b47a240593 | ||
|
df40adfcf4 | ||
|
c67764a705 | ||
|
2cc9318401 | ||
|
043545e0f6 | ||
|
57ac3a2163 | ||
|
da68cf33d8 | ||
|
31e97bf0ee | ||
|
f3442e7274 | ||
|
6179c61827 | ||
|
69a7e43028 | ||
|
a1b5aa52c4 | ||
|
9c69732279 | ||
|
8838aeeea9 | ||
|
21bffa7550 | ||
|
c0a0ab5c54 | ||
|
970cf12a3c | ||
|
7bd2cd8d19 | ||
|
d9b8733023 | ||
|
5948a57702 | ||
|
d9dfd57f4a | ||
|
132283f943 | ||
|
658ada69f4 | ||
|
60a495f02e | ||
|
89f3727bd9 | ||
|
15ff6c1940 | ||
|
e38536441c | ||
|
bc1a7c32e3 | ||
|
b38dea217f | ||
|
27a2319183 | ||
|
d29a9eefb6 | ||
|
a391707d9f | ||
|
494c82ae16 | ||
|
ac2adc79f7 | ||
|
2113a1d623 | ||
|
05bb82f949 | ||
|
29b2d2694d | ||
|
7875acc373 | ||
|
82ce8c7d0f | ||
|
45125098b3 | ||
|
55b7cf8ae2 | ||
|
41e6cd5f2a | ||
|
7ad753cf43 | ||
|
6f11a4155c | ||
|
4395a71d2c | ||
|
1f788e7c43 | ||
|
c218a2e9e3 | ||
|
498efdb7f6 | ||
|
53ed192b3c | ||
|
6abf17bc7e | ||
|
9fecb460fe | ||
|
203335e4a9 | ||
|
ac48dbff43 | ||
|
68c3174108 | ||
|
de94768cc7 | ||
|
d9380f5c6d | ||
|
42dd2a16bf | ||
|
4e957aff02 | ||
|
9526a543cc | ||
|
9af1ba96e5 | ||
|
8f2ff9fc86 | ||
|
7073cc84bc | ||
|
265e5074b5 | ||
|
9160f30161 | ||
|
89d4032cae | ||
|
4100af7840 | ||
|
e8c3a1408b | ||
|
39fecab939 | ||
|
2d694603c7 | ||
|
621e2fdb5f | ||
|
d7fd0c4a37 | ||
|
0a5fd8badc | ||
|
968bbbe436 | ||
|
f83c5c0113 | ||
|
f30e74c113 | ||
|
a7ecc563e8 | ||
|
0928caad1e | ||
|
1c892474a8 | ||
|
cbb37ad6fd | ||
|
5495cc9fdf | ||
|
18a0b1286b | ||
|
b6baca5a63 | ||
|
5f40231e5a | ||
|
821d20a921 | ||
|
8d60272ba8 | ||
|
a8c4d5635c | ||
|
c4c25bfd12 | ||
|
7085ee750e | ||
|
8ff38007cb | ||
|
4666d50709 | ||
|
334a3bfb0d | ||
|
3709e7c885 | ||
|
12dec75f71 | ||
|
bde3526983 | ||
|
412f7444ea | ||
|
ecbaf5570a | ||
|
ce6ef25cef | ||
|
a3f2ecdecb | ||
|
6c60ea21c2 | ||
|
a260a9793b | ||
|
b18e590647 | ||
|
8aba950973 | ||
|
d8a92d73e2 | ||
|
149667adbb | ||
|
400fe8804c | ||
|
4015b2c0cb | ||
|
654b5b5572 | ||
|
35c9291be7 | ||
|
b39ef128c8 | ||
|
9dfb0f808f | ||
|
5fcc3fead5 | ||
|
be46a1eba6 | ||
|
20ff79237a | ||
|
4169da7845 | ||
|
7b240600c5 | ||
|
6a584dcea5 | ||
|
c1cb78cb11 | ||
|
5fffc13406 | ||
|
ae177eb24f | ||
|
9fb0e137ec | ||
|
6a1a37028e | ||
|
0440ca3371 | ||
|
2347f062fb | ||
|
2e97890d67 | ||
|
c9a99918bd | ||
|
5dd95a1058 | ||
|
86c9ee2182 | ||
|
223b4313c8 | ||
|
70fc52750a | ||
|
408b585732 | ||
|
b4872945fd | ||
|
8798be0e96 | ||
|
862c27a03c | ||
|
28e4c8d9f0 | ||
|
1423b9d3b8 | ||
|
2f567ab5c2 | ||
|
56a907af93 | ||
|
97e8f35600 | ||
|
773560bc60 | ||
|
7978344972 | ||
|
9635157db0 | ||
|
91170f8ae7 | ||
|
f3a678875f | ||
|
54a709eb08 | ||
|
1471681726 | ||
|
fdc9f4904e | ||
|
a9587610f1 |
8
Contents
8
Contents
@@ -9,10 +9,10 @@ Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful
|
||||
messages, shows current file name in window title, on-line
|
||||
help, rectangular cut/paste, etc., etc., etc...
|
||||
|
||||
Version 7.0g. Also runs under UNIX, MSDOS and other systems.
|
||||
vim70grt.tgz contains the documentation and syntax files.
|
||||
vim70gbin.tgz contains the binaries.
|
||||
vim70gsrc.tgz contains the sources.
|
||||
Version 7.0. Also runs under UNIX, MSDOS and other systems.
|
||||
vim70rt.tgz contains the documentation and syntax files.
|
||||
vim70bin.tgz contains the binaries.
|
||||
vim70src.tgz contains the sources.
|
||||
Author: Bram Moolenaar et al.
|
||||
|
||||
|
||||
|
2
Makefile
2
Makefile
@@ -69,7 +69,7 @@ all install uninstall tools config configure proto depend lint tags types test t
|
||||
# Before creating an archive first delete all backup files, *.orig, etc.
|
||||
|
||||
MAJOR = 7
|
||||
MINOR = 0g
|
||||
MINOR = 0
|
||||
|
||||
# Uncomment this line if the Win32s version is to be included.
|
||||
DOSBIN_S = dosbin_s
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
|
||||
WHAT IS VIM
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README_ami.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_ami.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on Amiga systems.
|
||||
See README.txt for general information about Vim.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README_amibin.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_amibin.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
See "README.txt" for general information about Vim.
|
||||
See "README_ami.txt" for installation instructions for the Amiga.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README_amisrc.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_amisrc.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
See "README.txt" for general information about Vim.
|
||||
See "README_ami.txt" for installation instructions for the Amiga.
|
||||
|
@@ -1,19 +1,19 @@
|
||||
README_bindos.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_bindos.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
See "README.txt" for general information about Vim.
|
||||
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
|
||||
These files are in the runtime archive (vim60rt.zip).
|
||||
These files are in the runtime archive (vim70rt.zip).
|
||||
|
||||
|
||||
There are several binary distributions of Vim for the PC. You would normally
|
||||
pick only one of them, but it's also possible to install several.
|
||||
These ones are available (the version number may differ):
|
||||
vim60d16.zip 16 bit DOS version
|
||||
vim60d32.zip 32 bit DOS version
|
||||
vim60w32.zip Windows 95/98/NT/etc. console version
|
||||
gvim60.zip Windows 95/98/NT/etc. GUI version
|
||||
gvim60ole.zip Windows 95/98/NT/etc. GUI version with OLE
|
||||
gvim60_s.zip Windows 3.1 GUI version
|
||||
vim70d16.zip 16 bit DOS version
|
||||
vim70d32.zip 32 bit DOS version
|
||||
vim70w32.zip Windows 95/98/NT/etc. console version
|
||||
gvim70.zip Windows 95/98/NT/etc. GUI version
|
||||
gvim70ole.zip Windows 95/98/NT/etc. GUI version with OLE
|
||||
gvim70_s.zip Windows 3.1 GUI version
|
||||
|
||||
You MUST also get the runtime archive (vim60rt.zip).
|
||||
The sources are also available (vim60src.zip).
|
||||
You MUST also get the runtime archive (vim70rt.zip).
|
||||
The sources are also available (vim70src.zip).
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README_dos.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_dos.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on MS-DOS and MS-Windows systems.
|
||||
See "README.txt" for general information about Vim.
|
||||
@@ -47,13 +47,13 @@ These are the normal steps to install Vim from the .zip archives:
|
||||
Binary and runtime Vim archives are normally unpacked in the same location,
|
||||
on top of each other.
|
||||
|
||||
2. Unpack the zip archives. This will create a new directory "vim\vim60",
|
||||
2. Unpack the zip archives. This will create a new directory "vim\vim70",
|
||||
in which all the distributed Vim files are placed. Since the directory
|
||||
name includes the version number, it is unlikely that you overwrite
|
||||
existing files.
|
||||
Examples:
|
||||
pkunzip -d gvim60.zip
|
||||
unzip vim60w32.zip
|
||||
pkunzip -d gvim70.zip
|
||||
unzip vim70w32.zip
|
||||
|
||||
You need to unpack the runtime archive and at least one of the binary
|
||||
archives. When using more than one binary version, be careful not to
|
||||
@@ -69,7 +69,7 @@ These are the normal steps to install Vim from the .zip archives:
|
||||
archive and follow the instructions in the documentation.
|
||||
|
||||
3. Change to the new directory:
|
||||
cd vim\vim60
|
||||
cd vim\vim70
|
||||
Run the "install.exe" program. It will ask you a number of questions about
|
||||
how you would like to have your Vim setup. Among these are:
|
||||
- You can tell it to write a "_vimrc" file with your preferences in the
|
||||
@@ -80,8 +80,8 @@ These are the normal steps to install Vim from the .zip archives:
|
||||
console or in a shell. You can select one of the directories in your
|
||||
$PATH. If you skip this, you can add Vim to the search path manually:
|
||||
The simplest is to add a line to your autoexec.bat. Examples:
|
||||
set path=%path%;C:\vim\vim60
|
||||
set path=%path%;D:\editors\vim\vim60
|
||||
set path=%path%;C:\vim\vim70
|
||||
set path=%path%;D:\editors\vim\vim70
|
||||
- Create entries for Vim on the desktop and in the Start menu.
|
||||
|
||||
That's it!
|
||||
@@ -94,7 +94,7 @@ Remarks:
|
||||
point to the top directory of your Vim files. Example:
|
||||
set VIM=C:\editors\vim
|
||||
Vim version 6.0 will look for your vimrc file in $VIM, and for the runtime
|
||||
files in $VIM/vim60. See ":help $VIM" for more information.
|
||||
files in $VIM/vim70. See ":help $VIM" for more information.
|
||||
|
||||
- To avoid confusion between distributed files of different versions and your
|
||||
own modified vim scripts, it is recommended to use this directory layout:
|
||||
@@ -105,14 +105,14 @@ Remarks:
|
||||
C:\vim\vimfiles\ftplugin\*.vim Filetype plugins
|
||||
C:\vim\... Other files you made.
|
||||
Distributed files:
|
||||
C:\vim\vim60\vim.exe The Vim version 6.0 executable.
|
||||
C:\vim\vim60\doc\*.txt The version 6.0 documentation files.
|
||||
C:\vim\vim60\bugreport.vim A Vim version 6.0 script.
|
||||
C:\vim\vim60\... Other version 6.0 distributed files.
|
||||
C:\vim\vim70\vim.exe The Vim version 6.0 executable.
|
||||
C:\vim\vim70\doc\*.txt The version 6.0 documentation files.
|
||||
C:\vim\vim70\bugreport.vim A Vim version 6.0 script.
|
||||
C:\vim\vim70\... Other version 6.0 distributed files.
|
||||
In this case the $VIM environment variable would be set like this:
|
||||
set VIM=C:\vim
|
||||
Then $VIMRUNTIME will automatically be set to "$VIM\vim60". Don't add
|
||||
"vim60" to $VIM, that won't work.
|
||||
Then $VIMRUNTIME will automatically be set to "$VIM\vim70". Don't add
|
||||
"vim70" to $VIM, that won't work.
|
||||
|
||||
- You can put your Vim executable anywhere else. If the executable is not
|
||||
with the other Vim files, you should set $VIM. The simplest is to add a line
|
||||
@@ -136,8 +136,8 @@ Remarks:
|
||||
Select Properties.
|
||||
5. In the Program tab, change the "Cmdline" to add "/c" and the name of the
|
||||
Vim executable. Examples:
|
||||
C:\command.com /c C:\vim\vim60\vim.exe
|
||||
C:\command.com /c D:\editors\vim\vim60\vim.exe
|
||||
C:\command.com /c C:\vim\vim70\vim.exe
|
||||
C:\command.com /c D:\editors\vim\vim70\vim.exe
|
||||
6. Select the font, window size, etc. that you like. If this isn't
|
||||
possible, select "Advanced" in the Program tab, and deselect "MS-DOS
|
||||
mode".
|
||||
|
@@ -1,17 +1,17 @@
|
||||
README_extra.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_extra.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
The extra archive of Vim is to be used in combination with the source archive
|
||||
(vim-6.0-src.tar.gz). The extra archive is useless without it.
|
||||
(vim-7.0-src.tar.gz). The extra archive is useless without it.
|
||||
|
||||
For more information, see the "README.txt" file that comes with the runtime
|
||||
archive (vim-6.0-rt.tar.gz). To be able to run Vim you MUST get the runtime
|
||||
archive (vim-7.0-rt.tar.gz). To be able to run Vim you MUST get the runtime
|
||||
archive too!
|
||||
|
||||
The extra archive plus the source and runtime achives make up the complete
|
||||
sources of Vim for all systems.
|
||||
|
||||
|
||||
The extra archive contains:
|
||||
Some of the things that the extra archive contains:
|
||||
|
||||
Farsi Files for the Farsi (persian) language. If you don't know
|
||||
what Farsi is, this is not for you.
|
||||
@@ -19,7 +19,6 @@ Farsi Files for the Farsi (persian) language. If you don't know
|
||||
if_sniff Interface to SNiFF. If you don't know what SNiFF is, this is
|
||||
not for you.
|
||||
|
||||
gui_amiga
|
||||
os_amiga Files for the Amiga port.
|
||||
|
||||
gui_riscos
|
||||
@@ -45,7 +44,8 @@ os_w32
|
||||
os_win32 Files for the Win32 port.
|
||||
|
||||
gui_w32 Files for the Win32 GUI.
|
||||
Gvim_vc.mak MS Visual C++ makefile for the Win32 GUI.
|
||||
gui_w48 Files for the Win32 and Win16 GUI.
|
||||
Make_mvc.mak MS Visual C++ makefile for the Win32 GUI.
|
||||
rgb.txt File with color definitions for the Win32 GUI.
|
||||
|
||||
if_ole OLE automation interface, for MS Windows 95 and NT.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README_lang.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_lang.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
This file contains files for non-English languages:
|
||||
- Translated messages.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README_mac.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_mac.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on Macintosh systems.
|
||||
See "README.txt" for general information about Vim.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README_ole.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_ole.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
This archive contains gvim.exe with OLE interface and VisVim.
|
||||
This version of gvim.exe can also load a number of interface dynamically (you
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README_os2.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_os2.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on OS/2 systems.
|
||||
See "README.txt" for general information about Vim.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README_os_390.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_os_390.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
Welcome to the OS/390 Unix port of VIM.
|
||||
|
||||
|
@@ -1,10 +1,10 @@
|
||||
README_src.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_src.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
The source archive contains the files needed to compile Vim on Unix systems.
|
||||
It is packed for Unix systems (NL line separator). It is also used for other
|
||||
systems in combination with the extra archive (vim-6.0-extra.tar.gz, in the
|
||||
systems in combination with the extra archive (vim-7.0-extra.tar.gz, in the
|
||||
"extra" directory of ftp.vim.org).
|
||||
|
||||
For more information, see the README.txt file that comes with the runtime
|
||||
archive (vim-6.0-rt.tar.gz). To be able to run Vim you MUST get the runtime
|
||||
archive (vim-7.0-rt.tar.gz). To be able to run Vim you MUST get the runtime
|
||||
archive too!
|
||||
|
@@ -1,8 +1,8 @@
|
||||
README_srcdos.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_srcdos.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
See "README.txt" for general information about Vim.
|
||||
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
|
||||
These files are in the runtime archive (vim60rt.zip).
|
||||
These files are in the runtime archive (vim70rt.zip).
|
||||
|
||||
|
||||
The DOS source archive contains the files needed to compile Vim on MS-DOS or
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README_unix.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_unix.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on Unix systems.
|
||||
See "README.txt" for general information about Vim.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README_vms.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_vms.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on VMS systems.
|
||||
See "README.txt" in the runtime archive for information about Vim.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
README_w32s.txt for version 7.0g of Vim: Vi IMproved.
|
||||
README_w32s.txt for version 7.0 of Vim: Vi IMproved.
|
||||
|
||||
This archive contains the gvim.exe that was specifically compiled for use in
|
||||
the Win32s subsystem in MS-Windows 3.1 and 3.11.
|
||||
|
2
configure
vendored
2
configure
vendored
@@ -3,4 +3,4 @@
|
||||
# This is just a stub for the Unix configure script, to provide support for
|
||||
# doing "./configure" in the top Vim directory.
|
||||
|
||||
cd src && ./configure "$@"
|
||||
cd src && exec ./configure "$@"
|
||||
|
@@ -22,7 +22,7 @@
|
||||
!define HAVE_NLS
|
||||
|
||||
!define VER_MAJOR 7
|
||||
!define VER_MINOR 0g
|
||||
!define VER_MINOR 0
|
||||
|
||||
# ----------- No configurable settings below this line -----------
|
||||
|
||||
@@ -391,6 +391,7 @@ Section Uninstall
|
||||
ClearErrors
|
||||
# Remove everything but *.dll files. Avoids that
|
||||
# a lot remains when gvimext.dll cannot be deleted.
|
||||
RMDir /r $0\autoload
|
||||
RMDir /r $0\colors
|
||||
RMDir /r $0\compiler
|
||||
RMDir /r $0\doc
|
||||
@@ -398,6 +399,7 @@ Section Uninstall
|
||||
RMDir /r $0\indent
|
||||
RMDir /r $0\macros
|
||||
RMDir /r $0\plugin
|
||||
RMDir /r $0\spell
|
||||
RMDir /r $0\syntax
|
||||
RMDir /r $0\tools
|
||||
RMDir /r $0\tutor
|
||||
|
@@ -1,7 +1,7 @@
|
||||
" Vim completion script
|
||||
" Language: C
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2006 May 03
|
||||
" Last Change: 2006 May 08
|
||||
|
||||
|
||||
" This function is used for the 'omnifunc' option.
|
||||
@@ -458,7 +458,7 @@ endfunction
|
||||
" member.
|
||||
function! s:StructMembers(typename, items, all)
|
||||
" Todo: What about local structures?
|
||||
let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
|
||||
let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")'))
|
||||
if fnames == ''
|
||||
return []
|
||||
endif
|
||||
|
@@ -1,6 +1,6 @@
|
||||
" Vim autoload file for editing compressed files.
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2006 Mar 31
|
||||
" Last Change: 2006 Oct 03
|
||||
|
||||
" These functions are used by the gzip plugin.
|
||||
|
||||
@@ -68,9 +68,9 @@ fun gzip#read(cmd)
|
||||
let tmp = tempname()
|
||||
let tmpe = tmp . "." . expand("<afile>:e")
|
||||
" write the just read lines to a temp file "'[,']w tmp.gz"
|
||||
execute "silent '[,']w " . tmpe
|
||||
execute "silent '[,']w " . escape(tmpe, ' ')
|
||||
" uncompress the temp file: call system("gzip -dn tmp.gz")
|
||||
call system(a:cmd . " " . tmpe)
|
||||
call system(a:cmd . " " . s:escape(tmpe))
|
||||
if !filereadable(tmp)
|
||||
" uncompress didn't work! Keep the compressed file then.
|
||||
echoerr "Error: Could not read uncompressed file"
|
||||
@@ -127,9 +127,9 @@ fun gzip#write(cmd)
|
||||
let nmt = s:tempname(nm)
|
||||
if rename(nm, nmt) == 0
|
||||
if exists("b:gzip_comp_arg")
|
||||
call system(a:cmd . " " . b:gzip_comp_arg . " " . nmt)
|
||||
call system(a:cmd . " " . b:gzip_comp_arg . " " . s:escape(nmt))
|
||||
else
|
||||
call system(a:cmd . " " . nmt)
|
||||
call system(a:cmd . " " . s:escape(nmt))
|
||||
endif
|
||||
call rename(nmt . "." . expand("<afile>:e"), nm)
|
||||
endif
|
||||
@@ -154,10 +154,10 @@ fun gzip#appre(cmd)
|
||||
if rename(nm, nmte) == 0
|
||||
if &patchmode != "" && getfsize(nm . &patchmode) == -1
|
||||
" Create patchmode file by creating the decompressed file new
|
||||
call system(a:cmd . " -c " . nmte . " > " . nmt)
|
||||
call system(a:cmd . " -c " . s:escape(nmte) . " > " . s:escape(nmt))
|
||||
call rename(nmte, nm . &patchmode)
|
||||
else
|
||||
call system(a:cmd . " " . nmte)
|
||||
call system(a:cmd . " " . s:escape(nmte))
|
||||
endif
|
||||
call rename(nmt, nm)
|
||||
endif
|
||||
@@ -175,4 +175,12 @@ fun s:tempname(name)
|
||||
return fnamemodify(a:name, ":p:h") . "/X~=@l9q5"
|
||||
endfun
|
||||
|
||||
fun s:escape(name)
|
||||
" shellescape() was added by patch 7.0.111
|
||||
if v:version > 700 || (v:version == 700 && has('patch111'))
|
||||
return shellescape(a:name)
|
||||
endif
|
||||
return "'" . a:name . "'"
|
||||
endfun
|
||||
|
||||
" vim: set sw=2 :
|
||||
|
@@ -1,6 +1,6 @@
|
||||
" Vim support file to help with paste mappings and menus
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2006 Apr 21
|
||||
" Last Change: 2006 Jun 23
|
||||
|
||||
" Define the string to use for items that are present both in Edit, Popup and
|
||||
" Toolbar menu. Also used in mswin.vim and macmap.vim.
|
||||
@@ -12,7 +12,7 @@
|
||||
if has("virtualedit")
|
||||
let paste#paste_cmd = {'n': ":call paste#Paste()<CR>"}
|
||||
let paste#paste_cmd['v'] = '"-c<Esc>' . paste#paste_cmd['n']
|
||||
let paste#paste_cmd['i'] = '<Esc>' . paste#paste_cmd['n'] . 'gi'
|
||||
let paste#paste_cmd['i'] = 'x<BS><Esc>' . paste#paste_cmd['n'] . 'gi'
|
||||
|
||||
func! paste#Paste()
|
||||
let ove = &ve
|
||||
|
@@ -1,9 +1,9 @@
|
||||
" Vim script to download a missing spell file
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2006 Feb 01
|
||||
" Last Change: 2006 Aug 29
|
||||
|
||||
if !exists('g:spellfile_URL')
|
||||
let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/unstable/runtime/spell'
|
||||
let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell'
|
||||
endif
|
||||
let s:spellfile_URL = '' " Start with nothing so that s:donedict is reset.
|
||||
|
||||
@@ -61,13 +61,13 @@ function! spellfile#LoadFile(lang)
|
||||
new
|
||||
setlocal bin
|
||||
echo 'Downloading ' . fname . '...'
|
||||
exe 'Nread ' g:spellfile_URL . '/' . fname
|
||||
call spellfile#Nread(fname)
|
||||
if getline(2) !~ 'VIMspell'
|
||||
" Didn't work, perhaps there is an ASCII one.
|
||||
g/^/d
|
||||
let fname = a:lang . '.ascii.spl'
|
||||
echo 'Could not find it, trying ' . fname . '...'
|
||||
exe 'Nread ' g:spellfile_URL . '/' . fname
|
||||
call spellfile#Nread(fname)
|
||||
if getline(2) !~ 'VIMspell'
|
||||
echo 'Sorry, downloading failed'
|
||||
bwipe!
|
||||
@@ -95,7 +95,7 @@ function! spellfile#LoadFile(lang)
|
||||
g/^/d
|
||||
let fname = substitute(fname, '\.spl$', '.sug', '')
|
||||
echo 'Downloading ' . fname . '...'
|
||||
exe 'Nread ' g:spellfile_URL . '/' . fname
|
||||
call spellfile#Nread(fname)
|
||||
if getline(2) !~ 'VIMsug'
|
||||
echo 'Sorry, downloading failed'
|
||||
else
|
||||
@@ -109,3 +109,15 @@ function! spellfile#LoadFile(lang)
|
||||
bwipe
|
||||
endif
|
||||
endfunc
|
||||
|
||||
" Read "fname" from the server.
|
||||
function! spellfile#Nread(fname)
|
||||
if g:spellfile_URL =~ '^ftp://'
|
||||
" for an ftp server use a default login and password to avoid a prompt
|
||||
let machine = substitute(g:spellfile_URL, 'ftp://\([^/]*\).*', '\1', '')
|
||||
let dir = substitute(g:spellfile_URL, 'ftp://[^/]*/\(.*\)', '\1', '')
|
||||
exe 'Nread "' . machine . ' anonymous vim7user ' . dir . '/' . a:fname . '"'
|
||||
else
|
||||
exe 'Nread ' g:spellfile_URL . '/' . a:fname
|
||||
endif
|
||||
endfunc
|
||||
|
@@ -1,8 +1,9 @@
|
||||
" Vim completion script
|
||||
" Language: All languages, uses existing syntax highlighting rules
|
||||
" Maintainer: David Fishburn <fishburn@ianywhere.com>
|
||||
" Version: 1.3
|
||||
" Last Change: Mon Mar 27 2006 9:29:35 PM
|
||||
" Version: 2.0
|
||||
" Last Change: Fri May 05 2006 10:34:57 PM
|
||||
" Usage: For detailed help, ":help ft-syntax-omni"
|
||||
|
||||
" Set completion with CTRL-X CTRL-O to autoloaded function.
|
||||
" This check is in place in case this script is
|
||||
@@ -18,11 +19,15 @@ endif
|
||||
if exists('g:loaded_syntax_completion')
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntax_completion = 1
|
||||
let g:loaded_syntax_completion = 20
|
||||
|
||||
" Set ignorecase to the ftplugin standard
|
||||
if !exists('g:omni_syntax_ignorecase')
|
||||
let g:omni_syntax_ignorecase = &ignorecase
|
||||
endif
|
||||
|
||||
" This script will build a completion list based on the syntax
|
||||
" elements defined by the files in $VIMRUNTIME/syntax.
|
||||
|
||||
let s:syn_remove_words = 'match,matchgroup=,contains,'.
|
||||
\ 'links to,start=,end=,nextgroup='
|
||||
|
||||
@@ -65,20 +70,22 @@ function! syntaxcomplete#Complete(findstart, base)
|
||||
|
||||
let base = s:prepended . a:base
|
||||
|
||||
let list_idx = index(s:cache_name, &filetype, 0, &ignorecase)
|
||||
let filetype = substitute(&filetype, '\.', '_', 'g')
|
||||
let list_idx = index(s:cache_name, filetype, 0, &ignorecase)
|
||||
if list_idx > -1
|
||||
let compl_list = s:cache_list[list_idx]
|
||||
else
|
||||
let compl_list = OmniSyntaxList()
|
||||
let s:cache_name = add( s:cache_name, &filetype )
|
||||
let s:cache_list = add( s:cache_list, compl_list )
|
||||
let compl_list = OmniSyntaxList()
|
||||
let s:cache_name = add( s:cache_name, filetype )
|
||||
let s:cache_list = add( s:cache_list, compl_list )
|
||||
endif
|
||||
|
||||
" Return list of matches.
|
||||
|
||||
if base =~ '\w'
|
||||
let compstr = join(compl_list, ' ')
|
||||
let compstr = substitute(compstr, '\<\%('.base.'\)\@!\w\+\s*', '', 'g')
|
||||
let compstr = join(compl_list, ' ')
|
||||
let expr = (g:omni_syntax_ignorecase==0?'\C':'').'\<\%('.base.'\)\@!\w\+\s*'
|
||||
let compstr = substitute(compstr, expr, '', 'g')
|
||||
let compl_list = split(compstr, '\s\+')
|
||||
endif
|
||||
|
||||
@@ -86,6 +93,13 @@ function! syntaxcomplete#Complete(findstart, base)
|
||||
endfunc
|
||||
|
||||
function! OmniSyntaxList()
|
||||
" Default to returning a dictionary, if use_dictionary is set to 0
|
||||
" a list will be returned.
|
||||
" let use_dictionary = 1
|
||||
" if a:0 > 0 && a:1 != ''
|
||||
" let use_dictionary = a:1
|
||||
" endif
|
||||
|
||||
let saveL = @l
|
||||
|
||||
" Loop through all the syntax groupnames, and build a
|
||||
@@ -109,85 +123,107 @@ function! OmniSyntaxList()
|
||||
return []
|
||||
endif
|
||||
|
||||
let filetype = substitute(&filetype, '\.', '_', 'g')
|
||||
|
||||
" Default the include group to include the requested syntax group
|
||||
let syntax_group_include_{&filetype} = ''
|
||||
let syntax_group_include_{filetype} = ''
|
||||
" Check if there are any overrides specified for this filetype
|
||||
if exists('g:omni_syntax_group_include_'.&filetype)
|
||||
let syntax_group_include_{&filetype} =
|
||||
\ substitute( g:omni_syntax_group_include_{&filetype},'\s\+','','g')
|
||||
if syntax_group_include_{&filetype} =~ '\w'
|
||||
let syntax_group_include_{&filetype} =
|
||||
\ substitute( syntax_group_include_{&filetype},
|
||||
if exists('g:omni_syntax_group_include_'.filetype)
|
||||
let syntax_group_include_{filetype} =
|
||||
\ substitute( g:omni_syntax_group_include_{filetype},'\s\+','','g')
|
||||
if syntax_group_include_{filetype} =~ '\w'
|
||||
let syntax_group_include_{filetype} =
|
||||
\ substitute( syntax_group_include_{filetype},
|
||||
\ '\s*,\s*', '\\|', 'g'
|
||||
\ )
|
||||
endif
|
||||
endif
|
||||
|
||||
" Default the exclude group to nothing
|
||||
let syntax_group_exclude_{&filetype} = ''
|
||||
let syntax_group_exclude_{filetype} = ''
|
||||
" Check if there are any overrides specified for this filetype
|
||||
if exists('g:omni_syntax_group_exclude_'.&filetype)
|
||||
let syntax_group_exclude_{&filetype} =
|
||||
\ substitute( g:omni_syntax_group_exclude_{&filetype},'\s\+','','g')
|
||||
if syntax_group_exclude_{&filetype} =~ '\w'
|
||||
let syntax_group_exclude_{&filetype} =
|
||||
\ substitute( syntax_group_exclude_{&filetype},
|
||||
if exists('g:omni_syntax_group_exclude_'.filetype)
|
||||
let syntax_group_exclude_{filetype} =
|
||||
\ substitute( g:omni_syntax_group_exclude_{filetype},'\s\+','','g')
|
||||
if syntax_group_exclude_{filetype} =~ '\w'
|
||||
let syntax_group_exclude_{filetype} =
|
||||
\ substitute( syntax_group_exclude_{filetype},
|
||||
\ '\s*,\s*', '\\|', 'g'
|
||||
\ )
|
||||
endif
|
||||
endif
|
||||
|
||||
" Syntax rules can contain items for more than just the current
|
||||
" filetype. They can contain additional items added by the user
|
||||
" via autocmds or their vimrc.
|
||||
" Some syntax files can be combined (html, php, jsp).
|
||||
" We want only items that begin with the filetype we are interested in.
|
||||
let next_group_regex = '\n' .
|
||||
\ '\zs'.&filetype.'\w\+\ze'.
|
||||
\ '\s\+xxx\s\+'
|
||||
" Sometimes filetypes can be composite names, like c.doxygen
|
||||
" Loop through each individual part looking for the syntax
|
||||
" items specific to each individual filetype.
|
||||
let syn_list = ''
|
||||
let index = 0
|
||||
let index = match(syntax_full, next_group_regex, index)
|
||||
let ftindex = 0
|
||||
let ftindex = match(&filetype, '\w\+', ftindex)
|
||||
|
||||
while index > 0
|
||||
let group_name = matchstr( syntax_full, '\w\+', index )
|
||||
while ftindex > -1
|
||||
let ft_part_name = matchstr( &filetype, '\w\+', ftindex )
|
||||
|
||||
let get_syn_list = 1
|
||||
" if syntax_group_include_{&filetype} == ''
|
||||
" if syntax_group_exclude_{&filetype} != ''
|
||||
" if '\<'.syntax_group_exclude_{&filetype}.'\>' =~ '\<'.group_name.'\>'
|
||||
" let get_syn_list = 0
|
||||
" endif
|
||||
" endif
|
||||
" else
|
||||
" if '\<'.syntax_group_include_{&filetype}.'\>' !~ '\<'.group_name.'\>'
|
||||
" let get_syn_list = 0
|
||||
" endif
|
||||
" endif
|
||||
if syntax_group_exclude_{&filetype} != ''
|
||||
if '\<'.syntax_group_exclude_{&filetype}.'\>' =~ '\<'.group_name.'\>'
|
||||
let get_syn_list = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
if get_syn_list == 1
|
||||
if syntax_group_include_{&filetype} != ''
|
||||
if '\<'.syntax_group_include_{&filetype}.'\>' !~ '\<'.group_name.'\>'
|
||||
" Syntax rules can contain items for more than just the current
|
||||
" filetype. They can contain additional items added by the user
|
||||
" via autocmds or their vimrc.
|
||||
" Some syntax files can be combined (html, php, jsp).
|
||||
" We want only items that begin with the filetype we are interested in.
|
||||
let next_group_regex = '\n' .
|
||||
\ '\zs'.ft_part_name.'\w\+\ze'.
|
||||
\ '\s\+xxx\s\+'
|
||||
let index = 0
|
||||
let index = match(syntax_full, next_group_regex, index)
|
||||
|
||||
while index > -1
|
||||
let group_name = matchstr( syntax_full, '\w\+', index )
|
||||
|
||||
let get_syn_list = 1
|
||||
" if syntax_group_include_{&filetype} == ''
|
||||
" if syntax_group_exclude_{&filetype} != ''
|
||||
" if '\<'.syntax_group_exclude_{&filetype}.'\>' =~ '\<'.group_name.'\>'
|
||||
" let get_syn_list = 0
|
||||
" endif
|
||||
" endif
|
||||
" else
|
||||
" if '\<'.syntax_group_include_{&filetype}.'\>' !~ '\<'.group_name.'\>'
|
||||
" let get_syn_list = 0
|
||||
" endif
|
||||
" endif
|
||||
if syntax_group_exclude_{filetype} != ''
|
||||
if '\<'.syntax_group_exclude_{filetype}.'\>' =~ '\<'.group_name.'\>'
|
||||
let get_syn_list = 0
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
if get_syn_list == 1
|
||||
if syntax_group_include_{filetype} != ''
|
||||
if '\<'.syntax_group_include_{filetype}.'\>' !~ '\<'.group_name.'\>'
|
||||
let get_syn_list = 0
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
if get_syn_list == 1
|
||||
" Pass in the full syntax listing, plus the group name we
|
||||
" are interested in.
|
||||
let extra_syn_list = s:SyntaxCSyntaxGroupItems(group_name, syntax_full)
|
||||
if get_syn_list == 1
|
||||
" Pass in the full syntax listing, plus the group name we
|
||||
" are interested in.
|
||||
let extra_syn_list = s:SyntaxCSyntaxGroupItems(group_name, syntax_full)
|
||||
|
||||
let syn_list = syn_list . extra_syn_list . "\n"
|
||||
endif
|
||||
" if !empty(extra_syn_list)
|
||||
" for elem in extra_syn_list
|
||||
" let item = {'word':elem, 'kind':'t', 'info':group_name}
|
||||
" let compl_list += [item]
|
||||
" endfor
|
||||
" endif
|
||||
|
||||
let index = index + strlen(group_name)
|
||||
let index = match(syntax_full, next_group_regex, index)
|
||||
let syn_list = syn_list . extra_syn_list . "\n"
|
||||
endif
|
||||
|
||||
let index = index + strlen(group_name)
|
||||
let index = match(syntax_full, next_group_regex, index)
|
||||
endwhile
|
||||
|
||||
let ftindex = ftindex + len(ft_part_name)
|
||||
let ftindex = match( &filetype, '\w\+', ftindex )
|
||||
endwhile
|
||||
|
||||
" Convert the string to a List and sort it.
|
||||
@@ -228,7 +264,7 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
|
||||
" \n\w - at the first newline starting with a character
|
||||
let syntax_group = matchstr(a:syntax_full,
|
||||
\ "\n".a:group_name.'\s\+xxx\s\+\zs.\{-}\ze'."\n".'\w'
|
||||
\)
|
||||
\ )
|
||||
|
||||
if syntax_group != ""
|
||||
" let syn_list = substitute( @l, '^.*xxx\s*\%(contained\s*\)\?', "", '' )
|
||||
@@ -242,17 +278,21 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
|
||||
" contained nextgroup=...
|
||||
" So this will strip off the ending of lines with known
|
||||
" keywords.
|
||||
let syn_list = substitute( syntax_group, '\<\('.
|
||||
\ substitute(
|
||||
\ escape( s:syn_remove_words, '\\/.*$^~[]')
|
||||
\ , ',', '\\|', 'g').
|
||||
\ '\).\{-}\%($\|'."\n".'\)'
|
||||
\ , "\n", 'g' )
|
||||
let syn_list = substitute(
|
||||
\ syntax_group, '\<\('.
|
||||
\ substitute(
|
||||
\ escape(s:syn_remove_words, '\\/.*$^~[]')
|
||||
\ , ',', '\\|', 'g'
|
||||
\ ).
|
||||
\ '\).\{-}\%($\|'."\n".'\)'
|
||||
\ , "\n", 'g'
|
||||
\ )
|
||||
|
||||
" Now strip off the newline + blank space + contained
|
||||
let syn_list = substitute( syn_list, '\%(^\|\n\)\@<=\s*\<\('.
|
||||
\ 'contained\)'
|
||||
\ , "", 'g' )
|
||||
let syn_list = substitute(
|
||||
\ syn_list, '\%(^\|\n\)\@<=\s*\<\(contained\)'
|
||||
\ , "", 'g'
|
||||
\ )
|
||||
|
||||
" There are a number of items which have non-word characters in
|
||||
" them, *'T_F1'*. vim.vim is one such file.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*arabic.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*arabic.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Nadim Shaikli
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*autocmd.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*autocmd.txt* For Vim version 7.0. Last change: 2007 Jan 16
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -279,6 +279,7 @@ Name triggered by ~
|
||||
|FuncUndefined| a user function is used but it isn't defined
|
||||
|SpellFileMissing| a spell file is used but it can't be found
|
||||
|SourcePre| before sourcing a Vim script
|
||||
|SourceCmd| before sourcing a Vim script |Cmd-event|
|
||||
|
||||
|VimResized| after the Vim window size changed
|
||||
|FocusGained| Vim got input focus
|
||||
@@ -690,10 +691,17 @@ ShellFilterPost After executing a shell command with
|
||||
Can be used to check for any changed files.
|
||||
*SourcePre*
|
||||
SourcePre Before sourcing a Vim script. |:source|
|
||||
<afile> is the name of the file being sourced.
|
||||
*SourceCmd*
|
||||
SourceCmd When sourcing a Vim script. |:source|
|
||||
<afile> is the name of the file being sourced.
|
||||
The autocommand must source this file.
|
||||
|Cmd-event|
|
||||
*SpellFileMissing*
|
||||
SpellFileMissing When trying to load a spell checking file and
|
||||
it can't be found. <amatch> is the language,
|
||||
'encoding' also matters. See
|
||||
it can't be found. The pattern is matched
|
||||
against the language. <amatch> is the
|
||||
language, 'encoding' also matters. See
|
||||
|spell-SpellFileMissing|.
|
||||
*StdinReadPost*
|
||||
StdinReadPost After reading from the stdin into the buffer,
|
||||
@@ -734,8 +742,8 @@ Syntax When the 'syntax' option has been set.
|
||||
See |:syn-on|.
|
||||
*TabEnter*
|
||||
TabEnter Just after entering a tab page. |tab-page|
|
||||
Before triggering the WinEnter and BufEnter
|
||||
events.
|
||||
After triggering the WinEnter and before
|
||||
triggering the BufEnter event.
|
||||
*TabLeave*
|
||||
TabLeave Just before leaving a tab page. |tab-page|
|
||||
A WinLeave event will have been triggered
|
||||
@@ -1219,8 +1227,8 @@ highlighting when starting Vim.
|
||||
|
||||
*Cmd-event*
|
||||
When using one of the "*Cmd" events, the matching autocommands are expected to
|
||||
do the file reading or writing. This can be used when working with a special
|
||||
kind of file, for example on a remote system.
|
||||
do the file reading, writing or sourcing. This can be used when working with
|
||||
a special kind of file, for example on a remote system.
|
||||
CAREFUL: If you use these events in a wrong way, it may have the effect of
|
||||
making it impossible to read or write the matching files! Make sure you test
|
||||
your autocommands properly. Best is to use a pattern that will never match a
|
||||
@@ -1233,9 +1241,10 @@ possible with a BufReadCmd, use the |:preserve| command to make sure the
|
||||
original file isn't needed for recovery. You might want to do this only when
|
||||
you expect the file to be modified.
|
||||
|
||||
The |v:cmdarg| variable holds the "++enc=" and "++ff=" argument that are
|
||||
effective. These should be used for the command that reads/writes the file.
|
||||
The |v:cmdbang| variable is one when "!" was used, zero otherwise.
|
||||
For file read and write commands the |v:cmdarg| variable holds the "++enc="
|
||||
and "++ff=" argument that are effective. These should be used for the command
|
||||
that reads/writes the file. The |v:cmdbang| variable is one when "!" was
|
||||
used, zero otherwise.
|
||||
|
||||
See the $VIMRUNTIME/plugin/netrw.vim for examples.
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*change.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*change.txt* For Vim version 7.0. Last change: 2006 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1429,8 +1429,9 @@ value action ~
|
||||
"c" automatic formatting for comments, but not text (good for C code)
|
||||
"tc" automatic formatting for text and comments
|
||||
|
||||
Note that when 'textwidth' is 0, Vim does no formatting anyway (but does
|
||||
insert comment leaders according to the 'comments' option).
|
||||
Note that when 'textwidth' is 0, Vim does no automatic formatting anyway (but
|
||||
does insert comment leaders according to the 'comments' option). An exception
|
||||
is when the 'a' flag is present. |auto-format|
|
||||
|
||||
Note that when 'paste' is on, Vim does no formatting at all.
|
||||
|
||||
@@ -1485,6 +1486,9 @@ editing text paragraphs. A few hints on how to use this:
|
||||
|
||||
- Add the 'c' flag to only auto-format comments. Useful in source code.
|
||||
|
||||
- Set 'textwidth' to the desired width. If it is zero then 79 is used, or the
|
||||
width of the screen if this is smaller.
|
||||
|
||||
And a few warnings:
|
||||
|
||||
- When part of the text is not properly separated in paragraphs, making
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*cmdline.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*cmdline.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*debug.txt* For Vim version 7.0g. Last change: 2006 May 01
|
||||
*debug.txt* For Vim version 7.0. Last change: 2006 May 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*debugger.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*debugger.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*develop.txt* For Vim version 7.0g. Last change: 2006 Mar 09
|
||||
*develop.txt* For Vim version 7.0. Last change: 2006 Mar 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*diff.txt* For Vim version 7.0g. Last change: 2006 Apr 14
|
||||
*diff.txt* For Vim version 7.0. Last change: 2006 Apr 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*digraph.txt* For Vim version 7.0g. Last change: 2006 Apr 25
|
||||
*digraph.txt* For Vim version 7.0. Last change: 2006 Apr 25
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*editing.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*editing.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 7.0g. Last change: 2006 May 03
|
||||
*eval.txt* For Vim version 7.0. Last change: 2006 Nov 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1374,6 +1374,21 @@ v:lnum Line number for the 'foldexpr' |fold-expr| and 'indentexpr'
|
||||
'guitabtooltip'. Only valid while one of these expressions is
|
||||
being evaluated. Read-only when in the |sandbox|.
|
||||
|
||||
*v:mouse_win* *mouse_win-variable*
|
||||
v:mouse_win Window number for a mouse click obtained with |getchar()|.
|
||||
First window has number 1, like with |winnr()|. The value is
|
||||
zero when there was no mouse button click.
|
||||
|
||||
*v:mouse_lnum* *mouse_lnum-variable*
|
||||
v:mouse_lnum Line number for a mouse click obtained with |getchar()|.
|
||||
This is the text line number, not the screen line number. The
|
||||
value is zero when there was no mouse button click.
|
||||
|
||||
*v:mouse_col* *mouse_col-variable*
|
||||
v:mouse_col Column number for a mouse click obtained with |getchar()|.
|
||||
This is the screen column number, like with |virtcol()|. The
|
||||
value is zero when there was no mouse button click.
|
||||
|
||||
*v:prevcount* *prevcount-variable*
|
||||
v:prevcount The count given for the last but one Normal mode command.
|
||||
This is the v:count value of the previous command. Useful if
|
||||
@@ -1709,6 +1724,8 @@ setreg( {n}, {v}[, {opt}]) Number set register to value and type
|
||||
settabwinvar( {tabnr}, {winnr}, {varname}, {val}) set {varname} in window
|
||||
{winnr} in tab page {tabnr} to {val}
|
||||
setwinvar( {nr}, {varname}, {val}) set {varname} in window {nr} to {val}
|
||||
shellescape( {string}) String escape {string} for use as shell
|
||||
command argument
|
||||
simplify( {filename}) String simplify filename as much as possible
|
||||
sort( {list} [, {func}]) List sort {list}, using {func} to compare
|
||||
soundfold( {word}) String sound-fold {word}
|
||||
@@ -2313,6 +2330,8 @@ exists({expr}) The result is a Number, which is non-zero if {expr} is
|
||||
3 matches several user commands
|
||||
To check for a supported command
|
||||
always check the return value to be 2.
|
||||
:2match The |:2match| command.
|
||||
:3match The |:3match| command.
|
||||
#event autocommand defined for this event
|
||||
#event#pattern autocommand defined for this event and
|
||||
pattern (the pattern is taken
|
||||
@@ -2344,12 +2363,13 @@ exists({expr}) The result is a Number, which is non-zero if {expr} is
|
||||
exists("##ColorScheme")
|
||||
< There must be no space between the symbol (&/$/*/#) and the
|
||||
name.
|
||||
Trailing characters that can't be part of the name are often
|
||||
ignored, but don't depend on it, it may change in the future!
|
||||
Example: >
|
||||
exists("*strftime()")
|
||||
< This currently works, but it should really be: >
|
||||
exists("*strftime")
|
||||
There must be no extra characters after the name, although in
|
||||
a few cases this is ignored. That may become more strict in
|
||||
the future, thus don't count on it!
|
||||
Working example: >
|
||||
exists(":make")
|
||||
< NOT working example: >
|
||||
exists(":make install")
|
||||
|
||||
< Note that the argument must be a string, not the name of the
|
||||
variable itself. For example: >
|
||||
@@ -2676,21 +2696,38 @@ getbufvar({expr}, {varname}) *getbufvar()*
|
||||
:echo "todo myvar = " . getbufvar("todo", "myvar")
|
||||
<
|
||||
getchar([expr]) *getchar()*
|
||||
Get a single character from the user. If it is an 8-bit
|
||||
character, the result is a number. Otherwise a String is
|
||||
returned with the encoded character. For a special key it's a
|
||||
sequence of bytes starting with 0x80 (decimal: 128).
|
||||
Get a single character from the user or input stream.
|
||||
If [expr] is omitted, wait until a character is available.
|
||||
If [expr] is 0, only get a character when one is available.
|
||||
Return zero otherwise.
|
||||
If [expr] is 1, only check if a character is available, it is
|
||||
not consumed. If a normal character is
|
||||
available, it is returned, otherwise a
|
||||
non-zero value is returned.
|
||||
If a normal character available, it is returned as a Number.
|
||||
not consumed. Return zero if no character available.
|
||||
|
||||
Without {expr} and when {expr} is 0 a whole character or
|
||||
special key is returned. If it is an 8-bit character, the
|
||||
result is a number. Use nr2char() to convert it to a String.
|
||||
Otherwise a String is returned with the encoded character.
|
||||
For a special key it's a sequence of bytes starting with 0x80
|
||||
(decimal: 128). This is the same value as the string
|
||||
"\<Key>", e.g., "\<Left>". The returned value is also a
|
||||
String when a modifier (shift, control, alt) was used that is
|
||||
not included in the character.
|
||||
|
||||
When {expr} is 1 only the first byte is returned. For a
|
||||
one-byte character it is the character itself as a number.
|
||||
Use nr2char() to convert it to a String.
|
||||
The returned value is zero if no character is available.
|
||||
The returned value is a string of characters for special keys
|
||||
and when a modifier (shift, control, alt) was used.
|
||||
|
||||
When the user clicks a mouse button, the mouse event will be
|
||||
returned. The position can then be found in |v:mouse_col|,
|
||||
|v:mouse_lnum| and |v:mouse_win|. This example positions the
|
||||
mouse as it would normally happen: >
|
||||
let c = getchar()
|
||||
if c == "\<LeftMouse>" && v:mouse_win > 0
|
||||
exe v:mouse_win . "wincmd w"
|
||||
exe v:mouse_lnum
|
||||
exe "normal " . v:mouse_col . "|"
|
||||
endif
|
||||
<
|
||||
There is no prompt, you will somehow have to make clear to the
|
||||
user that a character has to be typed.
|
||||
There is no mapping for the character.
|
||||
@@ -2860,12 +2897,14 @@ getqflist() *getqflist()*
|
||||
vcol non-zero: "col" is visual column
|
||||
zero: "col" is byte index
|
||||
nr error number
|
||||
pattern search pattern used to locate the error
|
||||
text description of the error
|
||||
type type of the error, 'E', '1', etc.
|
||||
valid non-zero: recognized error message
|
||||
|
||||
When there is no error list or it's empty an empty list is
|
||||
returned.
|
||||
returned. Quickfix list entries with non-existing buffer
|
||||
number are returned with "bufnr" set to zero.
|
||||
|
||||
Useful application: Find pattern matches in multiple files and
|
||||
do something with them: >
|
||||
@@ -4334,7 +4373,10 @@ setqflist({list} [, {action}]) *setqflist()*
|
||||
Non-dictionary items in {list} are ignored. Each dictionary
|
||||
item can contain the following entries:
|
||||
|
||||
filename name of a file
|
||||
bufnr buffer number; must be the number of a valid
|
||||
buffer
|
||||
filename name of a file; only used when "bufnr" is not
|
||||
present or it is invalid.
|
||||
lnum line number in the file
|
||||
pattern search pattern used to locate the error
|
||||
col column number
|
||||
@@ -4347,11 +4389,13 @@ setqflist({list} [, {action}]) *setqflist()*
|
||||
The "col", "vcol", "nr", "type" and "text" entries are
|
||||
optional. Either "lnum" or "pattern" entry can be used to
|
||||
locate a matching error line.
|
||||
If the "filename" entry is not present or neither the "lnum"
|
||||
or "pattern" entries are present, then the item will not be
|
||||
handled as an error line.
|
||||
If the "filename" and "bufnr" entries are not present or
|
||||
neither the "lnum" or "pattern" entries are present, then the
|
||||
item will not be handled as an error line.
|
||||
If both "pattern" and "lnum" are present then "pattern" will
|
||||
be used.
|
||||
Note that the list is not exactly the same as what
|
||||
|getqflist()| returns.
|
||||
|
||||
If {action} is set to 'a', then the items from {list} are
|
||||
added to the existing quickfix list. If there is no existing
|
||||
@@ -4425,6 +4469,21 @@ setwinvar({nr}, {varname}, {val}) *setwinvar()*
|
||||
:call setwinvar(1, "&list", 0)
|
||||
:call setwinvar(2, "myvar", "foobar")
|
||||
|
||||
shellescape({string}) *shellescape()*
|
||||
Escape {string} for use as shell command argument.
|
||||
On MS-Windows and MS-DOS, when 'shellslash' is not set, it
|
||||
will enclose {string} double quotes and double all double
|
||||
quotes within {string}.
|
||||
For other systems, it will enclose {string} in single quotes
|
||||
and replace all "'" with "'\''".
|
||||
Example: >
|
||||
:echo shellescape('c:\program files\vim')
|
||||
< results in:
|
||||
"c:\program files\vim" ~
|
||||
Example usage: >
|
||||
:call system("chmod +x -- " . shellescape(expand("%")))
|
||||
|
||||
|
||||
simplify({filename}) *simplify()*
|
||||
Simplify the file name as much as possible without changing
|
||||
the meaning. Shortcuts (on MS-Windows) or symbolic links (on
|
||||
@@ -4670,6 +4729,7 @@ substitute({expr}, {pat}, {sub}, {flags}) *substitute()*
|
||||
like the ":substitute" command (without any flags). But the
|
||||
matching with {pat} is always done like the 'magic' option is
|
||||
set and 'cpoptions' is empty (to make scripts portable).
|
||||
'ignorecase' is still relevant.
|
||||
See |string-match| for how {pat} is used.
|
||||
And a "~" in {sub} is not replaced with the previous {sub}.
|
||||
Note that some codes in {sub} have a special meaning
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*farsi.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*farsi.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*filetype.txt* For Vim version 7.0g. Last change: 2006 Apr 28
|
||||
*filetype.txt* For Vim version 7.0. Last change: 2006 Apr 28
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*fold.txt* For Vim version 7.0g. Last change: 2006 Mar 29
|
||||
*fold.txt* For Vim version 7.0. Last change: 2006 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*getscript.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*getscript.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
Get the Latest VimScripts
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*gui.txt* For Vim version 7.0g. Last change: 2006 May 03
|
||||
*gui.txt* For Vim version 7.0. Last change: 2006 May 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -102,7 +102,7 @@ There are a number of options which only have meaning in the GUI version of
|
||||
Vim. These are 'guicursor', 'guifont', 'guipty' and 'guioptions'. They are
|
||||
documented in |options.txt| with all the other options.
|
||||
|
||||
If using the Motif or Athena version of the GUI (but not for the KDE, GTK+ or
|
||||
If using the Motif or Athena version of the GUI (but not for the GTK+ or
|
||||
Win32 version), a number of X resources are available. See |gui-resources|.
|
||||
|
||||
Another way to set the colors for different occasions is with highlight
|
||||
@@ -487,7 +487,7 @@ a menu entry. Hit <Enter> to execute it. Hit <Esc> if you want to cancel.
|
||||
This does require the |+menu| feature enabled at compile time.
|
||||
|
||||
*tear-off-menus*
|
||||
KDE, GTK+ and Motif support Tear-off menus. These are sort of sticky menus or
|
||||
GTK+ and Motif support Tear-off menus. These are sort of sticky menus or
|
||||
pop-up menus that are present all the time. If the resizing does not work
|
||||
correctly, this may be caused by using something like "Vim*geometry" in the
|
||||
defaults. Use "Vim.geometry" instead.
|
||||
@@ -666,7 +666,7 @@ simple.
|
||||
|
||||
*gui-toolbar*
|
||||
The toolbar is currently available in the Win32, Athena, Motif, GTK+ (X11),
|
||||
KDE and Photon GUI. It should turn up in other GUIs in due course. The
|
||||
and Photon GUI. It should turn up in other GUIs in due course. The
|
||||
default toolbar is setup in menu.vim.
|
||||
The display of the toolbar is controlled by the 'guioptions' letter 'T'. You
|
||||
can thus have menu & toolbar together, or either on its own, or neither.
|
||||
@@ -754,7 +754,7 @@ from the main menu bar. You must then use the |:popup| or |:tearoff| command
|
||||
to display it.
|
||||
|
||||
*popup-menu*
|
||||
In the Win32, KDE, GTK+, Motif, Athena and Photon GUI, you can define the
|
||||
In the Win32, GTK+, Motif, Athena and Photon GUI, you can define the
|
||||
special menu "PopUp". This is the menu that is displayed when the right mouse
|
||||
button is pressed, if 'mousemodel' is set to popup or popup_setpos.
|
||||
|
||||
@@ -964,8 +964,6 @@ This section describes other features which are related to the GUI.
|
||||
if has("gui_running")
|
||||
if has("gui_gtk2")
|
||||
:set guifont=Luxi\ Mono\ 12
|
||||
elseif has("gui_kde")
|
||||
:set guifont=Luxi\ Mono/12/-1/5/50/0/0/0/1/0
|
||||
elseif has("x11")
|
||||
" Also for GTK 1
|
||||
:set guifont=*-lucidatypewriter-medium-r-normal-*-*-180-*-*-m-*-*
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*gui_w16.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*gui_w16.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*gui_w32.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*gui_w32.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*gui_x11.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*gui_x11.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*hangulin.txt* For Vim version 7.0g. Last change: 2006 Apr 02
|
||||
*hangulin.txt* For Vim version 7.0. Last change: 2006 Apr 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*hebrew.txt* For Vim version 7.0g. Last change: 2003 May 11
|
||||
*hebrew.txt* For Vim version 7.0. Last change: 2003 May 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Ron Aaron (and Avner Lottem)
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*help.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*help.txt* For Vim version 7.0. Last change: 2006 May 07
|
||||
|
||||
VIM - main help file
|
||||
k
|
||||
@@ -7,13 +7,13 @@
|
||||
Close this window: Use ":q<Enter>".
|
||||
Get out of Vim: Use ":qa!<Enter>" (careful, all changes are lost!).
|
||||
|
||||
Jump to a subject: Position the cursor on a tag between |bars| and hit CTRL-].
|
||||
Jump to a subject: Position the cursor on a tag (e.g. |bars|) and hit CTRL-].
|
||||
With the mouse: ":set mouse=a" to enable the mouse (in xterm or GUI).
|
||||
Double-click the left mouse button on a tag between |bars|.
|
||||
Double-click the left mouse button on a tag, e.g. |bars|.
|
||||
Jump back: Type CTRL-T or CTRL-O (repeat to go further back).
|
||||
|
||||
Get specific help: It is possible to go directly to whatever you want help
|
||||
on, by giving an argument to the ":help" command |:help|.
|
||||
on, by giving an argument to the |:help| command.
|
||||
It is possible to further specify the context:
|
||||
*help-context*
|
||||
WHAT PREPEND EXAMPLE ~
|
||||
@@ -202,5 +202,12 @@ LOCAL ADDITIONS: *local-additions*
|
||||
|
||||
Now that you've jumped here with CTRL-] or a double mouse click, you can use
|
||||
CTRL-T, CTRL-O, g<RightMouse>, or <C-RightMouse> to go back to where you were.
|
||||
|
||||
Note that tags are within | characters, but when highlighting is enabled these
|
||||
are hidden. That makes it easier to read a command.
|
||||
|
||||
Anyway, you can use CTRL-] on any word, also when it is not within |, and Vim
|
||||
will try to find help for it.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
vim:tw=78:fo=tcq2:isk=!-~,^*,^\|,^\":ts=8:ft=help:norl:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*howto.txt* For Vim version 7.0g. Last change: 2006 Apr 02
|
||||
*howto.txt* For Vim version 7.0. Last change: 2006 Apr 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*if_cscop.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*if_cscop.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Andy Kahn
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*if_mzsch.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*if_mzsch.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Sergey Khorev
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*if_ole.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*if_ole.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Paul Moore
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*if_perl.txt* For Vim version 7.0g. Last change: 2006 Mar 06
|
||||
*if_perl.txt* For Vim version 7.0. Last change: 2006 Mar 06
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Sven Verdoolaege
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*if_pyth.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*if_pyth.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Paul Moore
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*if_ruby.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*if_ruby.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Shugo Maeda
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*if_sniff.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*if_sniff.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*if_tcl.txt* For Vim version 7.0g. Last change: 2006 Mar 06
|
||||
*if_tcl.txt* For Vim version 7.0. Last change: 2006 Mar 06
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Ingo Wilken
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*indent.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*indent.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*index.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*index.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*insert.txt* For Vim version 7.0g. Last change: 2006 May 03
|
||||
*insert.txt* For Vim version 7.0. Last change: 2006 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1020,8 +1020,9 @@ items:
|
||||
info more information about the item, can be displayed in a
|
||||
preview window
|
||||
kind single letter indicating the type of completion
|
||||
icase when non-zero case is to be ignored; when omitted
|
||||
the 'ignorecase' option is used
|
||||
icase when non-zero case is to be ignored when comparing
|
||||
items to be equal; when omitted zero is used, thus
|
||||
items that only differ in case are added
|
||||
dup when non-zero this match will be added even when an
|
||||
item with the same word is already present.
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*intro.txt* For Vim version 7.0g. Last change: 2006 Apr 20
|
||||
*intro.txt* For Vim version 7.0. Last change: 2006 Apr 20
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*map.txt* For Vim version 7.0g. Last change: 2006 May 03
|
||||
*map.txt* For Vim version 7.0. Last change: 2006 May 03
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*mbyte.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*mbyte.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*message.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*message.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*mlang.txt* For Vim version 7.0g. Last change: 2004 Feb 24
|
||||
*mlang.txt* For Vim version 7.0. Last change: 2004 Feb 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*motion.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*motion.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*netbeans.txt* For Vim version 7.0g. Last change: 2006 Mar 09
|
||||
*netbeans.txt* For Vim version 7.0. Last change: 2006 Nov 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur
|
||||
@@ -259,8 +259,8 @@ problems and has been fixed in 2.2. To decrease the likelihood of this
|
||||
confusion happening again, netbeans_saved() has been renamed to
|
||||
netbeans_save_buffer().
|
||||
|
||||
We are now at version 2.3. For the differences between 2.2 and 2.3 search for
|
||||
"2.3" below.
|
||||
We are now at version 2.4. For the differences between 2.3 and 2.4 search for
|
||||
"2.4" below.
|
||||
|
||||
The messages are currently sent over a socket. Since the messages are in
|
||||
plain UTF-8 text this protocol could also be used with any other communication
|
||||
@@ -605,6 +605,15 @@ getLength Return the length of the buffer in bytes.
|
||||
|
||||
getMark Not implemented.
|
||||
|
||||
getAnno serNum
|
||||
Return the line number of the annotation in the buffer.
|
||||
Argument:
|
||||
serNum serial number of this placed annotation
|
||||
The reply is:
|
||||
123 lnum line number of the annotation
|
||||
123 0 invalid annotation serial number
|
||||
New in version 2.4.
|
||||
|
||||
getModified When a buffer is specified: Return zero if the buffer does not
|
||||
have changes, one if it does have changes.
|
||||
When no buffer is specified (buffer number zero): Return the
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 7.0g. Last change: 2006 May 03
|
||||
*options.txt* For Vim version 7.0. Last change: 2006 May 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -763,7 +763,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
global
|
||||
Write the contents of the file, if it has been modified, on each
|
||||
:next, :rewind, :last, :first, :previous, :stop, :suspend, :tag, :!,
|
||||
:make, CTRL-] and CTRL-^ command; and when a CTRL-O, CTRL-I,
|
||||
:make, CTRL-] and CTRL-^ command; and when a :buffer, CTRL-O, CTRL-I,
|
||||
'{A-Z0-9}, or `{A-Z0-9} command takes one to another file.
|
||||
Note that for some commands the 'autowrite' option is not used, see
|
||||
'autowriteall' for that.
|
||||
@@ -4792,10 +4792,22 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
completion with CTRL-X CTRL-O. |i_CTRL-X_CTRL-O|
|
||||
See |complete-functions| for an explanation of how the function is
|
||||
invoked and what it should return.
|
||||
This option is usually set by a filetype plugin.
|
||||
This option is usually set by a filetype plugin:
|
||||
|:filetype-plugin-on|
|
||||
|
||||
|
||||
*'opendevice* *'odev* *'noopendevice* *'noodev*
|
||||
'opendevice' 'odev' boolean (default off)
|
||||
global
|
||||
{not in Vi}
|
||||
{only for MS-DOS, MS-Windows and OS/2}
|
||||
Enable reading and writing from devices. This may get Vim stuck on a
|
||||
device that can be opened but doesn't actually do the I/O. Therefore
|
||||
it is off by default.
|
||||
Note that on MS-Windows editing "aux.h", "lpt1.txt" and the like also
|
||||
result in editing a device.
|
||||
|
||||
|
||||
*'operatorfunc'* *'opfunc'*
|
||||
'operatorfunc' 'opfunc' string (default: empty)
|
||||
global
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_390.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*os_390.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Ralf Schandl
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_amiga.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*os_amiga.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_beos.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*os_beos.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_dos.txt* For Vim version 7.0g. Last change: 2006 Mar 30
|
||||
*os_dos.txt* For Vim version 7.0. Last change: 2006 Mar 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_mac.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*os_mac.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_mint.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*os_mint.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Jens M. Felderhoff
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_msdos.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*os_msdos.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_os2.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*os_os2.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Paul Slootman
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_qnx.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*os_qnx.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Julian Kinraid
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_risc.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*os_risc.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Thomas Leonard
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_unix.txt* For Vim version 7.0g. Last change: 2005 Mar 29
|
||||
*os_unix.txt* For Vim version 7.0. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_vms.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*os_vms.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*os_win32.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*os_win32.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by George Reilly
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*pattern.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*pattern.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*pi_gzip.txt* For Vim version 7.0g. Last change: 2002 Oct 29
|
||||
*pi_gzip.txt* For Vim version 7.0. Last change: 2002 Oct 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*pi_netrw.txt* For Vim version 7.0g. Last change: 2006 May 02
|
||||
*pi_netrw.txt* For Vim version 7.0. Last change: 2006 May 02
|
||||
|
||||
NETRW REFERENCE MANUAL by Charles E. Campbell, Jr.
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*pi_paren.txt* For Vim version 7.0g. Last change: 2006 Apr 24
|
||||
*pi_paren.txt* For Vim version 7.0. Last change: 2006 Apr 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*pi_spec.txt* For Vim version 7.0g. Last change: 2006 Apr 24
|
||||
*pi_spec.txt* For Vim version 7.0. Last change: 2006 Apr 24
|
||||
|
||||
by Gustavo Niemeyer ~
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*pi_tar.txt* For Vim version 7.0g. Last change: 2006 May 02
|
||||
*pi_tar.txt* For Vim version 7.0. Last change: 2006 May 02
|
||||
|
||||
+====================+
|
||||
| Tar File Interface |
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*pi_vimball.txt* For Vim version 7.0g. Last change: 2006 May 01
|
||||
*pi_vimball.txt* For Vim version 7.0. Last change: 2006 May 01
|
||||
|
||||
----------------
|
||||
Vimball Archiver
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*pi_zip.txt* For Vim version 7.0g. Last change: 2006 May 01
|
||||
*pi_zip.txt* For Vim version 7.0. Last change: 2006 May 01
|
||||
|
||||
+====================+
|
||||
| Zip File Interface |
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*print.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*print.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*quickfix.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*quickfix.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*quickref.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*quickref.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*quotes.txt* For Vim version 7.0g. Last change: 2006 Apr 24
|
||||
*quotes.txt* For Vim version 7.0. Last change: 2006 Apr 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*recover.txt* For Vim version 7.0g. Last change: 2006 Apr 24
|
||||
*recover.txt* For Vim version 7.0. Last change: 2006 Apr 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*remote.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*remote.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*repeat.txt* For Vim version 7.0g. Last change: 2006 Apr 30
|
||||
*repeat.txt* For Vim version 7.0. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*rileft.txt* For Vim version 7.0g. Last change: 2006 Apr 24
|
||||
*rileft.txt* For Vim version 7.0. Last change: 2006 Apr 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Avner Lottem
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*russian.txt* For Vim version 7.0g. Last change: 2006 Apr 24
|
||||
*russian.txt* For Vim version 7.0. Last change: 2006 Apr 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Vassily Ragosin
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*scroll.txt* For Vim version 7.0g. Last change: 2006 Apr 24
|
||||
*scroll.txt* For Vim version 7.0. Last change: 2006 Apr 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@@ -1,4 +1,4 @@
|
||||
*sign.txt* For Vim version 7.0g. Last change: 2006 Apr 24
|
||||
*sign.txt* For Vim version 7.0. Last change: 2006 Apr 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user