mirror of
https://github.com/vim/vim
synced 2025-08-26 23:28:45 +00:00
Compare commits
243 Commits
Author | SHA1 | Date | |
---|---|---|---|
6784078701 | |||
a045324992 | |||
913626cedb | |||
21af89e2e8 | |||
30405d35ef | |||
a0174af16f | |||
2c994e8516 | |||
ad8958b188 | |||
d42107724b | |||
f13be0df61 | |||
3a169c3c22 | |||
3d66014eea | |||
9b5d4ddd8a | |||
78d4abaa93 | |||
ee3f7a51c8 | |||
4f246a9a2a | |||
f5dcf7c3b5 | |||
6c964835b1 | |||
a713933cd1 | |||
11717bb0a1 | |||
49feabd5d6 | |||
c3b730796c | |||
e6f565a7be | |||
ea40888076 | |||
e9c3bcda1d | |||
0a30746d70 | |||
c2a27c3dc3 | |||
8f5c578a5e | |||
9273c73e36 | |||
ed53fb9a48 | |||
e0ca7b2b04 | |||
9f10875ed0 | |||
f9ffd188e5 | |||
85a3e5c7c6 | |||
f998c04691 | |||
81870894a7 | |||
07d0677855 | |||
33741a0f37 | |||
6f1924547b | |||
a443af88a4 | |||
e40e57c514 | |||
cdfd3e424a | |||
9b25ffbb2b | |||
e74455a447 | |||
9642664800 | |||
b52e260d23 | |||
711d5b5c94 | |||
60a44dcb28 | |||
d4b96bc637 | |||
c188b88040 | |||
2dd8b521bb | |||
f13249a717 | |||
fa6d5afd84 | |||
aa8494a13e | |||
af92ee8e89 | |||
51f78b2a4c | |||
9b9422097c | |||
f22129b5c5 | |||
d4cacdf91e | |||
e65f732db3 | |||
893de92ede | |||
fecb660578 | |||
41a0903523 | |||
61bfb9febe | |||
ecf4de5d69 | |||
d089d9b33a | |||
78ab331e0d | |||
51b8436f09 | |||
9f0545d6de | |||
dfc7aa2ccd | |||
5461cfe289 | |||
9d2c8c1a66 | |||
719939c888 | |||
b8dc4d4cdf | |||
7b18862920 | |||
1193636b45 | |||
ad6c2274e8 | |||
b91d177ecc | |||
b4066a10e0 | |||
ce85c5619e | |||
1042fa3857 | |||
3b9b13e564 | |||
073545473f | |||
5365c4d590 | |||
53241daeba | |||
5c2e0f27c5 | |||
037cc64f8f | |||
61abfd1171 | |||
a84b10685c | |||
700d1d7036 | |||
9539934ee2 | |||
02b063139b | |||
7fd1602e56 | |||
33e1a80f84 | |||
177d8c60ee | |||
c27c8d5c59 | |||
9c8791fde0 | |||
102e3a6164 | |||
367329ba08 | |||
ec8317364b | |||
78e1762c48 | |||
1a3d086c84 | |||
7d61a92145 | |||
14d0e7976d | |||
d2ac984a1e | |||
3a36cf7bca | |||
eb1b679067 | |||
dd87969c8b | |||
fa2e044471 | |||
6529c101c3 | |||
7baa45dbbf | |||
deefb63bfb | |||
70c2a63474 | |||
349955a205 | |||
b0db569905 | |||
3185918f8c | |||
92c5aba92a | |||
4d64b7891b | |||
9c03978012 | |||
4d2fffc833 | |||
2b80e65818 | |||
d2c765e688 | |||
67f7131efa | |||
a2993e1340 | |||
83eb885d54 | |||
8c69d536ad | |||
708f62c380 | |||
52d36c8bb7 | |||
cc00b955cd | |||
a245a5bb06 | |||
48cc5fe8b6 | |||
225d32b910 | |||
abc9773580 | |||
c2f5abcf15 | |||
1b0b07f29e | |||
452a81b413 | |||
a064ac8501 | |||
57b7fe808f | |||
0963cd95f5 | |||
3dcfbf7c4d | |||
e7c5686944 | |||
179af2c90b | |||
ef04586d9f | |||
150cc27040 | |||
9225efbc96 | |||
943fae459d | |||
0cbac5bf6a | |||
7662423e10 | |||
2240aeb4cb | |||
bf96fb4234 | |||
6ee10162b2 | |||
f621048b53 | |||
5002c296f0 | |||
3afaae44a9 | |||
4f68858766 | |||
fe40d1a0b0 | |||
5fdec47ab0 | |||
9cffde9627 | |||
5f2c5dbd86 | |||
477933cdc3 | |||
1315349f0e | |||
7bb755519e | |||
1256e720f5 | |||
fe1c56d6ae | |||
78f6f7eb95 | |||
7a42fa3cb7 | |||
aec1179e5e | |||
9a149791fc | |||
bf44417987 | |||
e2a49d8e5e | |||
6a51606966 | |||
3ebc1e5112 | |||
e649ef0fdd | |||
5386a123f5 | |||
7f51474324 | |||
f15f943e0c | |||
3011815c8a | |||
786b1dc2a4 | |||
96bb621f25 | |||
1ad2f13b37 | |||
dc3213d855 | |||
4b80a5179a | |||
884aa898d4 | |||
d827ada01c | |||
e02d7b2a21 | |||
512e6b838a | |||
1864a4e0fd | |||
b1269f1184 | |||
2d8ab99d10 | |||
1042527371 | |||
a2dd900999 | |||
29c34723d5 | |||
049377ee0f | |||
6446f25b44 | |||
4b4dc64876 | |||
994cd1237f | |||
b2a460d564 | |||
1b826e540c | |||
d38c6c9aae | |||
54143f4031 | |||
dd2a0d8ad1 | |||
784287abf4 | |||
1887debd2c | |||
f5fcea70bd | |||
69c2f17e98 | |||
00333faa4d | |||
4e32e4bc5e | |||
0168560264 | |||
d46bbc7203 | |||
d427d1e381 | |||
9048f94031 | |||
ebcbd022e6 | |||
e24138beaf | |||
e0d7b3c052 | |||
52cda2b83e | |||
29055eedf4 | |||
f17897d288 | |||
c1c566fb6c | |||
381ffaefa2 | |||
666771a83c | |||
8c406603ae | |||
33fa75c86e | |||
8b57e2efc0 | |||
5f29c338d7 | |||
9fe9d16c38 | |||
5c3e56a2f7 | |||
03d42258db | |||
8f6d679581 | |||
f313d68274 | |||
376b899ac0 | |||
833dc52378 | |||
9e368dba9d | |||
5a91e34372 | |||
a9d52b81cd | |||
032b3cf620 | |||
341621425b | |||
b5ba002aab | |||
895f2609de | |||
cb635362cc | |||
b4b6a567a3 | |||
5cdd0df5a9 | |||
fe265ff56f | |||
060f1f08b3 |
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.1b. Also runs under UNIX, MSDOS and other systems.
|
||||
vim71brt.tgz contains the documentation and syntax files.
|
||||
vim71bbin.tgz contains the binaries.
|
||||
vim71bsrc.tgz contains the sources.
|
||||
Version 7.1. Also runs under UNIX, MSDOS and other systems.
|
||||
vim71rt.tgz contains the documentation and syntax files.
|
||||
vim71bin.tgz contains the binaries.
|
||||
vim71src.tgz contains the sources.
|
||||
Author: Bram Moolenaar et al.
|
||||
|
||||
|
||||
|
7
Makefile
7
Makefile
@ -69,7 +69,7 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
|
||||
# Before creating an archive first delete all backup files, *.orig, etc.
|
||||
|
||||
MAJOR = 7
|
||||
MINOR = 1b
|
||||
MINOR = 1
|
||||
|
||||
# Uncomment this line if the Win32s version is to be included.
|
||||
DOSBIN_S = dosbin_s
|
||||
@ -93,16 +93,17 @@ DOSBIN_S = dosbin_s
|
||||
# - Check for missing options in runtime/optwin.vim et al. (with check.vim).
|
||||
# - Do "make menu" to update the runtime/synmenu.vim file.
|
||||
# - Add remarks for changes to runtime/doc/version7.txt.
|
||||
# - Check that runtime/doc/help.txt doesn't contain entries in "LOCAL
|
||||
# ADDITIONS".
|
||||
# - In runtime/doc run "make" and "make html" to check for errors.
|
||||
# - Check if src/Makefile and src/feature.h don't contain any personal
|
||||
# preferences or the GTK, Perl, etc. mentioned above.
|
||||
# - Check that runtime/doc/help.txt doesn't contain entries in "LOCAL
|
||||
# ADDITIONS".
|
||||
# - Check file protections to be "644" for text and "755" for executables (run
|
||||
# the "check" script).
|
||||
# - Check compiling on Amiga, MS-DOS and MS-Windows.
|
||||
# - Delete all *~, *.sw?, *.orig, *.rej files
|
||||
# - "make unixall", "make extra", "make lang", "make html"
|
||||
# - Make diff files against the previous release: "makediff7 7.1 7.2"
|
||||
#
|
||||
# Amiga:
|
||||
# - "make amisrc", move the archive to the Amiga and compile:
|
||||
|
@ -1,4 +1,4 @@
|
||||
README.txt for version 7.1b of Vim: Vi IMproved.
|
||||
README.txt for version 7.1 of Vim: Vi IMproved.
|
||||
|
||||
|
||||
WHAT IS VIM
|
||||
|
@ -1,4 +1,4 @@
|
||||
README_ami.txt for version 7.1b of Vim: Vi IMproved.
|
||||
README_ami.txt for version 7.1 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.1b of Vim: Vi IMproved.
|
||||
README_amibin.txt for version 7.1 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.1b of Vim: Vi IMproved.
|
||||
README_amisrc.txt for version 7.1 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_bindos.txt for version 7.1b of Vim: Vi IMproved.
|
||||
README_bindos.txt for version 7.1 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.
|
||||
|
@ -1,4 +1,4 @@
|
||||
README_dos.txt for version 7.1b of Vim: Vi IMproved.
|
||||
README_dos.txt for version 7.1 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.
|
||||
|
@ -1,4 +1,4 @@
|
||||
README_extra.txt for version 7.1b of Vim: Vi IMproved.
|
||||
README_extra.txt for version 7.1 of Vim: Vi IMproved.
|
||||
|
||||
The extra archive of Vim is to be used in combination with the source archive
|
||||
(vim-7.0-src.tar.gz). The extra archive is useless without it.
|
||||
|
@ -1,4 +1,4 @@
|
||||
README_lang.txt for version 7.1b of Vim: Vi IMproved.
|
||||
README_lang.txt for version 7.1 of Vim: Vi IMproved.
|
||||
|
||||
This file contains files for non-English languages:
|
||||
- Translated messages.
|
||||
|
@ -1,4 +1,4 @@
|
||||
README_mac.txt for version 7.1b of Vim: Vi IMproved.
|
||||
README_mac.txt for version 7.1 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.1b of Vim: Vi IMproved.
|
||||
README_ole.txt for version 7.1 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,32 +1,32 @@
|
||||
README_os2.txt for version 7.1b of Vim: Vi IMproved.
|
||||
README_os2.txt for version 7.1 of Vim: Vi IMproved.
|
||||
|
||||
This file explains the installation of Vim on OS/2 systems.
|
||||
See "README.txt" for general information about Vim.
|
||||
|
||||
|
||||
NOTE: You will need two archives:
|
||||
vim71brt.zip contains the runtime files (same as for the PC version)
|
||||
vim71bos2.zip contains the OS/2 executables
|
||||
vim71rt.zip contains the runtime files (same as for the PC version)
|
||||
vim71os2.zip contains the OS/2 executables
|
||||
|
||||
1. Go to the directory where you want to put the Vim files. Examples:
|
||||
cd C:\
|
||||
cd D:\editors
|
||||
|
||||
2. Unpack the zip archives. This will create a new directory "vim/vim71b",
|
||||
2. Unpack the zip archives. This will create a new directory "vim/vim71",
|
||||
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 vim71bos2.zip
|
||||
unzip vim71bos2.zip
|
||||
pkunzip -d vim71os2.zip
|
||||
unzip vim71os2.zip
|
||||
|
||||
After you unpacked the files, you can still move the whole directory tree
|
||||
to another location.
|
||||
|
||||
3. Add the directory where vim.exe is to your path. The simplest is to add a
|
||||
line to your autoexec.bat. Examples:
|
||||
set path=%path%;C:\vim\vim71b
|
||||
set path=%path%;D:\editors\vim\vim71b
|
||||
set path=%path%;C:\vim\vim71
|
||||
set path=%path%;D:\editors\vim\vim71
|
||||
|
||||
That's it!
|
||||
|
||||
@ -41,10 +41,10 @@ Extra remarks:
|
||||
C:\vim\_viminfo Dynamic info for 'viminfo'.
|
||||
C:\vim\... Other files you made.
|
||||
Distributed files:
|
||||
C:\vim\vim71b\vim.exe The Vim version 7.1b executable.
|
||||
C:\vim\vim71b\doc\*.txt The version 7.1b documentation files.
|
||||
C:\vim\vim71b\bugreport.vim A Vim version 7.1b script.
|
||||
C:\vim\vim71b\... Other version 7.1b distributed files.
|
||||
C:\vim\vim71\vim.exe The Vim version 7.1 executable.
|
||||
C:\vim\vim71\doc\*.txt The version 7.1 documentation files.
|
||||
C:\vim\vim71\bugreport.vim A Vim version 7.1 script.
|
||||
C:\vim\vim71\... Other version 7.1 distributed files.
|
||||
In this case the $VIM environment variable would be set like this:
|
||||
set VIM=C:\vim
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
README_os_390.txt for version 7.1b of Vim: Vi IMproved.
|
||||
README_os_390.txt for version 7.1 of Vim: Vi IMproved.
|
||||
|
||||
Welcome to the OS/390 Unix port of VIM.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
README_src.txt for version 7.1b of Vim: Vi IMproved.
|
||||
README_src.txt for version 7.1 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
README_srcdos.txt for version 7.1b of Vim: Vi IMproved.
|
||||
README_srcdos.txt for version 7.1 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.
|
||||
|
@ -1,4 +1,4 @@
|
||||
README_unix.txt for version 7.1b of Vim: Vi IMproved.
|
||||
README_unix.txt for version 7.1 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.1b of Vim: Vi IMproved.
|
||||
README_vms.txt for version 7.1 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.1b of Vim: Vi IMproved.
|
||||
README_w32s.txt for version 7.1 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.
|
||||
|
@ -22,7 +22,7 @@
|
||||
!define HAVE_NLS
|
||||
|
||||
!define VER_MAJOR 7
|
||||
!define VER_MINOR 1b
|
||||
!define VER_MINOR 1
|
||||
|
||||
# ----------- No configurable settings below this line -----------
|
||||
|
||||
|
@ -1,12 +1,13 @@
|
||||
" ---------------------------------------------------------------------
|
||||
" getscript.vim
|
||||
" Author: Charles E. Campbell, Jr.
|
||||
" Date: May 05, 2007
|
||||
" Version: 25
|
||||
" Date: May 11, 2007
|
||||
" Version: 27
|
||||
" Installing: :help glvs-install
|
||||
" Usage: :help glvs
|
||||
"
|
||||
" GetLatestVimScripts: 642 1 :AutoInstall: getscript.vim
|
||||
"redraw!|call inputsave()|call input("Press <cr> to continue")|call inputrestore()
|
||||
" ---------------------------------------------------------------------
|
||||
" Initialization: {{{1
|
||||
" if you're sourcing this file, surely you can't be
|
||||
@ -22,7 +23,7 @@ set cpo&vim
|
||||
if exists("g:loaded_getscript")
|
||||
finish
|
||||
endif
|
||||
let g:loaded_getscript= "v25"
|
||||
let g:loaded_getscript= "v27"
|
||||
|
||||
" ---------------------------------------------------------------------
|
||||
" Global Variables: {{{1
|
||||
@ -182,7 +183,7 @@ fun! s:GetOneScript(...)
|
||||
let tmpfile = tempname()
|
||||
let v:errmsg = ""
|
||||
|
||||
" make three tries at downloading the description
|
||||
" make up to three tries at downloading the description
|
||||
let itry= 1
|
||||
while itry <= 3
|
||||
" call Decho("try#".itry." to download description of <".aicmmnt."> with addr=".scriptaddr)
|
||||
@ -209,19 +210,19 @@ fun! s:GetOneScript(...)
|
||||
endwhile
|
||||
" call Decho(" --- end downloading tries while loop --- itry=".itry)
|
||||
|
||||
" testing: did finding /Click on the package.../ fail?
|
||||
" testing: did finding "Click on the package..." fail?
|
||||
if findpkg == 0 || itry >= 4
|
||||
silent q!
|
||||
call delete(tmpfile)
|
||||
" restore options
|
||||
let &t_ti = t_ti
|
||||
let &t_te = t_te
|
||||
let &rs = rs
|
||||
let s:downerrors = s:downerrors + 1
|
||||
" call Decho("***warning*** couldn'".'t find "Click on the package..." in description page for <'.aicmmnt.">")
|
||||
echomsg "***warning*** couldn'".'t find "Click on the package..." in description page for <'.aicmmnt.">"
|
||||
" call Dret("GetOneScript : srch for /Click on the package/ failed")
|
||||
return
|
||||
let &t_ti = t_ti
|
||||
let &t_te = t_te
|
||||
let &rs = rs
|
||||
let s:downerrors = s:downerrors + 1
|
||||
" call Decho("***warning*** couldn'".'t find "Click on the package..." in description page for <'.aicmmnt.">")
|
||||
echomsg "***warning*** couldn'".'t find "Click on the package..." in description page for <'.aicmmnt.">"
|
||||
" call Dret("GetOneScript : srch for /Click on the package/ failed")
|
||||
return
|
||||
endif
|
||||
" call Decho('found "Click on the package to download"')
|
||||
|
||||
@ -243,91 +244,101 @@ fun! s:GetOneScript(...)
|
||||
|
||||
let srcidpat = '^\s*<td class.*src_id=\(\d\+\)">\([^<]\+\)<.*$'
|
||||
let latestsrcid= substitute(getline("."),srcidpat,'\1','')
|
||||
let fname = substitute(getline("."),srcidpat,'\2','')
|
||||
" call Decho("srcidpat<".srcidpat."> latestsrcid<".latestsrcid."> fname<".fname.">")
|
||||
let sname = substitute(getline("."),srcidpat,'\2','') " script name actually downloaded
|
||||
" call Decho("srcidpat<".srcidpat."> latestsrcid<".latestsrcid."> sname<".sname.">")
|
||||
silent q!
|
||||
call delete(tmpfile)
|
||||
|
||||
" convert the strings-of-numbers into numbers
|
||||
let srcid = srcid + 0
|
||||
let latestsrcid = latestsrcid + 0
|
||||
" call Decho("srcid=".srcid." latestsrcid=".latestsrcid." fname<".fname.">")
|
||||
" call Decho("srcid=".srcid." latestsrcid=".latestsrcid." sname<".sname.">")
|
||||
|
||||
" has the plugin's most-recent srcid increased, which indicates
|
||||
" that it has been updated
|
||||
if latestsrcid > srcid
|
||||
" call Decho("[latestsrcid=".latestsrcid."] <= [srcid=".srcid."]: need to update <".sname.">")
|
||||
|
||||
let s:downloads= s:downloads + 1
|
||||
if fname == bufname("%")
|
||||
if sname == bufname("%")
|
||||
" GetLatestVimScript has to be careful about downloading itself
|
||||
let fname= "NEW_".fname
|
||||
let sname= "NEW_".sname
|
||||
endif
|
||||
|
||||
" the plugin has been updated since we last obtained it, so download a new copy
|
||||
" call Decho("...downloading new <".fname.">")
|
||||
echomsg "...downloading new <".fname.">"
|
||||
" call Decho("...downloading new <".sname.">")
|
||||
echomsg "...downloading new <".sname.">"
|
||||
if has("win32") || has("gui_win32") || has("gui_win32s") || has("win16") || has("win64") || has("win32unix") || has("win95")
|
||||
" call Decho("windows: silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".fname.' "'.'http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid.'"')
|
||||
exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".fname.' "'.'http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid.'"'
|
||||
" call Decho("windows: silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".sname.' "'.'http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid.'"')
|
||||
exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".sname.' "'.'http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid.'"'
|
||||
else
|
||||
" call Decho("unix: silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".fname." '".'http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid."'")
|
||||
exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".fname." '".'http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid."'"
|
||||
" call Decho("unix: silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".sname." '".'http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid."'")
|
||||
exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".sname." '".'http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid."'"
|
||||
endif
|
||||
|
||||
" AutoInstall: only if doautoinstall is so indicating
|
||||
if doautoinstall
|
||||
" call Decho("attempting to do autoinstall: getcwd<".getcwd()."> filereadable(".fname.")=".filereadable(fname))
|
||||
if filereadable(fname)
|
||||
" call Decho("move <".fname."> to ".s:autoinstall)
|
||||
exe "silent !".g:GetLatestVimScripts_mv." ".fname." ".s:autoinstall
|
||||
let curdir= escape(substitute(getcwd(),'\','/','ge'),"|[]*'\" #")
|
||||
" call Decho("exe cd ".s:autoinstall)
|
||||
exe "cd ".s:autoinstall
|
||||
|
||||
" decompress
|
||||
if fname =~ '\.bz2$'
|
||||
" call Decho("attempt to bunzip2 ".fname)
|
||||
exe "silent !bunzip2 ".fname
|
||||
let fname= substitute(fname,'\.bz2$','','')
|
||||
" call Decho("new fname<".fname."> after bunzip2")
|
||||
elseif fname =~ '\.gz$'
|
||||
" call Decho("attempt to gunzip ".fname)
|
||||
exe "silent !gunzip ".fname
|
||||
let fname= substitute(fname,'\.gz$','','')
|
||||
" call Decho("new fname<".fname."> after gunzip")
|
||||
endif
|
||||
|
||||
" distribute archive(.zip, .tar, .vba) contents
|
||||
if fname =~ '\.zip$'
|
||||
" call Decho("attempt to unzip ".fname)
|
||||
exe "silent !unzip -o ".fname
|
||||
elseif fname =~ '\.tar$'
|
||||
" call Decho("attempt to untar ".fname)
|
||||
exe "silent !tar -xvf ".fname
|
||||
elseif fname =~ '\.vba$'
|
||||
" call Decho("attempt to handle a vimball: ".fname)
|
||||
1split
|
||||
exe "e ".fname
|
||||
so %
|
||||
q
|
||||
endif
|
||||
|
||||
if fname =~ '.vim$'
|
||||
" call Decho("attempt to simply move ".fname." to plugin")
|
||||
exe "silent !".g:GetLatestVimScripts_mv." ".fname." plugin"
|
||||
endif
|
||||
|
||||
" helptags step
|
||||
let docdir= substitute(&rtp,',.*','','e')."/doc"
|
||||
" call Decho("helptags docdir<".docdir.">")
|
||||
exe "helptags ".docdir
|
||||
exe "cd ".curdir
|
||||
endif
|
||||
" call Decho("attempting to do autoinstall: getcwd<".getcwd()."> filereadable(".sname.")=".filereadable(sname))
|
||||
if filereadable(sname)
|
||||
" call Decho("move <".sname."> to ".s:autoinstall)
|
||||
exe "silent !".g:GetLatestVimScripts_mv." ".sname." ".s:autoinstall
|
||||
let curdir= escape(substitute(getcwd(),'\','/','ge'),"|[]*'\" #")
|
||||
" call Decho("exe cd ".s:autoinstall)
|
||||
exe "cd ".s:autoinstall
|
||||
|
||||
" decompress
|
||||
if sname =~ '\.bz2$'
|
||||
" call Decho("decompress: attempt to bunzip2 ".sname)
|
||||
exe "silent !bunzip2 ".sname
|
||||
let sname= substitute(sname,'\.bz2$','','')
|
||||
" call Decho("decompress: new sname<".sname."> after bunzip2")
|
||||
elseif sname =~ '\.gz$'
|
||||
" call Decho("decompress: attempt to gunzip ".sname)
|
||||
exe "silent !gunzip ".sname
|
||||
let sname= substitute(sname,'\.gz$','','')
|
||||
" call Decho("decompress: new sname<".sname."> after gunzip")
|
||||
endif
|
||||
|
||||
" distribute archive(.zip, .tar, .vba) contents
|
||||
if sname =~ '\.zip$'
|
||||
" call Decho("dearchive: attempt to unzip ".sname)
|
||||
exe "silent !unzip -o ".sname
|
||||
elseif sname =~ '\.tar$'
|
||||
" call Decho("dearchive: attempt to untar ".sname)
|
||||
exe "silent !tar -xvf ".sname
|
||||
elseif sname =~ '\.vba$'
|
||||
" call Decho("dearchive: attempt to handle a vimball: ".sname)
|
||||
silent 1split
|
||||
exe "silent e ".sname
|
||||
silent so %
|
||||
silent q
|
||||
endif
|
||||
|
||||
if sname =~ '.vim$'
|
||||
" call Decho("dearchive: attempt to simply move ".sname." to plugin")
|
||||
exe "silent !".g:GetLatestVimScripts_mv." ".sname." plugin"
|
||||
endif
|
||||
|
||||
" helptags step
|
||||
let docdir= substitute(&rtp,',.*','','e')."/doc"
|
||||
" call Decho("helptags: docdir<".docdir.">")
|
||||
exe "helptags ".docdir
|
||||
exe "cd ".curdir
|
||||
endif
|
||||
if fname !~ ':AutoInstall:'
|
||||
let modline=scriptid." ".latestsrcid." :AutoInstall: ".fname.cmmnt
|
||||
else
|
||||
let modline=scriptid." ".latestsrcid." ".fname.cmmnt
|
||||
endif
|
||||
else
|
||||
let modline=scriptid." ".latestsrcid." ".fname.cmmnt
|
||||
endif
|
||||
|
||||
" update the data in the <GetLatestVimScripts.dat> file
|
||||
let modline=scriptid." ".latestsrcid." ".fname.cmmnt
|
||||
call setline(line("."),modline)
|
||||
" call Decho("update data in ".expand("%")."#".line(".").": modline<".modline.">")
|
||||
" else " Decho
|
||||
" call Decho("[latestsrcid=".latestsrcid."] <= [srcid=".srcid."], no need to update")
|
||||
endif
|
||||
|
||||
" restore options
|
||||
|
@ -1,4 +1,4 @@
|
||||
*ada.txt* For Vim version 7.1b. Last change: 2007 May 08
|
||||
*ada.txt* For Vim version 7.1. Last change: 2007 May 08
|
||||
|
||||
|
||||
ADA FILE TYPE PLUG-INS REFERENCE MANUAL~
|
||||
|
@ -1,4 +1,4 @@
|
||||
*arabic.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*arabic.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Nadim Shaikli
|
||||
|
@ -1,4 +1,4 @@
|
||||
*autocmd.txt* For Vim version 7.1b. Last change: 2007 Mar 27
|
||||
*autocmd.txt* For Vim version 7.1. Last change: 2007 Mar 27
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*change.txt* For Vim version 7.1b. Last change: 2007 Jan 07
|
||||
*change.txt* For Vim version 7.1. Last change: 2007 Jan 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -1571,6 +1571,10 @@ found here: |sort()|.
|
||||
in their original order, right before the sorted
|
||||
lines.
|
||||
|
||||
If {pattern} is empty (e.g. // is specified), the
|
||||
last search pattern is used. This allows trying out
|
||||
a pattern first.
|
||||
|
||||
Note that using ":sort" with ":global" doesn't sort the matching lines, it's
|
||||
quite useless.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
*cmdline.txt* For Vim version 7.1b. Last change: 2006 Jul 18
|
||||
*cmdline.txt* For Vim version 7.1. Last change: 2006 Jul 18
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*debug.txt* For Vim version 7.1b. Last change: 2006 May 01
|
||||
*debug.txt* For Vim version 7.1. Last change: 2006 May 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*debugger.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*debugger.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur
|
||||
|
@ -1,4 +1,4 @@
|
||||
*develop.txt* For Vim version 7.1b. Last change: 2007 May 08
|
||||
*develop.txt* For Vim version 7.1. Last change: 2007 May 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -187,7 +187,7 @@ strcpy() STRCPY() Includes cast to (char *), for char_u * args
|
||||
strchr() vim_strchr() Accepts special characters
|
||||
strrchr() vim_strrchr() Accepts special characters
|
||||
isspace() vim_isspace() Can handle characters > 128
|
||||
iswhite() vim_iswhite() Only TRUE for Tab and space
|
||||
iswhite() vim_iswhite() Only TRUE for tab and space
|
||||
memcpy() mch_memmove() Handles overlapped copies
|
||||
bcopy() mch_memmove() Handles overlapped copies
|
||||
memset() vim_memset() Uniform for all systems
|
||||
|
@ -1,4 +1,4 @@
|
||||
*diff.txt* For Vim version 7.1b. Last change: 2006 Oct 02
|
||||
*diff.txt* For Vim version 7.1. Last change: 2006 Oct 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*digraph.txt* For Vim version 7.1b. Last change: 2006 Jul 18
|
||||
*digraph.txt* For Vim version 7.1. Last change: 2006 Jul 18
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*editing.txt* For Vim version 7.1b. Last change: 2006 Oct 10
|
||||
*editing.txt* For Vim version 7.1. Last change: 2007 May 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -749,7 +749,7 @@ Thus you can use the command "vim *.c" to edit all the C files. From within
|
||||
Vim the command ":n *.c" does the same.
|
||||
|
||||
White space is used to separate file names. Put a backslash before a space or
|
||||
Tab to include it in a file name. E.g., to edit the single file "foo bar": >
|
||||
tab to include it in a file name. E.g., to edit the single file "foo bar": >
|
||||
:next foo\ bar
|
||||
|
||||
On Unix and a few other systems you can also use backticks, for example: >
|
||||
|
@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 7.1b. Last change: 2007 May 07
|
||||
*eval.txt* For Vim version 7.1. Last change: 2007 Sep 25
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -1557,6 +1557,7 @@ call( {func}, {arglist} [, {dict}])
|
||||
changenr() Number current change number
|
||||
char2nr( {expr}) Number ASCII value of first char in {expr}
|
||||
cindent( {lnum}) Number C indent for line {lnum}
|
||||
clearmatches() None clear all matches
|
||||
col( {expr}) Number column nr of cursor or mark
|
||||
complete({startcol}, {matches}) String set Insert mode completion
|
||||
complete_add( {expr}) Number add completion match
|
||||
@ -1602,7 +1603,7 @@ foldtext( ) String line displayed for closed fold
|
||||
foldtextresult( {lnum}) String text for closed fold at {lnum}
|
||||
foreground( ) Number bring the Vim window to the foreground
|
||||
function( {name}) Funcref reference to function {name}
|
||||
garbagecollect() none free memory, breaking cyclic references
|
||||
garbagecollect( [at_exit]) none free memory, breaking cyclic references
|
||||
get( {list}, {idx} [, {def}]) any get item {idx} from {list} or {def}
|
||||
get( {dict}, {key} [, {def}]) any get item {key} from {dict} or {def}
|
||||
getbufline( {expr}, {lnum} [, {end}])
|
||||
@ -1622,6 +1623,7 @@ getftype( {fname}) String description of type of file {fname}
|
||||
getline( {lnum}) String line {lnum} of current buffer
|
||||
getline( {lnum}, {end}) List lines {lnum} to {end} of current buffer
|
||||
getloclist({nr}) List list of location list items
|
||||
getmatches() List list of current matches
|
||||
getpos( {expr}) List position of cursor, mark, etc.
|
||||
getqflist() List list of quickfix items
|
||||
getreg( [{regname} [, 1]]) String contents of register
|
||||
@ -1676,7 +1678,10 @@ mapcheck( {name}[, {mode} [, {abbr}]])
|
||||
String check for mappings matching {name}
|
||||
match( {expr}, {pat}[, {start}[, {count}]])
|
||||
Number position where {pat} matches in {expr}
|
||||
matchadd( {group}, {pattern}[, {priority}[, {id}]])
|
||||
Number highlight {pattern} with {group}
|
||||
matcharg( {nr}) List arguments of |:match|
|
||||
matchdelete( {id}) Number delete match identified by {id}
|
||||
matchend( {expr}, {pat}[, {start}[, {count}]])
|
||||
Number position where {pat} ends in {expr}
|
||||
matchlist( {expr}, {pat}[, {start}[, {count}]])
|
||||
@ -1731,6 +1736,7 @@ setcmdpos( {pos}) Number set cursor position in command-line
|
||||
setline( {lnum}, {line}) Number set line {lnum} to {line}
|
||||
setloclist( {nr}, {list}[, {action}])
|
||||
Number modify location list using {list}
|
||||
setmatches( {list}) Number restore a list of matches
|
||||
setpos( {expr}, {list}) none set the {expr} position to {list}
|
||||
setqflist( {list}[, {action}]) Number modify quickfix list using {list}
|
||||
setreg( {n}, {v}[, {opt}]) Number set register to value and type
|
||||
@ -2012,6 +2018,10 @@ cindent({lnum}) *cindent()*
|
||||
feature, -1 is returned.
|
||||
See |C-indenting|.
|
||||
|
||||
clearmatches() *clearmatches()*
|
||||
Clears all matches previously defined by |matchadd()| and the
|
||||
|:match| commands.
|
||||
|
||||
*col()*
|
||||
col({expr}) The result is a Number, which is the byte index of the column
|
||||
position given with {expr}. The accepted positions are:
|
||||
@ -2020,6 +2030,10 @@ col({expr}) The result is a Number, which is the byte index of the column
|
||||
number of characters in the cursor line plus one)
|
||||
'x position of mark x (if the mark is not set, 0 is
|
||||
returned)
|
||||
Additionally {expr} can be [lnum, col]: a |List| with the line
|
||||
and column number. Most useful when the column is "$", to get
|
||||
the las column of a specific line. When "lnum" or "col" is
|
||||
out of range then col() returns zero.
|
||||
To get the line number use |line()|. To get both use
|
||||
|getpos()|.
|
||||
For the screen column position use |virtcol()|.
|
||||
@ -2211,7 +2225,7 @@ cursor({list})
|
||||
If {col} is zero, the cursor will stay in the current column.
|
||||
When 'virtualedit' is used {off} specifies the offset in
|
||||
screen columns from the start of the character. E.g., a
|
||||
position within a Tab or after the last character.
|
||||
position within a <Tab> or after the last character.
|
||||
|
||||
|
||||
deepcopy({expr}[, {noref}]) *deepcopy()* *E698*
|
||||
@ -2659,7 +2673,7 @@ function({name}) *function()* *E700*
|
||||
{name} can be a user defined function or an internal function.
|
||||
|
||||
|
||||
garbagecollect() *garbagecollect()*
|
||||
garbagecollect([at_exit]) *garbagecollect()*
|
||||
Cleanup unused |Lists| and |Dictionaries| that have circular
|
||||
references. There is hardly ever a need to invoke this
|
||||
function, as it is automatically done when Vim runs out of
|
||||
@ -2669,6 +2683,9 @@ garbagecollect() *garbagecollect()*
|
||||
This is useful if you have deleted a very big |List| and/or
|
||||
|Dictionary| with circular references in a script that runs
|
||||
for a long time.
|
||||
When the optional "at_exit" argument is one, garbage
|
||||
collection will also be done when exiting Vim, if it wasn't
|
||||
done before. This is useful when checking for memory leaks.
|
||||
|
||||
get({list}, {idx} [, {default}]) *get()*
|
||||
Get item {idx} from |List| {list}. When this item is not
|
||||
@ -2824,6 +2841,8 @@ getfsize({fname}) *getfsize()*
|
||||
given file {fname}.
|
||||
If {fname} is a directory, 0 is returned.
|
||||
If the file {fname} can't be found, -1 is returned.
|
||||
If the size of {fname} is too big to fit in a Number then -2
|
||||
is returned.
|
||||
|
||||
getfontname([{name}]) *getfontname()*
|
||||
Without an argument returns the name of the normal font being
|
||||
@ -2912,6 +2931,28 @@ getloclist({nr}) *getloclist()*
|
||||
returned. For an invalid window number {nr}, an empty list is
|
||||
returned. Otherwise, same as getqflist().
|
||||
|
||||
getmatches() *getmatches()*
|
||||
Returns a |List| with all matches previously defined by
|
||||
|matchadd()| and the |:match| commands. |getmatches()| is
|
||||
useful in combination with |setmatches()|, as |setmatches()|
|
||||
can restore a list of matches saved by |getmatches()|.
|
||||
Example: >
|
||||
:echo getmatches()
|
||||
< [{'group': 'MyGroup1', 'pattern': 'TODO',
|
||||
'priority': 10, 'id': 1}, {'group': 'MyGroup2',
|
||||
'pattern': 'FIXME', 'priority': 10, 'id': 2}] >
|
||||
:let m = getmatches()
|
||||
:call clearmatches()
|
||||
:echo getmatches()
|
||||
< [] >
|
||||
:call setmatches(m)
|
||||
:echo getmatches()
|
||||
< [{'group': 'MyGroup1', 'pattern': 'TODO',
|
||||
'priority': 10, 'id': 1}, {'group': 'MyGroup2',
|
||||
'pattern': 'FIXME', 'priority': 10, 'id': 2}] >
|
||||
:unlet m
|
||||
<
|
||||
|
||||
getqflist() *getqflist()*
|
||||
Returns a list with all the current quickfix errors. Each
|
||||
list item is a dictionary with these entries:
|
||||
@ -2978,7 +3019,7 @@ gettabwinvar({tabnr}, {winnr}, {varname}) *gettabwinvar()*
|
||||
Examples: >
|
||||
:let list_is_on = gettabwinvar(1, 2, '&list')
|
||||
:echo "myvar = " . gettabwinvar(3, 1, 'myvar')
|
||||
|
||||
<
|
||||
*getwinposx()*
|
||||
getwinposx() The result is a Number, which is the X coordinate in pixels of
|
||||
the left hand side of the GUI Vim window. The result will be
|
||||
@ -3616,6 +3657,44 @@ match({expr}, {pat}[, {start}[, {count}]]) *match()*
|
||||
the pattern. 'smartcase' is NOT used. The matching is always
|
||||
done like 'magic' is set and 'cpoptions' is empty.
|
||||
|
||||
*matchadd()* *E798* *E799* *E801*
|
||||
matchadd({group}, {pattern}[, {priority}[, {id}]])
|
||||
Defines a pattern to be highlighted in the current window (a
|
||||
"match"). It will be highlighted with {group}. Returns an
|
||||
identification number (ID), which can be used to delete the
|
||||
match using |matchdelete()|.
|
||||
|
||||
The optional {priority} argument assigns a priority to the
|
||||
match. A match with a high priority will have its
|
||||
highlighting overrule that of a match with a lower priority.
|
||||
A priority is specified as an integer (negative numbers are no
|
||||
exception). If the {priority} argument is not specified, the
|
||||
default priority is 10. The priority of 'hlsearch' is zero,
|
||||
hence all matches with a priority greater than zero will
|
||||
overrule it. Syntax highlighting (see 'syntax') is a separate
|
||||
mechanism, and regardless of the chosen priority a match will
|
||||
always overrule syntax highlighting.
|
||||
|
||||
The optional {id} argument allows the request for a specific
|
||||
match ID. If a specified ID is already taken, an error
|
||||
message will appear and the match will not be added. An ID
|
||||
is specified as a positive integer (zero excluded). IDs 1, 2
|
||||
and 3 are reserved for |:match|, |:2match| and |:3match|,
|
||||
respectively. If the {id} argument is not specified,
|
||||
|matchadd()| automatically chooses a free ID.
|
||||
|
||||
The number of matches is not limited, as it is the case with
|
||||
the |:match| commands.
|
||||
|
||||
Example: >
|
||||
:highlight MyGroup ctermbg=green guibg=green
|
||||
:let m = matchadd("MyGroup", "TODO")
|
||||
< Deletion of the pattern: >
|
||||
:call matchdelete(m)
|
||||
|
||||
< A list of matches defined by |matchadd()| and |:match| are
|
||||
available from |getmatches()|. All matches can be deleted in
|
||||
one operation by |clearmatches()|.
|
||||
|
||||
matcharg({nr}) *matcharg()*
|
||||
Selects the {nr} match item, as set with a |:match|,
|
||||
@ -3625,8 +3704,15 @@ matcharg({nr}) *matcharg()*
|
||||
The pattern used.
|
||||
When {nr} is not 1, 2 or 3 returns an empty |List|.
|
||||
When there is no match item set returns ['', ''].
|
||||
This is usef to save and restore a |:match|.
|
||||
This is useful to save and restore a |:match|.
|
||||
Highlighting matches using the |:match| commands are limited
|
||||
to three matches. |matchadd()| does not have this limitation.
|
||||
|
||||
matchdelete({id}) *matchdelete()* *E802* *E803*
|
||||
Deletes a match with ID {id} previously defined by |matchadd()|
|
||||
or one of the |:match| commands. Returns 0 if succesfull,
|
||||
otherwise -1. See example for |matchadd()|. All matches can
|
||||
be deleted in one operation by |clearmatches()|.
|
||||
|
||||
matchend({expr}, {pat}[, {start}[, {count}]]) *matchend()*
|
||||
Same as match(), but return the index of first character after
|
||||
@ -3742,7 +3828,7 @@ getpos({expr}) Get the position for {expr}. For possible values of {expr}
|
||||
column is 1.
|
||||
The "off" number is zero, unless 'virtualedit' is used. Then
|
||||
it is the offset in screen columns from the start of the
|
||||
character. E.g., a position within a Tab or after the last
|
||||
character. E.g., a position within a <Tab> or after the last
|
||||
character.
|
||||
This can be used to save and restore the cursor position: >
|
||||
let save_cursor = getpos(".")
|
||||
@ -4379,7 +4465,13 @@ setloclist({nr}, {list} [, {action}]) *setloclist()*
|
||||
When {nr} is zero the current window is used. For a location
|
||||
list window, the displayed location list is modified. For an
|
||||
invalid window number {nr}, -1 is returned.
|
||||
Otherwise, same as setqflist().
|
||||
Otherwise, same as |setqflist()|.
|
||||
Also see |location-list|.
|
||||
|
||||
setmatches({list}) *setmatches()*
|
||||
Restores a list of matches saved by |getmatches()|. Returns 0
|
||||
if succesfull, otherwise -1. All current matches are cleared
|
||||
before the list is restored. See example for |getmatches()|.
|
||||
|
||||
*setpos()*
|
||||
setpos({expr}, {list})
|
||||
@ -4402,7 +4494,7 @@ setpos({expr}, {list})
|
||||
|
||||
The "off" number is only used when 'virtualedit' is set. Then
|
||||
it is the offset in screen columns from the start of the
|
||||
character. E.g., a position within a Tab or after the last
|
||||
character. E.g., a position within a <Tab> or after the last
|
||||
character.
|
||||
|
||||
Also see |getpos()|
|
||||
@ -4467,7 +4559,7 @@ setreg({regname}, {value} [,{options}])
|
||||
If a number immediately follows "b" or "<CTRL-V>" then this is
|
||||
used as the width of the selection - if it is not specified
|
||||
then the width of the block is set to the number of characters
|
||||
in the longest line (counting a <TAB> as 1 character).
|
||||
in the longest line (counting a <Tab> as 1 character).
|
||||
|
||||
If {options} contains no register settings, then the default
|
||||
is to use character mode unless {value} ends in a <NL>.
|
||||
@ -5022,14 +5114,12 @@ virtcol({expr}) *virtcol()*
|
||||
position, the returned Number will be the column at the end of
|
||||
the <Tab>. For example, for a <Tab> in column 1, with 'ts'
|
||||
set to 8, it returns 8.
|
||||
For the use of {expr} see |col()|. Additionally you can use
|
||||
[lnum, col]: a |List| with the line and column number. When
|
||||
"lnum" or "col" is out of range then virtcol() returns zero.
|
||||
When 'virtualedit' is used it can be [lnum, col, off], where
|
||||
"off" is the offset in screen columns from the start of the
|
||||
character. E.g., a position within a Tab or after the last
|
||||
character.
|
||||
For the byte position use |col()|.
|
||||
For the use of {expr} see |col()|.
|
||||
When 'virtualedit' is used {expr} can be [lnum, col, off], where
|
||||
"off" is the offset in screen columns from the start of the
|
||||
character. E.g., a position within a <Tab> or after the last
|
||||
character.
|
||||
When Virtual editing is active in the current mode, a position
|
||||
beyond the end of the line can be returned. |'virtualedit'|
|
||||
The accepted positions are:
|
||||
|
@ -1,4 +1,4 @@
|
||||
*farsi.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*farsi.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
|
||||
|
@ -1,4 +1,4 @@
|
||||
*filetype.txt* For Vim version 7.1b. Last change: 2007 May 10
|
||||
*filetype.txt* For Vim version 7.1. Last change: 2007 May 10
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*fold.txt* For Vim version 7.1b. Last change: 2006 Mar 29
|
||||
*fold.txt* For Vim version 7.1. Last change: 2007 May 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -73,7 +73,7 @@ EXPR *fold-expr*
|
||||
The folds are automatically defined by their foldlevel, like with the "indent"
|
||||
method. The value of the 'foldexpr' option is evaluated to get the foldlevel
|
||||
of a line. Examples:
|
||||
This will create a fold for all consecutive lines that start with a Tab: >
|
||||
This will create a fold for all consecutive lines that start with a tab: >
|
||||
:set foldexpr=getline(v:lnum)[0]==\"\\t\"
|
||||
This will call a function to compute the fold level: >
|
||||
:set foldexpr=MyFoldLevel(v:lnum)
|
||||
|
@ -1,4 +1,4 @@
|
||||
*gui.txt* For Vim version 7.1b. Last change: 2006 Aug 08
|
||||
*gui.txt* For Vim version 7.1. Last change: 2007 May 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -532,7 +532,7 @@ Special characters in a menu name:
|
||||
<Tab> Separates the menu name from right-aligned text. This can be
|
||||
used to show the equivalent typed command. The text "<Tab>"
|
||||
can be used here for convenience. If you are using a real
|
||||
Tab, don't forget to put a backslash before it!
|
||||
tab, don't forget to put a backslash before it!
|
||||
Example: >
|
||||
|
||||
:amenu &File.&Open<Tab>:e :browse e<CR>
|
||||
|
@ -1,4 +1,4 @@
|
||||
*gui_w16.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*gui_w16.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*gui_w32.txt* For Vim version 7.1b. Last change: 2007 May 03
|
||||
*gui_w32.txt* For Vim version 7.1. Last change: 2007 Aug 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -53,6 +53,16 @@ vimrc or gvimrc file: >
|
||||
There is a specific version of gvim.exe that runs under the Win32s subsystem
|
||||
of Windows 3.1 or 3.11. See |win32s|.
|
||||
|
||||
|
||||
Using Vim as a plugin *gui-w32-windowid*
|
||||
|
||||
When gvim starts up normally, it creates its own top level window. If you
|
||||
pass Vim the command-line option |--windowid| with a decimal or hexadecimal
|
||||
value, Vim will create a window that is a child of the window with the given
|
||||
ID. This enables Vim to act as a plugin in another application. This really
|
||||
is a programmer's interface, and is of no use without a supporting application
|
||||
to spawn Vim correctly.
|
||||
|
||||
==============================================================================
|
||||
2. Vim as default editor *vim-default-editor*
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
*gui_x11.txt* For Vim version 7.1b. Last change: 2006 Jul 12
|
||||
*gui_x11.txt* For Vim version 7.1. Last change: 2006 Jul 12
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*hangulin.txt* For Vim version 7.1b. Last change: 2006 Apr 02
|
||||
*hangulin.txt* For Vim version 7.1. 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.1b. Last change: 2003 May 11
|
||||
*hebrew.txt* For Vim version 7.1. Last change: 2003 May 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Ron Aaron (and Avner Lottem)
|
||||
|
@ -1,4 +1,4 @@
|
||||
*help.txt* For Vim version 7.1b. Last change: 2006 Nov 07
|
||||
*help.txt* For Vim version 7.1. Last change: 2006 Nov 07
|
||||
|
||||
VIM - main help file
|
||||
k
|
||||
|
@ -1,4 +1,4 @@
|
||||
*howto.txt* For Vim version 7.1b. Last change: 2006 Apr 02
|
||||
*howto.txt* For Vim version 7.1. Last change: 2006 Apr 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*if_cscop.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*if_cscop.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Andy Kahn
|
||||
|
@ -1,4 +1,4 @@
|
||||
*if_mzsch.txt* For Vim version 7.1b. Last change: 2007 May 03
|
||||
*if_mzsch.txt* For Vim version 7.1. Last change: 2007 May 03
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Sergey Khorev
|
||||
|
@ -1,4 +1,4 @@
|
||||
*if_ole.txt* For Vim version 7.1b. Last change: 2007 May 10
|
||||
*if_ole.txt* For Vim version 7.1. Last change: 2007 May 10
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Paul Moore
|
||||
|
@ -1,4 +1,4 @@
|
||||
*if_perl.txt* For Vim version 7.1b. Last change: 2006 Mar 06
|
||||
*if_perl.txt* For Vim version 7.1. Last change: 2006 Mar 06
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Sven Verdoolaege
|
||||
|
@ -1,4 +1,4 @@
|
||||
*if_pyth.txt* For Vim version 7.1b. Last change: 2006 Apr 30
|
||||
*if_pyth.txt* For Vim version 7.1. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Paul Moore
|
||||
|
@ -1,4 +1,4 @@
|
||||
*if_ruby.txt* For Vim version 7.1b. Last change: 2006 Apr 30
|
||||
*if_ruby.txt* For Vim version 7.1. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Shugo Maeda
|
||||
|
@ -1,4 +1,4 @@
|
||||
*if_sniff.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*if_sniff.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL
|
||||
|
@ -1,4 +1,4 @@
|
||||
*if_tcl.txt* For Vim version 7.1b. Last change: 2006 Mar 06
|
||||
*if_tcl.txt* For Vim version 7.1. Last change: 2006 Mar 06
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Ingo Wilken
|
||||
|
@ -1,4 +1,4 @@
|
||||
*indent.txt* For Vim version 7.1b. Last change: 2007 May 10
|
||||
*indent.txt* For Vim version 7.1. Last change: 2007 May 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -113,7 +113,7 @@ If you really want to reindent when you type 'o', 'O', 'e', '0', '<', '>',
|
||||
"<!>", respectively, for those keys.
|
||||
|
||||
For an emacs-style indent mode where lines aren't indented every time you
|
||||
press <Enter> but only if you press Tab, I suggest:
|
||||
press <Enter> but only if you press <Tab>, I suggest:
|
||||
:set cinkeys=0{,0},:,0#,!<Tab>,!^F
|
||||
You might also want to switch off 'autoindent' then.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
*index.txt* For Vim version 7.1b. Last change: 2007 May 05
|
||||
*index.txt* For Vim version 7.1. Last change: 2007 May 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*insert.txt* For Vim version 7.1b. Last change: 2007 May 07
|
||||
*insert.txt* For Vim version 7.1. Last change: 2007 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*intro.txt* For Vim version 7.1b. Last change: 2007 May 07
|
||||
*intro.txt* For Vim version 7.1. Last change: 2007 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*map.txt* For Vim version 7.1b. Last change: 2007 May 07
|
||||
*map.txt* For Vim version 7.1. Last change: 2007 May 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -809,7 +809,7 @@ end-id The "end-id" type ends in a keyword character, but all the other
|
||||
Examples: "#i", "..f", "$/7"
|
||||
|
||||
non-id The "non-id" type ends in a non-keyword character, the other
|
||||
characters may be of any type, excluding space and Tab. {this type
|
||||
characters may be of any type, excluding space and tab. {this type
|
||||
is not supported by Vi}
|
||||
|
||||
Examples: "def#", "4/7$"
|
||||
@ -834,12 +834,12 @@ an additional rule:
|
||||
full-id In front of the match is a non-keyword character, or this is where
|
||||
the line or insertion starts. Exception: When the abbreviation is
|
||||
only one character, it is not recognized if there is a non-keyword
|
||||
character in front of it, other than a space or a <Tab>.
|
||||
character in front of it, other than a space or a tab.
|
||||
|
||||
end-id In front of the match is a keyword character, or a space or a <Tab>,
|
||||
end-id In front of the match is a keyword character, or a space or a tab,
|
||||
or this is where the line or insertion starts.
|
||||
|
||||
non-id In front of the match is a space, <Tab> or the start of the line or
|
||||
non-id In front of the match is a space, tab or the start of the line or
|
||||
the insertion.
|
||||
|
||||
Examples: ({CURSOR} is where you type a non-keyword character) >
|
||||
@ -1154,7 +1154,7 @@ command can take arguments, using the -nargs attribute. Valid cases are:
|
||||
-nargs=? 0 or 1 arguments are allowed
|
||||
-nargs=+ Arguments must be supplied, but any number are allowed
|
||||
|
||||
Arguments are considered to be separated by (unescaped) spaces or Tabs in this
|
||||
Arguments are considered to be separated by (unescaped) spaces or tabs in this
|
||||
context.
|
||||
|
||||
Note that arguments are used as text, not as expressions. Specifically,
|
||||
@ -1324,7 +1324,7 @@ When there is no argument <q-args> is an empty string.
|
||||
*<f-args>*
|
||||
To allow commands to pass their arguments on to a user-defined function, there
|
||||
is a special form <f-args> ("function args"). This splits the command
|
||||
arguments at spaces and Tabs, quotes each argument individually, and the
|
||||
arguments at spaces and tabs, quotes each argument individually, and the
|
||||
<f-args> sequence is replaced by the comma-separated list of quoted arguments.
|
||||
See the Mycmd example below. If no arguments are given <f-args> is removed.
|
||||
To embed whitespace into an argument of <f-args>, prepend a backslash.
|
||||
|
@ -1,4 +1,4 @@
|
||||
*mbyte.txt* For Vim version 7.1b. Last change: 2006 Aug 11
|
||||
*mbyte.txt* For Vim version 7.1. Last change: 2006 Aug 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||
|
@ -1,4 +1,4 @@
|
||||
*message.txt* For Vim version 7.1b. Last change: 2007 Mar 20
|
||||
*message.txt* For Vim version 7.1. Last change: 2007 Mar 20
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*mlang.txt* For Vim version 7.1b. Last change: 2006 Jul 12
|
||||
*mlang.txt* For Vim version 7.1. Last change: 2006 Jul 12
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*motion.txt* For Vim version 7.1b. Last change: 2006 Dec 07
|
||||
*motion.txt* For Vim version 7.1. Last change: 2006 Dec 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*netbeans.txt* For Vim version 7.1b. Last change: 2006 Nov 14
|
||||
*netbeans.txt* For Vim version 7.1. Last change: 2006 Nov 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur
|
||||
|
@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 7.1b. Last change: 2007 May 09
|
||||
*options.txt* For Vim version 7.1. Last change: 2007 Aug 10
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -2415,8 +2415,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
When mixing vertically and horizontally split windows, a minimal size
|
||||
is computed and some windows may be larger if there is room. The
|
||||
'eadirection' option tells in which direction the size is affected.
|
||||
Changing the height of a window can be avoided by setting
|
||||
'winfixheight'.
|
||||
Changing the height and width of a window can be avoided by setting
|
||||
'winfixheight' and 'winfixwidth', respectively.
|
||||
|
||||
*'equalprg'* *'ep'*
|
||||
'equalprg' 'ep' string (default "")
|
||||
@ -4309,11 +4309,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
eol:c Character to show at the end of each line. When
|
||||
omitted, there is no extra character at the end of the
|
||||
line.
|
||||
tab:xy Two characters to be used to show a Tab. The first
|
||||
tab:xy Two characters to be used to show a tab. The first
|
||||
char is used once. The second char is repeated to
|
||||
fill the space that the Tab normally occupies.
|
||||
"tab:>-" will show a Tab that takes four spaces as
|
||||
">---". When omitted, a Tab is show as ^I.
|
||||
fill the space that the tab normally occupies.
|
||||
"tab:>-" will show a tab that takes four spaces as
|
||||
">---". When omitted, a tab is show as ^I.
|
||||
trail:c Character to show for trailing spaces. When omitted,
|
||||
trailing spaces are blank.
|
||||
extends:c Character to show in the last column, when 'wrap' is
|
||||
@ -6007,7 +6007,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
When off, a <Tab> always inserts blanks according to 'tabstop' or
|
||||
'softtabstop'. 'shiftwidth' is only used for shifting text left or
|
||||
right |shift-left-right|.
|
||||
What gets inserted (a Tab or spaces) depends on the 'expandtab'
|
||||
What gets inserted (a <Tab> or spaces) depends on the 'expandtab'
|
||||
option. Also see |ins-expandtab|. When 'expandtab' is not set, the
|
||||
number of spaces is minimized by using <Tab>s.
|
||||
NOTE: This option is reset when 'compatible' is set.
|
||||
@ -6551,7 +6551,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
There are four main ways to use tabs in Vim:
|
||||
1. Always keep 'tabstop' at 8, set 'softtabstop' and 'shiftwidth' to 4
|
||||
(or 3 or whatever you prefer) and use 'noexpandtab'. Then Vim
|
||||
will use a mix of tabs and spaces, but typing Tab and BS will
|
||||
will use a mix of tabs and spaces, but typing <Tab> and <BS> will
|
||||
behave like a tab appears every 4 (or 3) characters.
|
||||
2. Set 'tabstop' and 'shiftwidth' to whatever you prefer and use
|
||||
'expandtab'. This way you will always insert spaces. The
|
||||
@ -7324,7 +7324,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
onemore Allow the cursor to move just past the end of the line
|
||||
|
||||
Virtual editing means that the cursor can be positioned where there is
|
||||
no actual character. This can be halfway into a Tab or beyond the end
|
||||
no actual character. This can be halfway into a tab or beyond the end
|
||||
of the line. Useful for selecting a rectangle in Visual mode and
|
||||
editing a table.
|
||||
"onemore" is not the same, it will only allow moving the cursor just
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_390.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*os_390.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Ralf Schandl
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_amiga.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*os_amiga.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_beos.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*os_beos.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_dos.txt* For Vim version 7.1b. Last change: 2006 Mar 30
|
||||
*os_dos.txt* For Vim version 7.1. Last change: 2006 Mar 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_mac.txt* For Vim version 7.1b. Last change: 2006 Apr 30
|
||||
*os_mac.txt* For Vim version 7.1. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar et al.
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_mint.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*os_mint.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Jens M. Felderhoff
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_msdos.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*os_msdos.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_os2.txt* For Vim version 7.1b. Last change: 2007 Apr 22
|
||||
*os_os2.txt* For Vim version 7.1. Last change: 2007 Apr 22
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Paul Slootman
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_qnx.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*os_qnx.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Julian Kinraid
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_risc.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*os_risc.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Thomas Leonard
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_unix.txt* For Vim version 7.1b. Last change: 2005 Mar 29
|
||||
*os_unix.txt* For Vim version 7.1. Last change: 2005 Mar 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_vms.txt* For Vim version 7.1b. Last change: 2006 Nov 18
|
||||
*os_vms.txt* For Vim version 7.1. Last change: 2006 Nov 18
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL
|
||||
|
@ -1,4 +1,4 @@
|
||||
*os_win32.txt* For Vim version 7.1b. Last change: 2007 Apr 22
|
||||
*os_win32.txt* For Vim version 7.1. Last change: 2007 Apr 22
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by George Reilly
|
||||
|
@ -1,4 +1,4 @@
|
||||
*pattern.txt* For Vim version 7.1b. Last change: 2007 Apr 24
|
||||
*pattern.txt* For Vim version 7.1. Last change: 2007 May 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -865,8 +865,8 @@ $ At end of pattern or in front of "\|" or "\)" ("|" or ")" after "\v"):
|
||||
values of the current window are used (e.g., 'tabstop').
|
||||
The "23" can be any column number. The first column is 1.
|
||||
Note that some virtual column positions will never match, because they
|
||||
are halfway a Tab or other character that occupies more than one
|
||||
screen character. {not in Vi}
|
||||
are halfway through a tab or other character that occupies more than
|
||||
one screen character. {not in Vi}
|
||||
WARNING: When inserting or deleting text Vim does not automatically
|
||||
update highlighted matches. This means Syntax highlighting quickly
|
||||
becomes wrong.
|
||||
@ -1212,7 +1212,10 @@ Finally, these constructs are unique to Perl:
|
||||
{group} must exist at the moment this command is executed.
|
||||
|
||||
The {group} highlighting still applies when a character is
|
||||
to be highlighted for 'hlsearch'.
|
||||
to be highlighted for 'hlsearch', as the highlighting for
|
||||
matches is given higher priority than that of 'hlsearch'.
|
||||
Syntax highlighting (see 'syntax') is also overruled by
|
||||
matches.
|
||||
|
||||
Note that highlighting the last used search pattern with
|
||||
'hlsearch' is used in all windows, while the pattern defined
|
||||
@ -1226,8 +1229,15 @@ Finally, these constructs are unique to Perl:
|
||||
display you may get unexpected results. That is because Vim
|
||||
looks for a match in the line where redrawing starts.
|
||||
|
||||
Also see |matcharg()|, it returns the highlight group and
|
||||
pattern of a previous :match command.
|
||||
Also see |matcharg()|and |getmatches()|. The former returns
|
||||
the highlight group and pattern of a previous |:match|
|
||||
command. The latter returns a list with highlight groups and
|
||||
patterns defined by both |matchadd()| and |:match|.
|
||||
|
||||
Highlighting matches using |:match| are limited to three
|
||||
matches (aside from |:match|, |:2match| and |:3match|are
|
||||
available). |matchadd()| does not have this limitation and in
|
||||
addition makes it possible to prioritize matches.
|
||||
|
||||
Another example, which highlights all characters in virtual
|
||||
column 72 and more: >
|
||||
|
@ -1,4 +1,4 @@
|
||||
*pi_getscript.txt* For Vim version 7.1b. Last change: 2007 May 08
|
||||
*pi_getscript.txt* For Vim version 7.1. Last change: 2007 May 08
|
||||
>
|
||||
GETSCRIPT REFERENCE MANUAL by Charles E. Campbell, Jr.
|
||||
<
|
||||
|
@ -1,4 +1,4 @@
|
||||
*pi_gzip.txt* For Vim version 7.1b. Last change: 2002 Oct 29
|
||||
*pi_gzip.txt* For Vim version 7.1. Last change: 2002 Oct 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*pi_netrw.txt* For Vim version 7.1b. Last change: 2007 May 08
|
||||
*pi_netrw.txt* For Vim version 7.1. Last change: 2007 May 08
|
||||
|
||||
-----------------------------------------------------
|
||||
NETRW REFERENCE MANUAL by Charles E. Campbell, Jr.
|
||||
|
@ -1,4 +1,4 @@
|
||||
*pi_paren.txt* For Vim version 7.1b. Last change: 2006 Jun 14
|
||||
*pi_paren.txt* For Vim version 7.1. Last change: 2006 Jun 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -12,8 +12,8 @@ This plugin is only available if 'compatible' is not set.
|
||||
You can avoid loading this plugin by setting the "loaded_matchparen" variable: >
|
||||
:let loaded_matchparen = 1
|
||||
|
||||
The plugin installs CursorMoved autocommands to redefine the match
|
||||
highlighting.
|
||||
The plugin installs CursorMoved, CursorMovedI and WinEnter autocommands to
|
||||
redefine the match highlighting.
|
||||
|
||||
To disable the plugin after it was loaded use this command: >
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
*pi_spec.txt* For Vim version 7.1b. Last change: 2006 Apr 24
|
||||
*pi_spec.txt* For Vim version 7.1. Last change: 2006 Apr 24
|
||||
|
||||
by Gustavo Niemeyer ~
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
*pi_tar.txt* For Vim version 7.1b. Last change: 2006 Sep 29
|
||||
*pi_tar.txt* For Vim version 7.1. Last change: 2006 Sep 29
|
||||
|
||||
+====================+
|
||||
| Tar File Interface |
|
||||
|
@ -1,4 +1,4 @@
|
||||
*pi_vimball.txt* For Vim version 7.1b. Last change: 2007 May 08
|
||||
*pi_vimball.txt* For Vim version 7.1. Last change: 2007 May 11
|
||||
|
||||
----------------
|
||||
Vimball Archiver
|
||||
@ -101,7 +101,7 @@ Copyright: (c) 2004-2006 by Charles E. Campbell, Jr. *Vimball-copyright*
|
||||
will extract plugin/somefile to the AsNeeded/
|
||||
directory
|
||||
17 : Jun 28, 2006 * changes all \s to /s internally for Windows
|
||||
16 : Jun 15, 2006 * A. Mechylynk's idea to allow users to specify
|
||||
16 : Jun 15, 2006 * A. Mechelynck's idea to allow users to specify
|
||||
installation root paths implemented for
|
||||
UseVimball, MkVimball, and RmVimball.
|
||||
* RmVimball implemented
|
||||
|
@ -1,4 +1,4 @@
|
||||
*pi_zip.txt* For Vim version 7.1b. Last change: 2007 May 08
|
||||
*pi_zip.txt* For Vim version 7.1. Last change: 2007 May 11
|
||||
|
||||
+====================+
|
||||
| Zip File Interface |
|
||||
@ -64,7 +64,7 @@ Copyright: Copyright (C) 2005,2006 Charles E Campbell, Jr *zip-copyright*
|
||||
|
||||
au BufReadCmd *.jar,*.xpi call zip#Browse(expand("<amatch>"))
|
||||
<
|
||||
One can simply extend this line to accomdate additional extensions that
|
||||
One can simply extend this line to accommodate additional extensions that
|
||||
are actually zip files.
|
||||
|
||||
==============================================================================
|
||||
|
@ -1,4 +1,4 @@
|
||||
*print.txt* For Vim version 7.1b. Last change: 2007 Apr 22
|
||||
*print.txt* For Vim version 7.1. Last change: 2007 Apr 22
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*quickfix.txt* For Vim version 7.1b. Last change: 2007 May 10
|
||||
*quickfix.txt* For Vim version 7.1. Last change: 2007 May 10
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*quickref.txt* For Vim version 7.1b. Last change: 2006 Nov 18
|
||||
*quickref.txt* For Vim version 7.1. Last change: 2007 May 11
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -803,7 +803,7 @@ Short explanation of each option: *option-list*
|
||||
'printmbcharset' 'pmbcs' CJK character set to be used for :hardcopy
|
||||
'printmbfont' 'pmbfn' font names to be used for CJK output of :hardcopy
|
||||
'printoptions' 'popt' controls the format of :hardcopy output
|
||||
'pumheight'' 'ph' maximum height of the popup menu
|
||||
'pumheight' 'ph' maximum height of the popup menu
|
||||
'quoteescape' 'qe' escape characters used in a string
|
||||
'readonly' 'ro' disallow writing the buffer
|
||||
'remap' allow mappings to work recursively
|
||||
|
@ -1,4 +1,4 @@
|
||||
*quotes.txt* For Vim version 7.1b. Last change: 2006 Apr 24
|
||||
*quotes.txt* For Vim version 7.1. Last change: 2006 Apr 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*recover.txt* For Vim version 7.1b. Last change: 2006 Apr 24
|
||||
*recover.txt* For Vim version 7.1. Last change: 2006 Apr 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*remote.txt* For Vim version 7.1b. Last change: 2006 Apr 30
|
||||
*remote.txt* For Vim version 7.1. Last change: 2006 Apr 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*repeat.txt* For Vim version 7.1b. Last change: 2007 Jan 07
|
||||
*repeat.txt* For Vim version 7.1. Last change: 2007 Jan 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*rileft.txt* For Vim version 7.1b. Last change: 2006 Apr 24
|
||||
*rileft.txt* For Vim version 7.1. Last change: 2006 Apr 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Avner Lottem
|
||||
|
@ -1,4 +1,4 @@
|
||||
*russian.txt* For Vim version 7.1b. Last change: 2006 Apr 24
|
||||
*russian.txt* For Vim version 7.1. Last change: 2006 Apr 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Vassily Ragosin
|
||||
|
@ -1,4 +1,4 @@
|
||||
*scroll.txt* For Vim version 7.1b. Last change: 2006 Aug 27
|
||||
*scroll.txt* For Vim version 7.1. Last change: 2006 Aug 27
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*sign.txt* For Vim version 7.1b. Last change: 2006 Apr 24
|
||||
*sign.txt* For Vim version 7.1. Last change: 2006 Apr 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Gordon Prieur
|
||||
|
@ -1,4 +1,4 @@
|
||||
*spell.txt* For Vim version 7.1b. Last change: 2007 May 07
|
||||
*spell.txt* For Vim version 7.1. Last change: 2007 May 07
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*sponsor.txt* For Vim version 7.1b. Last change: 2007 Jan 05
|
||||
*sponsor.txt* For Vim version 7.1. Last change: 2007 Jan 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1,4 +1,4 @@
|
||||
*sql.txt* For Vim version 7.1b. Last change: Wed Apr 26 2006 3:05:33 PM
|
||||
*sql.txt* For Vim version 7.1. Last change: Wed Apr 26 2006 3:05:33 PM
|
||||
|
||||
by David Fishburn
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
*starting.txt* For Vim version 7.1b. Last change: 2007 Apr 22
|
||||
*starting.txt* For Vim version 7.1. Last change: 2007 Aug 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -548,6 +548,11 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
||||
that it runs inside another window. See |gui-gtk-socketid|
|
||||
for details. {not in Vi}
|
||||
|
||||
--windowid {id} *--windowid*
|
||||
Win32 GUI Vim only. Make gvim try to use the window {id} as a
|
||||
parent, so that it runs inside that window. See
|
||||
|gui-w32-windowid| for details. {not in Vi}
|
||||
|
||||
--echo-wid *--echo-wid*
|
||||
GTK+ GUI Vim only. Make gvim echo the Window ID on stdout,
|
||||
which can be used to run gvim in a kpart widget. The format
|
||||
@ -1353,6 +1358,8 @@ Notes for Unix:
|
||||
"real" user. This helps for when you did "su" to become root, but your
|
||||
$HOME is still set to a normal user's home directory. Otherwise Vim would
|
||||
create a viminfo file owned by root that nobody else can read.
|
||||
- The viminfo file cannot be a symbolic link. This is to avoid security
|
||||
issues.
|
||||
|
||||
Marks are stored for each file separately. When a file is read and 'viminfo'
|
||||
is non-empty, the marks for that file are read from the viminfo file. NOTE:
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user