messages, shows current file name in window title, on-line
help, rectangular cut/paste, etc., etc., etc...
- Version 7.0b. Also runs under UNIX, MSDOS and other systems.
- vim70brt.tgz contains the documentation and syntax files.
- vim70bbin.tgz contains the binaries.
- vim70bsrc.tgz contains the sources.
+ Version 7.0c. Also runs under UNIX, MSDOS and other systems.
+ vim70crt.tgz contains the documentation and syntax files.
+ vim70cbin.tgz contains the binaries.
+ vim70csrc.tgz contains the sources.
Author: Bram Moolenaar et al.
# Before creating an archive first delete all backup files, *.orig, etc.
MAJOR = 7
-MINOR = 0b
+MINOR = 0c
# Uncomment this line if the Win32s version is to be included.
DOSBIN_S = dosbin_s
# uninstalw32.exe and xxdw32.exe have been build as mentioned above.
# - put gvimext.dll in src/GvimExt and VisVim.dll in src/VisVim (get them
# from a binary archive or build them)
+# Note: VisVim needs to be build with MSVC 5, newer versions don't work.
# - make sure there is a diff.exe two levels up
# - go to ../nsis and do "makensis gvim.nsi".
# - Copy gvim##.exe to the dist directory.
-README.txt for version 7.0b of Vim: Vi IMproved.
+README.txt for version 7.0c of Vim: Vi IMproved.
WHAT IS VIM
-README_ami.txt for version 7.0b of Vim: Vi IMproved.
+README_ami.txt for version 7.0c of Vim: Vi IMproved.
This file explains the installation of Vim on Amiga systems.
See README.txt for general information about Vim.
-README_amibin.txt for version 7.0b of Vim: Vi IMproved.
+README_amibin.txt for version 7.0c of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_ami.txt" for installation instructions for the Amiga.
-README_amisrc.txt for version 7.0b of Vim: Vi IMproved.
+README_amisrc.txt for version 7.0c of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_ami.txt" for installation instructions for the Amiga.
-README_bindos.txt for version 7.0b of Vim: Vi IMproved.
+README_bindos.txt for version 7.0c 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.
-README_dos.txt for version 7.0b of Vim: Vi IMproved.
+README_dos.txt for version 7.0c 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.
-README_extra.txt for version 7.0b of Vim: Vi IMproved.
+README_extra.txt for version 7.0c 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.
-README_lang.txt for version 7.0b of Vim: Vi IMproved.
+README_lang.txt for version 7.0c of Vim: Vi IMproved.
This file contains files for non-English languages:
- Translated messages.
-README_mac.txt for version 7.0b of Vim: Vi IMproved.
+README_mac.txt for version 7.0c of Vim: Vi IMproved.
This file explains the installation of Vim on Macintosh systems.
See "README.txt" for general information about Vim.
-README_ole.txt for version 7.0b of Vim: Vi IMproved.
+README_ole.txt for version 7.0c 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
-README_os2.txt for version 7.0b of Vim: Vi IMproved.
+README_os2.txt for version 7.0c of Vim: Vi IMproved.
This file explains the installation of Vim on OS/2 systems.
See "README.txt" for general information about Vim.
-README_os_390.txt for version 7.0b of Vim: Vi IMproved.
+README_os_390.txt for version 7.0c of Vim: Vi IMproved.
Welcome to the OS/390 Unix port of VIM.
-README_src.txt for version 7.0b of Vim: Vi IMproved.
+README_src.txt for version 7.0c 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
-README_srcdos.txt for version 7.0b of Vim: Vi IMproved.
+README_srcdos.txt for version 7.0c 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.
-README_unix.txt for version 7.0b of Vim: Vi IMproved.
+README_unix.txt for version 7.0c of Vim: Vi IMproved.
This file explains the installation of Vim on Unix systems.
See "README.txt" for general information about Vim.
-README_vms.txt for version 7.0b of Vim: Vi IMproved.
+README_vms.txt for version 7.0c 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.
-README_w32s.txt for version 7.0b of Vim: Vi IMproved.
+README_w32s.txt for version 7.0c 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.
!define HAVE_NLS
!define VER_MAJOR 7
-!define VER_MINOR 0b
+!define VER_MINOR 0c
# ----------- No configurable settings below this line -----------
" Vim completion script
" Language: XHTML 1.0 Strict
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
-" Last Change: 2006 Mar 19
+" Last Change: 2006 Mar 25
function! htmlcomplete#CompleteTags(findstart, base)
if a:findstart
\ 'charoff' : ['Length', ''],
\ 'charset' : ['LangCode', ''],
\ 'checked' : ['Bool', ''],
-\ 'class' : ['CDATA', 'Name of class, used for connecting element with style'],
+\ 'class' : ['CDATA', ''],
\ 'codetype' : ['ContentType', ''],
\ 'cols' : ['*Number', ''],
\ 'colspan' : ['Number', ''],
touch os_win32.txt
# Note that $< works with GNU make while $> works for BSD make.
+# Is there a solution that works for both??
vim-fr.UTF-8.1: vim-fr.1
iconv -f latin1 -t utf-8 $< >$@
-*arabic.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*arabic.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Nadim Shaikli
-*autocmd.txt* For Vim version 7.0b. Last change: 2006 Mar 15
+*autocmd.txt* For Vim version 7.0c. Last change: 2006 Mar 15
VIM REFERENCE MANUAL by Bram Moolenaar
-*change.txt* For Vim version 7.0b. Last change: 2006 Mar 16
+*change.txt* For Vim version 7.0c. Last change: 2006 Mar 16
VIM REFERENCE MANUAL by Bram Moolenaar
-*cmdline.txt* For Vim version 7.0b. Last change: 2006 Mar 16
+*cmdline.txt* For Vim version 7.0c. Last change: 2006 Mar 16
VIM REFERENCE MANUAL by Bram Moolenaar
-*debug.txt* For Vim version 7.0b. Last change: 2005 Dec 17
+*debug.txt* For Vim version 7.0c. Last change: 2005 Dec 17
VIM REFERENCE MANUAL by Bram Moolenaar
-*debugger.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*debugger.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Gordon Prieur
-*develop.txt* For Vim version 7.0b. Last change: 2006 Mar 09
+*develop.txt* For Vim version 7.0c. Last change: 2006 Mar 09
VIM REFERENCE MANUAL by Bram Moolenaar
-*diff.txt* For Vim version 7.0b. Last change: 2006 Mar 15
+*diff.txt* For Vim version 7.0c. Last change: 2006 Mar 15
VIM REFERENCE MANUAL by Bram Moolenaar
-*digraph.txt* For Vim version 7.0b. Last change: 2005 Sep 11
+*digraph.txt* For Vim version 7.0c. Last change: 2005 Sep 11
VIM REFERENCE MANUAL by Bram Moolenaar
-*editing.txt* For Vim version 7.0b. Last change: 2006 Mar 06
+*editing.txt* For Vim version 7.0c. Last change: 2006 Mar 06
VIM REFERENCE MANUAL by Bram Moolenaar
-*eval.txt* For Vim version 7.0b. Last change: 2006 Mar 26
+*eval.txt* For Vim version 7.0c. Last change: 2006 Mar 26
VIM REFERENCE MANUAL by Bram Moolenaar
-*farsi.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*farsi.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
-*filetype.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*filetype.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM REFERENCE MANUAL by Bram Moolenaar
-*fold.txt* For Vim version 7.0b. Last change: 2005 Sep 10
+*fold.txt* For Vim version 7.0c. Last change: 2005 Sep 10
VIM REFERENCE MANUAL by Bram Moolenaar
-*getscript.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*getscript.txt* For Vim version 7.0c. Last change: 2006 Mar 24
Get the Latest VimScripts
-*gui.txt* For Vim version 7.0b. Last change: 2006 Mar 20
+*gui.txt* For Vim version 7.0c. Last change: 2006 Mar 20
VIM REFERENCE MANUAL by Bram Moolenaar
-*gui_w16.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*gui_w16.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
-*gui_w32.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*gui_w32.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
-*gui_x11.txt* For Vim version 7.0b. Last change: 2005 Dec 06
+*gui_x11.txt* For Vim version 7.0c. Last change: 2005 Dec 06
VIM REFERENCE MANUAL by Bram Moolenaar
-*hangulin.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*hangulin.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam
-*hebrew.txt* For Vim version 7.0b. Last change: 2003 May 11
+*hebrew.txt* For Vim version 7.0c. Last change: 2003 May 11
VIM REFERENCE MANUAL by Ron Aaron (and Avner Lottem)
-*help.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*help.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM - main help file
k
-*howto.txt* For Vim version 7.0b. Last change: 2001 Sep 03
+*howto.txt* For Vim version 7.0c. Last change: 2001 Sep 03
VIM REFERENCE MANUAL by Bram Moolenaar
-*if_cscop.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*if_cscop.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Andy Kahn
-*if_mzsch.txt* For Vim version 7.0b. Last change: 2006 Mar 06
+*if_mzsch.txt* For Vim version 7.0c. Last change: 2006 Mar 06
VIM REFERENCE MANUAL by Sergey Khorev
-*if_ole.txt* For Vim version 7.0b. Last change: 2006 Mar 06
+*if_ole.txt* For Vim version 7.0c. Last change: 2006 Mar 06
VIM REFERENCE MANUAL by Paul Moore
-*if_perl.txt* For Vim version 7.0b. Last change: 2006 Mar 06
+*if_perl.txt* For Vim version 7.0c. Last change: 2006 Mar 06
VIM REFERENCE MANUAL by Sven Verdoolaege
-*if_pyth.txt* For Vim version 7.0b. Last change: 2006 Jan 20
+*if_pyth.txt* For Vim version 7.0c. Last change: 2006 Jan 20
VIM REFERENCE MANUAL by Paul Moore
-*if_ruby.txt* For Vim version 7.0b. Last change: 2006 Mar 26
+*if_ruby.txt* For Vim version 7.0c. Last change: 2006 Mar 26
VIM REFERENCE MANUAL by Shugo Maeda
-*if_sniff.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*if_sniff.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL
-*if_tcl.txt* For Vim version 7.0b. Last change: 2006 Mar 06
+*if_tcl.txt* For Vim version 7.0c. Last change: 2006 Mar 06
VIM REFERENCE MANUAL by Ingo Wilken
-*indent.txt* For Vim version 7.0b. Last change: 2005 Aug 30
+*indent.txt* For Vim version 7.0c. Last change: 2005 Aug 30
VIM REFERENCE MANUAL by Bram Moolenaar
-*index.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*index.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM REFERENCE MANUAL by Bram Moolenaar
-*insert.txt* For Vim version 7.0b. Last change: 2006 Mar 21
+*insert.txt* For Vim version 7.0c. Last change: 2006 Mar 21
VIM REFERENCE MANUAL by Bram Moolenaar
-*intro.txt* For Vim version 7.0b. Last change: 2005 Sep 01
+*intro.txt* For Vim version 7.0c. Last change: 2005 Sep 01
VIM REFERENCE MANUAL by Bram Moolenaar
-*map.txt* For Vim version 7.0b. Last change: 2006 Mar 20
+*map.txt* For Vim version 7.0c. Last change: 2006 Mar 20
VIM REFERENCE MANUAL by Bram Moolenaar
-*mbyte.txt* For Vim version 7.0b. Last change: 2006 Mar 05
+*mbyte.txt* For Vim version 7.0c. Last change: 2006 Mar 05
VIM REFERENCE MANUAL by Bram Moolenaar et al.
-*message.txt* For Vim version 7.0b. Last change: 2006 Mar 01
+*message.txt* For Vim version 7.0c. Last change: 2006 Mar 01
VIM REFERENCE MANUAL by Bram Moolenaar
-*mlang.txt* For Vim version 7.0b. Last change: 2004 Feb 24
+*mlang.txt* For Vim version 7.0c. Last change: 2004 Feb 24
VIM REFERENCE MANUAL by Bram Moolenaar
-*motion.txt* For Vim version 7.0b. Last change: 2006 Jan 02
+*motion.txt* For Vim version 7.0c. Last change: 2006 Jan 02
VIM REFERENCE MANUAL by Bram Moolenaar
-*netbeans.txt* For Vim version 7.0b. Last change: 2006 Mar 09
+*netbeans.txt* For Vim version 7.0c. Last change: 2006 Mar 09
VIM REFERENCE MANUAL by Gordon Prieur
-*options.txt* For Vim version 7.0b. Last change: 2006 Mar 26
+*options.txt* For Vim version 7.0c. Last change: 2006 Mar 26
VIM REFERENCE MANUAL by Bram Moolenaar
-*os_390.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*os_390.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Ralf Schandl
-*os_amiga.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*os_amiga.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
-*os_beos.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*os_beos.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
-*os_dos.txt* For Vim version 7.0b. Last change: 2006 Feb 14
+*os_dos.txt* For Vim version 7.0c. Last change: 2006 Feb 14
VIM REFERENCE MANUAL by Bram Moolenaar
-*os_mac.txt* For Vim version 7.0b. Last change: 2006 Mar 09
+*os_mac.txt* For Vim version 7.0c. Last change: 2006 Mar 26
VIM REFERENCE MANUAL by Bram Moolenaar et al.
==============================================================================
3. Mac FAQ *mac-faq*
+On the internet: http://macvim.org/OSX/index.php#FAQ
+
Q: I can't enter non-ASCII character in Apple Terminal.
A: Under Window Settings, Emulation, make sure that "Escape non-ASCII
characters" is not checked.
-*os_mint.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*os_mint.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Jens M. Felderhoff
-*os_msdos.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*os_msdos.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
-*os_os2.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*os_os2.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Paul Slootman
-*os_qnx.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*os_qnx.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Julian Kinraid
-*os_risc.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*os_risc.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Thomas Leonard
-*os_unix.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*os_unix.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
-*os_vms.txt* For Vim version 7.0b. Last change: 2006 Mar 02
+*os_vms.txt* For Vim version 7.0c. Last change: 2006 Mar 02
VIM REFERENCE MANUAL
-*os_win32.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*os_win32.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by George Reilly
-*pattern.txt* For Vim version 7.0b. Last change: 2006 Mar 25
+*pattern.txt* For Vim version 7.0c. Last change: 2006 Mar 25
VIM REFERENCE MANUAL by Bram Moolenaar
-*pi_gzip.txt* For Vim version 7.0b. Last change: 2002 Oct 29
+*pi_gzip.txt* For Vim version 7.0c. Last change: 2002 Oct 29
VIM REFERENCE MANUAL by Bram Moolenaar
-*pi_netrw.txt* For Vim version 7.0b. Last change: Mar 22, 2006
+*pi_netrw.txt* For Vim version 7.0c. Last change: Mar 22, 2006
VIM REFERENCE MANUAL by Charles E. Campbell, Jr.
-*pi_paren.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*pi_paren.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM REFERENCE MANUAL by Bram Moolenaar
-*pi_spec.txt* For Vim version 7.0b. Last change: 2005 Oct 03
+*pi_spec.txt* For Vim version 7.0c. Last change: 2005 Oct 03
by Gustavo Niemeyer ~
-*tar.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*tar.txt* For Vim version 7.0c. Last change: 2006 Mar 24
Tar File Interface
-*zip.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*zip.txt* For Vim version 7.0c. Last change: 2006 Mar 24
Zip File Interface
-*print.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*print.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM REFERENCE MANUAL by Bram Moolenaar
-*quickfix.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*quickfix.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM REFERENCE MANUAL by Bram Moolenaar
-*quickref.txt* For Vim version 7.0b. Last change: 2006 Mar 23
+*quickref.txt* For Vim version 7.0c. Last change: 2006 Mar 23
VIM REFERENCE MANUAL by Bram Moolenaar
-*quotes.txt* For Vim version 7.0b. Last change: 2005 Apr 04
+*quotes.txt* For Vim version 7.0c. Last change: 2005 Apr 04
VIM REFERENCE MANUAL by Bram Moolenaar
-*recover.txt* For Vim version 7.0b. Last change: 2005 Dec 12
+*recover.txt* For Vim version 7.0c. Last change: 2005 Dec 12
VIM REFERENCE MANUAL by Bram Moolenaar
-*remote.txt* For Vim version 7.0b. Last change: 2006 Mar 11
+*remote.txt* For Vim version 7.0c. Last change: 2006 Mar 11
VIM REFERENCE MANUAL by Bram Moolenaar
-*repeat.txt* For Vim version 7.0b. Last change: 2006 Mar 21
+*repeat.txt* For Vim version 7.0c. Last change: 2006 Mar 21
VIM REFERENCE MANUAL by Bram Moolenaar
-*rileft.txt* For Vim version 7.0b. Last change: 2005 Apr 04
+*rileft.txt* For Vim version 7.0c. Last change: 2005 Apr 04
VIM REFERENCE MANUAL by Avner Lottem
-*russian.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*russian.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM REFERENCE MANUAL by Vassily Ragosin
-*scroll.txt* For Vim version 7.0b. Last change: 2005 Dec 16
+*scroll.txt* For Vim version 7.0c. Last change: 2005 Dec 16
VIM REFERENCE MANUAL by Bram Moolenaar
-*sign.txt* For Vim version 7.0b. Last change: 2005 Apr 04
+*sign.txt* For Vim version 7.0c. Last change: 2005 Apr 04
VIM REFERENCE MANUAL by Gordon Prieur
-*spell.txt* For Vim version 7.0b. Last change: 2006 Mar 26
+*spell.txt* For Vim version 7.0c. Last change: 2006 Mar 27
VIM REFERENCE MANUAL by Bram Moolenaar
character but a, b and c.
{extra} Optional extra text:
- rare word + affix is rare
- nocomp no compounding for word + affix
# comment Comment is ignored
- Hunspell uses this, ignored
- "rare" and "nocomp" are deprecated.
For PFX the fields are the same, but the {strip}, {add} and {condition} apply
to the start of the word.
|spell-COMPOUNDFORBIDFLAG| flag.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-OLD STUFF
+OLD STUFF: This needs to be rewritten to use affix flags.
*spell-affix-rare*
An extra item for Vim is the "rare" flag. It must come after the other
fields, before a comment. When used then all words that use the affix will be
compound. This means it counts for two words when checking the compounding
rules. Can also be used for an affix to count the affix as a compounding
word.
-NOT IMPLEMENTED YET.
*spell-SYLLABLE*
The SYLLABLE item defines characters or character sequences that are used to
-*sponsor.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*sponsor.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM REFERENCE MANUAL by Bram Moolenaar
-*sql.txt* For Vim version 7.0b. Last change: Fri Jan 06 2006 8:09:25 AM
+*sql.txt* For Vim version 7.0c. Last change: Fri Jan 06 2006 8:09:25 AM
by David Fishburn
-vim:tw=78:ts=8:ft=help:norl:ff=unix:
+vim:tw=78:ts=8:ft=help:norl:
-*starting.txt* For Vim version 7.0b. Last change: 2006 Mar 25
+*starting.txt* For Vim version 7.0c. Last change: 2006 Mar 26
VIM REFERENCE MANUAL by Bram Moolenaar
Note that this file is ALWAYS read in 'compatible' mode, since the
automatic resetting of 'compatible' is only done later. Add a ":set
nocp" command if you like.
+ For the Macintosh the $VIMRUNTIME/macmap.vim is read.
*VIMINIT* *.vimrc* *_vimrc* *EXINIT* *.exrc* *_exrc*
c. Four places are searched for initializations. The first that exists
-*syntax.txt* For Vim version 7.0b. Last change: 2006 Mar 12
+*syntax.txt* For Vim version 7.0c. Last change: 2006 Mar 12
VIM REFERENCE MANUAL by Bram Moolenaar
-*tabpage.txt* For Vim version 7.0b. Last change: 2006 Mar 03
+*tabpage.txt* For Vim version 7.0c. Last change: 2006 Mar 03
VIM REFERENCE MANUAL by Bram Moolenaar
-*tagsrch.txt* For Vim version 7.0b. Last change: 2006 Feb 24
+*tagsrch.txt* For Vim version 7.0c. Last change: 2006 Feb 24
VIM REFERENCE MANUAL by Bram Moolenaar
-*term.txt* For Vim version 7.0b. Last change: 2006 Feb 14
+*term.txt* For Vim version 7.0c. Last change: 2006 Feb 14
VIM REFERENCE MANUAL by Bram Moolenaar
-*tips.txt* For Vim version 7.0b. Last change: 2006 Mar 01
+*tips.txt* For Vim version 7.0c. Last change: 2006 Mar 01
VIM REFERENCE MANUAL by Bram Moolenaar
-*todo.txt* For Vim version 7.0b. Last change: 2006 Mar 26
+*todo.txt* For Vim version 7.0c. Last change: 2006 Mar 27
VIM REFERENCE MANUAL by Bram Moolenaar
In completion using Enter to accept the current match causes trouble.
Leave it out? Typing a space already works
+The 16 bit DOS version compiles now, but it's still too low on memory, writing
+a file fails when 'writebackup' is set.
+
New Hungarian dictionary. (Laci Nemeth)
test COMPOUNDFORBIDFLAG
implement use of COMPOUNDPERMITFLAG
implement use of CHECKCOMPOUND* flags, <compoptions>
implement using CHECKCOMPOUNDPATTERN: match words with sl_comppat[].
+ explain the use of affix flags, replace |spell-affix-rare|
Mac: When started from finder path isn't set and curdir is /.
Benji Fisher suggests using system() (2006 Mar 26)
+Mac: reported default for $VIM is /Applications/share/vim
+
Add more tests for all new functionality in Vim 7. Especially new functions.
Win32: Describe how to do debugging. (George Reilly)
Tab pages:
+9 Win32 GUI: menu for tab pages line.
9 GUI implementation for the tab pages line for other systems.
8 Make GUI menu in tab pages line configurable. Like the popup menu.
8 tab pages in the session file, if "tabpages" in 'sessionoptions'
- For Vim version 7.0b. Last change: 2006 Mar 24
+ For Vim version 7.0c. Last change: 2006 Mar 24
VIM REFERENCE MANUAL by Bram Moolenaar
-*uganda.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*uganda.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM REFERENCE MANUAL by Bram Moolenaar
-*undo.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*undo.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM REFERENCE MANUAL by Bram Moolenaar
-*usr_01.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_01.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_02.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*usr_02.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM USER MANUAL - by Bram Moolenaar
-*usr_03.txt* For Vim version 7.0b. Last change: 2005 Apr 22
+*usr_03.txt* For Vim version 7.0c. Last change: 2005 Apr 22
VIM USER MANUAL - by Bram Moolenaar
-*usr_04.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_04.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_05.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*usr_05.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM USER MANUAL - by Bram Moolenaar
-*usr_06.txt* For Vim version 7.0b. Last change: 2006 Feb 16
+*usr_06.txt* For Vim version 7.0c. Last change: 2006 Feb 16
VIM USER MANUAL - by Bram Moolenaar
-*usr_07.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_07.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_08.txt* For Vim version 7.0b. Last change: 2006 Feb 25
+*usr_08.txt* For Vim version 7.0c. Last change: 2006 Feb 25
VIM USER MANUAL - by Bram Moolenaar
-*usr_09.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_09.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_10.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_10.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_11.txt* For Vim version 7.0b. Last change: 2005 Jun 09
+*usr_11.txt* For Vim version 7.0c. Last change: 2005 Jun 09
VIM USER MANUAL - by Bram Moolenaar
-*usr_12.txt* For Vim version 7.0b. Last change: 2006 Feb 26
+*usr_12.txt* For Vim version 7.0c. Last change: 2006 Feb 26
VIM USER MANUAL - by Bram Moolenaar
-*usr_20.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_20.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_21.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_21.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_22.txt* For Vim version 7.0b. Last change: 2005 Apr 10
+*usr_22.txt* For Vim version 7.0c. Last change: 2005 Apr 10
VIM USER MANUAL - by Bram Moolenaar
-*usr_23.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_23.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_24.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_24.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_25.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_25.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_26.txt* For Vim version 7.0b. Last change: 2002 Oct 29
+*usr_26.txt* For Vim version 7.0c. Last change: 2002 Oct 29
VIM USER MANUAL - by Bram Moolenaar
-*usr_27.txt* For Vim version 7.0b. Last change: 2005 Feb 08
+*usr_27.txt* For Vim version 7.0c. Last change: 2005 Feb 08
VIM USER MANUAL - by Bram Moolenaar
-*usr_28.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_28.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_29.txt* For Vim version 7.0b. Last change: 2004 Feb 12
+*usr_29.txt* For Vim version 7.0c. Last change: 2004 Feb 12
VIM USER MANUAL - by Bram Moolenaar
-*usr_30.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_30.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_31.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*usr_31.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM USER MANUAL - by Bram Moolenaar
-*usr_32.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*usr_32.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM USER MANUAL - by Bram Moolenaar
-*usr_40.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*usr_40.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM USER MANUAL - by Bram Moolenaar
-*usr_41.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*usr_41.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM USER MANUAL - by Bram Moolenaar
-*usr_42.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_42.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_43.txt* For Vim version 7.0b. Last change: 2002 Jul 14
+*usr_43.txt* For Vim version 7.0c. Last change: 2002 Jul 14
VIM USER MANUAL - by Bram Moolenaar
-*usr_44.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*usr_44.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM USER MANUAL - by Bram Moolenaar
-*usr_45.txt* For Vim version 7.0b. Last change: 2004 Jun 08
+*usr_45.txt* For Vim version 7.0c. Last change: 2004 Jun 08
VIM USER MANUAL - by Bram Moolenaar
-*usr_90.txt* For Vim version 7.0b. Last change: 2004 Mar 21
+*usr_90.txt* For Vim version 7.0c. Last change: 2004 Mar 21
VIM USER MANUAL - by Bram Moolenaar
-*usr_toc.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*usr_toc.txt* For Vim version 7.0c. Last change: 2006 Mar 24
VIM USER MANUAL - by Bram Moolenaar
-*various.txt* For Vim version 7.0b. Last change: 2006 Mar 25
+*various.txt* For Vim version 7.0c. Last change: 2006 Mar 25
VIM REFERENCE MANUAL by Bram Moolenaar
-*version4.txt* For Vim version 7.0b. Last change: 2004 Mar 12
+*version4.txt* For Vim version 7.0c. Last change: 2004 Mar 12
VIM REFERENCE MANUAL by Bram Moolenaar
-*version5.txt* For Vim version 7.0b. Last change: 2005 Apr 01
+*version5.txt* For Vim version 7.0c. Last change: 2005 Apr 01
VIM REFERENCE MANUAL by Bram Moolenaar
-*version6.txt* For Vim version 7.0b. Last change: 2005 Oct 17
+*version6.txt* For Vim version 7.0c. Last change: 2005 Oct 17
VIM REFERENCE MANUAL by Bram Moolenaar
-*version7.txt* For Vim version 7.0b. Last change: 2006 Mar 26
+*version7.txt* For Vim version 7.0c. Last change: 2006 Mar 27
VIM REFERENCE MANUAL by Bram Moolenaar
already running Vim server.
More info here: |tabpage|
+The Win32 GUI tabs were implemented by Yegappan Lakshmanan.
Undo branches *new-undo-branches*
than building a universal binary. Also, using Perl/Python/etc. only works for
the current platform.
+The time on undo messages disappeared for someone. Using %T for strftime()
+apparently doesn't work everywhere. Use %H:%M:%S instead.
+
+Typing BS at the "z=" prompt removed the prompt.
vim:tw=78:ts=8:ft=help:norl:
-*vi_diff.txt* For Vim version 7.0b. Last change: 2006 Jan 02
+*vi_diff.txt* For Vim version 7.0c. Last change: 2006 Jan 02
VIM REFERENCE MANUAL by Bram Moolenaar
.B Vim
pour l'ensemble du système.
.TP
+~/.vimrc
+Initialisation de
+.B Vim
+de votre compte utilisateur.
+.TP
/usr/local/lib/vim/gvimrc
Initialisation de gvim pour l'ensemble du système.
.TP
+~/.gvimrc
+Initialisation de gvim pour votre compte utilisateur.
+.TP
/usr/local/lib/vim/optwin.vim
Script utilisé pour la commande ":options", une manière pratique de consulter
et de modifier les options.
name.
The effect is that the file containing that function becomes the current file
and the cursor is positioned on the start of the function.
-See ":help tag-commands".
+See ":help tag\-commands".
.TP
\-q [errorfile]
Start in quickFix mode.
+/{pat}
For the first file the cursor will be positioned on the
first occurrence of {pat}.
-See ":help search-pattern" for the available search patterns.
+See ":help search\-pattern" for the available search patterns.
.TP
+{command}
.TP
Use the commands in the file {gvimrc} for GUI initializations.
All the other GUI initializations are skipped.
It can also be used to skip all GUI initializations by giving the name "NONE".
-See ":help gui-init" within vim for more details.
+See ":help gui\-init" within vim for more details.
.TP
\-V[N]
Verbose. Give messages about which files are sourced and for reading and
to get started.
Type ":help subject" to get help on a specific subject.
For example: ":help ZZ" to get help for the "ZZ" command.
-Use <Tab> and CTRL\-D to complete subjects (":help cmdline\-completion").
+Use <Tab> and CTRL-D to complete subjects (":help cmdline\-completion").
Tags are present to jump from one place to another (sort of hypertext links,
see ":help").
All documentation files can be viewed in this way, for example
-*vimball.txt* For Vim version 7.0b. Last change: 2006 Mar 24
+*vimball.txt* For Vim version 7.0c. Last change: 2006 Mar 24
Vimball Archiver
-*visual.txt* For Vim version 7.0b. Last change: 2006 Mar 20
+*visual.txt* For Vim version 7.0c. Last change: 2006 Mar 20
VIM REFERENCE MANUAL by Bram Moolenaar
-*windows.txt* For Vim version 7.0b. Last change: 2006 Mar 11
+*windows.txt* For Vim version 7.0c. Last change: 2006 Mar 11
VIM REFERENCE MANUAL by Bram Moolenaar
-*workshop.txt* For Vim version 7.0b. Last change: 2005 Mar 29
+*workshop.txt* For Vim version 7.0c. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Gordon Prieur
Il peut également convertir un fichier de codes hexadécimaux en un fichier
binaire.
Comme
-.BR uuencode(1)
+.BR uuencode (1)
et
-.BR uudecode(1)
+.BR uudecode (1)
il permet la transmission de données binaires dans une représentation ASCII
compatible avec le courrier électronique, mais a l'avantage de décoder la
sortie standard.
.TP
.I \-seek décalage
Utilisé après l'option
-.I \-r
-\: inverse la conversion en ajoutant
+.IR \-r :
+inverse la conversion en ajoutant
.RI < décalage >
aux positions dans le fichier données dans le code hexadécimal.
.TP
-.I \-s [\+][\-]décalage
+.I \-s [+][\-]décalage
Débute au
.RI < décalage >
absolu ou relatif dans fichier_entree.
-\fI\+ \fRindique que le décalage est relatif à la position courante dans
+\fI+ fRindique que le décalage est relatif à la position courante dans
l'entrée standard (sans effet si la lecture n'a pas lieu sur l'entrée
standard). \fI\- \fRindique un décalage en caractères depuis la fin de
-l'entrée (utilisé avec \fI \+ \fR, désigne la position avant la position
+l'entrée (utilisé avec \fI+\fR, désigne la position avant la position
actuelle de l'entrée standard).
Sans l'option \-s, xxd démarre à la position courante du fichier.
.TP
.br
et
.br
-\fI% xxd \-i \< fichier\fR
+\fI% xxd \-i < fichier\fR
.PP
.I xxd \-s \+seek
peut différer de
-.I xxd \-s seek
-\, car lseek(2) est utilisé pour « revenir en arrière ». Le '+' fait une
+.IR "xxd \-s seek" ,
+car lseek(2) est utilisé pour « revenir en arrière ». Le '+' fait une
différence quand la source des données est l'entrée standard et si la position
dans le fichier de l'entrée standard n'est pas au début du fichier lorsque xxd
est démarré et qu'il reçoit ses données.
\fI% sh \-c 'dd of=donnees_binaires bs=1k count=1; xxd \-s +128 >
donnees_hexa' < fichier\fR
.PP
-Convertir de fichier depuis la position 0x100 (= 1024 - 768) du fichier.
+Convertir de fichier depuis la position 0x100 (= 1024 \- 768) du fichier.
.br
\fI% sh \-c 'dd of=donnees_binaires bs=1k count=1; xxd \-s +\-768 >
donnees_hexa' < fichier\fR
.br
\fI% xxd \-i < file\fR
.PP
-.I xxd \-s \+seek
+.I xxd \-s +seek
may be different from
.IR "xxd \-s seek" ,
as lseek(2) is used to "rewind" input. A '+'
Rewind stdin before reading; needed because the `cat' has already read to the
end of stdin.
.br
-\fI% sh \-c 'cat > plain_copy; xxd \-s 0 > hex_copy' < file
+\fI% sh \-c "cat > plain_copy; xxd \-s 0 > hex_copy" < file
.PP
Hexdump from file position 0x480 (=1024+128) onwards.
The `+' sign means "relative to the current position", thus the `128' adds to
the 1k where dd left off.
.br
-\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +128 > hex_snippet' < file
+\fI% sh \-c "dd of=plain_snippet bs=1k count=1; xxd \-s +128 > hex_snippet" < file
.PP
Hexdump from file position 0x100 ( = 1024\-768) on.
.br
-\fI% sh \-c 'dd of=plain_snippet bs=1k count=1; xxd \-s +-768 > hex_snippet' < file
+\fI% sh \-c "dd of=plain_snippet bs=1k count=1; xxd \-s +\-768 > hex_snippet" < file
.PP
However, this is a rare situation and the use of `+' is rarely needed.
The author prefers to monitor the effect of xxd with strace(1) or truss(1), whenever \-s is used.
.PP
.br
Print everything but the first three lines (hex 0x30 bytes) of
-.B file
-\.
+.BR file .
.br
\fI% xxd \-s 0x30 file
.PP
.br
Print 3 lines (hex 0x30 bytes) from the end of
-.B file
-\.
+.BR file .
.br
\fI% xxd \-s \-0x30 file
.PP
.B output_file
and prepend 100 bytes of value 0x00.
.br
-\fI% xxd input_file | xxd \-r \-s 100 \> output_file\fR
+\fI% xxd input_file | xxd \-r \-s 100 > output_file\fR
.br
.br
Patch the date in the file xxd.1
.br
-\fI% echo '0000037: 3574 68' | xxd \-r \- xxd.1\fR
+\fI% echo "0000037: 3574 68" | xxd \-r \- xxd.1\fR
.br
\fI% xxd \-s 0x36 \-l 13 \-c 13 xxd.1\fR
.br
Create a 65537 byte file with all bytes 0x00,
except for the last one which is 'A' (hex 0x41).
.br
-\fI% echo '010000: 41' | xxd \-r \> file\fR
+\fI% echo "010000: 41" | xxd \-r > file\fR
.PP
.br
Hexdump this file with autoskip.
The number after '\-r \-s' adds to the linenumbers found in the file;
in effect, the leading bytes are suppressed.
.br
-\fI% echo '010000: 41' | xxd \-r \-s \-0x10000 \> file\fR
+\fI% echo "010000: 41" | xxd \-r \-s \-0x10000 > file\fR
.PP
Use xxd as a filter within an editor such as
.B vim(1)
.br
(c) 1990-1997 by Juergen Weigert
.br
-<jnweiger@informatik.uni-erlangen.de>
+<jnweiger@informatik.uni\-erlangen.de>
.LP
Distribute freely and credit me,
.br
Rewind stdin before reading; needed because the `cat' has already read
to the end of stdin.
- % sh -c 'cat > plain_copy; xxd -s 0 > hex_copy' < file
+ % sh -c "cat > plain_copy; xxd -s 0 > hex_copy" < file
Hexdump from file position 0x480 (=1024+128) onwards. The `+' sign
means "relative to the current position", thus the `128' adds to the 1k
where dd left off.
- % sh -c 'dd of=plain_snippet bs=1k count=1; xxd -s +128 > hex_snippet'
+ % sh -c "dd of=plain_snippet bs=1k count=1; xxd -s +128 > hex_snippet"
< file
Hexdump from file position 0x100 ( = 1024-768) on.
- % sh -c 'dd of=plain_snippet bs=1k count=1; xxd -s +-768 > hex_snippet'
+ % sh -c "dd of=plain_snippet bs=1k count=1; xxd -s +-768 > hex_snippet"
< file
However, this is a rare situation and the use of `+' is rarely needed.
truss(1), whenever -s is used.
EXAMPLES
- Print everything but the first three lines (hex 0x30 bytes) of file
+ Print everything but the first three lines (hex 0x30 bytes) of file.
% xxd -s 0x30 file
- Print 3 lines (hex 0x30 bytes) from the end of file
+ Print 3 lines (hex 0x30 bytes) from the end of file.
% xxd -s -0x30 file
Print 120 bytes as continuous hexdump with 40 octets per line.
% xxd input_file | xxd -r -s 100 > output_file
Patch the date in the file xxd.1
- % echo '0000037: 3574 68' | xxd -r - xxd.1
+ % echo "0000037: 3574 68" | xxd -r - xxd.1
% xxd -s 0x36 -l 13 -c 13 xxd.1
0000036: 3235 7468 204d 6179 2031 3939 36 25th May 1996
Create a 65537 byte file with all bytes 0x00, except for the last one
which is 'A' (hex 0x41).
- % echo '010000: 41' | xxd -r > file
+ % echo "010000: 41" | xxd -r > file
Hexdump this file with autoskip.
% xxd -a -c 12 file
Create a 1 byte file containing a single 'A' character. The number
after '-r -s' adds to the linenumbers found in the file; in effect, the
leading bytes are suppressed.
- % echo '010000: 41' | xxd -r -s -0x10000 > file
+ % echo "010000: 41" | xxd -r -s -0x10000 > file
Use xxd as a filter within an editor such as vim(1) to hexdump a region
marked between `a' and `z'.
" Vim syntax file
" Language: Vim help file
" Maintainer: Bram Moolenaar (Bram@vim.org)
-" Last Change: 2005 Sep 01
+" Last Change: 2006 Mar 26
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
syn match helpError "\t[* ]Error\t\+[a-z].*"
syn match helpTodo "\t[* ]Todo\t\+[a-z].*"
-syn match helpURL `\v<(((https?|ftp|gopher)://|(mailto|file|news):)[^' <>"]+|(www|web|w3)[a-z0-9_-]*\.[a-z0-9._-]+\.[^' <>"]+)[a-z0-9/]`
+syn match helpURL `\v<(((https?|ftp|gopher)://|(mailto|file|news):)[^' <>"]+|(www|web|w3)[a-z0-9_-]*\.[a-z0-9._-]+\.[^' <>"]+)[a-zA-Z0-9/]`
" Additionally load a language-specific syntax file "help_ab.vim".
let s:i = match(expand("%"), '\.\a\ax$')
" Vim syntax file
-" Language: RCS file
-" Maintainer: Dmitry Vasiliev <dima@hlabs.spb.ru>
-" URL: http://www.hlabs.spb.ru/vim/rcs.vim
-" Last Change: $Date$
-" Filenames: *,v
-" $Revision$
-"
+" Language: RCS file
+" Maintainer: Dmitry Vasiliev <dima at hlabs dot spb dot ru>
+" URL: http://www.hlabs.spb.ru/vim/rcs.vim
+" Revision: $Id$
+" Filenames: *,v
+" Version: 1.11
+
" Options:
-" rcs_folding = 1 For folding strings
+" rcs_folding = 1 For folding strings
" For version 5.x: Clear all syntax items.
" For version 6.x: Quit when a syntax file was already loaded.
endif
" RCS file must end with a newline.
-syn match rcsEOFError ".\%$" containedin=ALL
+syn match rcsEOFError ".\%$" containedin=ALL
" Keywords.
-syn keyword rcsKeyword head branch access symbols locks strict
-syn keyword rcsKeyword comment expand date author state branches
-syn keyword rcsKeyword next desc log
-syn keyword rcsKeyword text nextgroup=rcsTextStr skipwhite skipempty
+syn keyword rcsKeyword head branch access symbols locks strict
+syn keyword rcsKeyword comment expand date author state branches
+syn keyword rcsKeyword next desc log
+syn keyword rcsKeyword text nextgroup=rcsTextStr skipwhite skipempty
" Revision numbers and dates.
-syn match rcsNumber "\<[0-9.]\+\>" display
+syn match rcsNumber "\<[0-9.]\+\>" display
" Strings.
if exists("rcs_folding") && has("folding")
" Folded strings.
- syn region rcsString matchgroup=rcsString start="@" end="@" skip="@@" fold contains=rcsSpecial
- syn region rcsTextStr matchgroup=rcsTextStr start="@" end="@" skip="@@" fold contained contains=rcsSpecial,rcsDiffLines
+ syn region rcsString matchgroup=rcsString start="@" end="@" skip="@@" fold contains=rcsSpecial
+ syn region rcsTextStr matchgroup=rcsTextStr start="@" end="@" skip="@@" fold contained contains=rcsSpecial,rcsDiffLines
else
- syn region rcsString matchgroup=rcsString start="@" end="@" skip="@@" contains=rcsSpecial
- syn region rcsTextStr matchgroup=rcsTextStr start="@" end="@" skip="@@" contained contains=rcsSpecial,rcsDiffLines
+ syn region rcsString matchgroup=rcsString start="@" end="@" skip="@@" contains=rcsSpecial
+ syn region rcsTextStr matchgroup=rcsTextStr start="@" end="@" skip="@@" contained contains=rcsSpecial,rcsDiffLines
endif
-syn match rcsSpecial "@@" contained
-syn match rcsDiffLines "[da]\d\+ \d\+$" contained
+syn match rcsSpecial "@@" contained
+syn match rcsDiffLines "[da]\d\+ \d\+$" contained
" Synchronization.
syn sync clear
syn sync fromstart
else
" We have incorrect folding if following sync patterns is turned on.
- syn sync match rcsSync grouphere rcsString "[0-9.]\+\(\s\|\n\)\+log\(\s\|\n\)\+@"me=e-1
- syn sync match rcsSync grouphere rcsTextStr "@\(\s\|\n\)\+text\(\s\|\n\)\+@"me=e-1
+ syn sync match rcsSync grouphere rcsString "[0-9.]\+\(\s\|\n\)\+log\(\s\|\n\)\+@"me=e-1
+ syn sync match rcsSync grouphere rcsTextStr "@\(\s\|\n\)\+text\(\s\|\n\)\+@"me=e-1
endif
" Define the default highlighting.
command -nargs=+ HiLink hi def link <args>
endif
- HiLink rcsKeyword Keyword
- HiLink rcsNumber Identifier
- HiLink rcsString String
- HiLink rcsTextStr String
- HiLink rcsSpecial Special
- HiLink rcsDiffLines Special
- HiLink rcsEOFError Error
+ HiLink rcsKeyword Keyword
+ HiLink rcsNumber Identifier
+ HiLink rcsString String
+ HiLink rcsTextStr String
+ HiLink rcsSpecial Special
+ HiLink rcsDiffLines Special
+ HiLink rcsEOFError Error
delcommand HiLink
endif
" Vim syntax file
-" Language: Subversion (svn) commit file
-" Maintainer: Dmitry Vasiliev <dima@hlabs.spb.ru>
-" URL: http://www.hlabs.spb.ru/vim/svn.vim
-" Last Change: $Date$
-" $Revision$
+" Language: Subversion (svn) commit file
+" Maintainer: Dmitry Vasiliev <dima at hlabs dot spb dot ru>
+" URL: http://www.hlabs.spb.ru/vim/svn.vim
+" Revision: $Id$
+" Filenames: svn-commit*.tmp
+" Version: 1.5
+
+" Contributors:
+" Stefano Zacchiroli
" For version 5.x: Clear all syntax items.
" For version 6.x: Quit when a syntax file was already loaded.
finish
endif
-syn region svnRegion start="--This line, and those below, will be ignored--" end="\%$" contains=ALL
-syn match svnRemoved "^D .*$" contained
-syn match svnAdded "^A[ M] .*$" contained
-syn match svnModified "^M[ M] .*$" contained
-syn match svnProperty "^_M .*$" contained
+syn region svnRegion start="^--.*--$" end="\%$" contains=ALL
+syn match svnRemoved "^D .*$" contained
+syn match svnAdded "^A[ M] .*$" contained
+syn match svnModified "^M[ M] .*$" contained
+syn match svnProperty "^_M .*$" contained
" Synchronization.
syn sync clear
-syn sync match svnSync grouphere svnRegion "--This line, and those below, will be ignored--"me=s-1
+syn sync match svnSync grouphere svnRegion "^--.*--$"me=s-1
" Define the default highlighting.
" For version 5.7 and earlier: only when not done already.
command -nargs=+ HiLink hi def link <args>
endif
- HiLink svnRegion Comment
- HiLink svnRemoved Constant
- HiLink svnAdded Identifier
- HiLink svnModified Special
- HiLink svnProperty Special
+ HiLink svnRegion Comment
+ HiLink svnRemoved Constant
+ HiLink svnAdded Identifier
+ HiLink svnModified Special
+ HiLink svnProperty Special
delcommand HiLink
endif
[HKEY_LOCAL_MACHINE\Software\Vim\Gvim]
"path"="gvim.exe"
-[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.0b]
- "DisplayName"="Vim 7.0b: Edit with Vim popup menu entry"
+[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.0c]
+ "DisplayName"="Vim 7.0c: Edit with Vim popup menu entry"
"UninstallString"="uninstal.exe"
### Vim version (adjusted by a script)
VIMMAJOR = 7
-VIMMINOR = 0b
+VIMMINOR = 0c
### Location of Vim files (should not need to be changed, and {{{1
### some things might not work when they are changed!)
/*
* GUI tabline
*/
-#if defined(FEAT_GUI_GTK) && defined(FEAT_WINDOWS)
+#if defined(FEAT_WINDOWS) && (defined(FEAT_GUI_GTK) \
+ || (defined(FEAT_GUI_MSWIN) && WINVER > 0x0400))
# define FEAT_GUI_TABLINE
#endif
text_area_y = TOOLBAR_BUTTON_HEIGHT + TOOLBAR_BORDER_HEIGHT;
#endif
+#if defined(FEAT_GUI_TABLINE) && defined(FEAT_GUI_MSWIN)
+ if (gui_has_tabline())
+ text_area_y += TABLINE_HEIGHT;
+#endif
+
#if defined(FEAT_TOOLBAR) && (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA))
if (vim_strchr(p_go, GO_TOOLBAR) != NULL)
{
base_height += gui.toolbar_height;
# endif
# endif
+# if defined(FEAT_GUI_TABLINE) && defined(FEAT_GUI_MSWIN)
+ if (gui_has_tabline())
+ base_height += TABLINE_HEIGHT;
+# endif
# ifdef FEAT_FOOTER
if (vim_strchr(p_go, GO_FOOTER) != NULL)
base_height += gui.footer_height;
# endif
#endif
+#if defined(FEAT_GUI_TABLINE) && defined(FEAT_GUI_MSWIN)
+ if (gui_has_tabline())
+ y += TABLINE_HEIGHT;
+#endif
+
#ifdef FEAT_WINDOWS
if (wp->w_winrow == 0)
#endif
#endif
#define TOOLBAR_BORDER_HEIGHT 12 /* room above+below buttons for MSWindows */
+#ifdef FEAT_GUI_MSWIN
+# define TABLINE_HEIGHT 24
+#endif
+
#if defined(NO_CONSOLE) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11)
# define NO_CONSOLE_INPUT /* use no_console_input() to check if there
is no console input possible */
static int get_toolbar_bitmap(vimmenu_T *menu);
#endif
+#ifdef FEAT_GUI_TABLINE
+static void initialise_tabline(void);
+#endif
+
#ifdef FEAT_MBYTE_IME
static LRESULT _OnImeComposition(HWND hwnd, WPARAM dbcs, LPARAM param);
static char_u *GetResultStr(HWND hwnd, int GCS, int *lenp);
case WM_SETTINGCHANGE:
return _OnSettingChange((UINT)wParam);
-#ifdef FEAT_TOOLBAR
+#if defined(FEAT_TOOLBAR) || defined(FEAT_GUI_TABLINE)
case WM_NOTIFY:
switch (((LPNMHDR) lParam)->code)
{
+# ifdef FEAT_TOOLBAR
case TTN_NEEDTEXT:
{
LPTOOLTIPTEXT lpttt;
}
}
break;
+# endif
+# ifdef FEAT_GUI_TABLINE
+ case TCN_SELCHANGE:
+ if (gui_mch_showing_tabline()
+ && ((LPNMHDR)lParam)->hwndFrom == s_tabhwnd)
+ send_tabline_event(TabCtrl_GetCurSel(s_tabhwnd) + 1);
+ break;
+# endif
default:
+# ifdef FEAT_GUI_TABLINE
+ if (gui_mch_showing_tabline()
+ && ((LPNMHDR)lParam)->hwndFrom == s_tabhwnd)
+ return MyWindowProc(hwnd, uMsg, wParam, lParam);
+# endif
break;
}
break;
result = MyWindowProc(hwnd, uMsg, wParam, lParam);
if (result == HTCLIENT)
{
+#ifdef FEAT_GUI_TABLINE
+ if (gui_mch_showing_tabline())
+ {
+ int yPos = GET_Y_LPARAM(lParam);
+ RECT rct;
+
+ /* If the cursor is on the GUI tabline, don't process this
+ * event */
+ GetWindowRect(s_textArea, &rct);
+ if (yPos < rct.top)
+ return result;
+ }
+#endif
gui_mch_get_winpos(&x, &y);
xPos -= x;
*/
initialise_toolbar();
#endif
+#ifdef FEAT_GUI_TABLINE
+ /*
+ * Create the tabline
+ */
+ initialise_tabline();
+#endif
#ifdef MSWIN_FIND_REPLACE
/*
* Initialise the dialog box stuff
}
#endif
+#if defined(FEAT_GUI_TABLINE) || defined(PROTO)
+ static void
+initialise_tabline(void)
+{
+ InitCommonControls();
+
+ s_tabhwnd = CreateWindow(WC_TABCONTROL, "", WS_CHILD|TCS_FOCUSNEVER,
+ CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
+ CW_USEDEFAULT, s_hwnd, NULL, s_hinst, NULL);
+}
+#endif
+
#if defined(FEAT_OLE) || defined(FEAT_EVAL) || defined(PROTO)
/*
* Make the GUI window come to the foreground.
#ifndef __MINGW32__
# include <shellapi.h>
#endif
-#if defined(FEAT_TOOLBAR) || defined(FEAT_BEVAL)
+#if defined(FEAT_TOOLBAR) || defined(FEAT_BEVAL) || defined(FEAT_GUI_TABLINE)
# include <commctrl.h>
#endif
#ifdef WIN16
static HWND s_toolbarhwnd = NULL;
#endif
+#ifdef FEAT_GUI_TABLINE
+static HWND s_tabhwnd = NULL;
+static int showing_tabline = 0;
+#endif
+
static WPARAM s_wParam = 0;
static LPARAM s_lParam = 0;
SendMessage(s_toolbarhwnd, WM_SIZE,
(WPARAM)0, (LPARAM)(w + ((long)(TOOLBAR_BUTTON_HEIGHT+8)<<16)));
#endif
+#if defined(FEAT_GUI_TABLINE)
+ if (showing_tabline)
+ {
+ int top = 0;
+
+#ifdef FEAT_TOOLBAR
+ if (vim_strchr(p_go, GO_TOOLBAR) != NULL)
+ top = TOOLBAR_BUTTON_HEIGHT + TOOLBAR_BORDER_HEIGHT;
+#endif
+
+ MoveWindow(s_tabhwnd, 0, top, w, TABLINE_HEIGHT, TRUE);
+ }
+#endif
+
/* When side scroll bar is unshown, the size of window will change.
* then, the text area move left or right. thus client rect should be
* forcely redraw. (Yasuhiro Matsumoto) */
#endif
+#if defined(FEAT_GUI_TABLINE) || defined(PROTO)
+/*
+ * Show or hide the tabline.
+ */
+ void
+gui_mch_show_tabline(int showit)
+{
+ if (s_tabhwnd == NULL)
+ return;
+
+ if (!showit != !showing_tabline)
+ {
+ if (showit)
+ ShowWindow(s_tabhwnd, SW_SHOW);
+ else
+ ShowWindow(s_tabhwnd, SW_HIDE);
+ showing_tabline = showit;
+ }
+}
+
+/*
+ * Return TRUE when tabline is displayed.
+ */
+ int
+gui_mch_showing_tabline(void)
+{
+ return s_tabhwnd != NULL && showing_tabline;
+}
+
+/*
+ * Update the labels of the tabline.
+ */
+ void
+gui_mch_update_tabline(void)
+{
+ tabpage_T *tp;
+ TCITEM tie;
+ int nr = 0;
+ int curtabidx = 0;
+ RECT rc;
+
+ if (s_tabhwnd == NULL)
+ return;
+
+ tie.mask = TCIF_TEXT;
+ tie.iImage = -1;
+
+ /* Add a label for each tab page. They all contain the same text area. */
+ for (tp = first_tabpage; tp != NULL; tp = tp->tp_next, ++nr)
+ {
+ if (tp == curtab)
+ curtabidx = nr;
+
+ if (!TabCtrl_GetItemRect(s_tabhwnd, nr, &rc))
+ {
+ /* Add the tab */
+ tie.pszText = "-Empty-";
+ TabCtrl_InsertItem(s_tabhwnd, nr, &tie);
+ }
+
+ get_tabline_label(tp);
+ tie.pszText = NameBuff;
+ TabCtrl_SetItem(s_tabhwnd, nr, &tie);
+ }
+
+ /* Remove any old labels. */
+ while (TabCtrl_GetItemRect(s_tabhwnd, nr, &rc))
+ TabCtrl_DeleteItem(s_tabhwnd, nr);
+
+ if (TabCtrl_GetCurSel(s_tabhwnd) != curtabidx)
+ TabCtrl_SetCurSel(s_tabhwnd, curtabidx);
+}
+
+/*
+ * Set the current tab to "nr". First tab is 1.
+ */
+ void
+gui_mch_set_curtab(nr)
+ int nr;
+{
+ if (s_tabhwnd == NULL)
+ return;
+
+ if (TabCtrl_GetCurSel(s_tabhwnd) != nr)
+ TabCtrl_SetCurSel(s_tabhwnd, nr);
+}
+
+#endif
+
/*
* ":simalt" command.
*/
{
/* memchr on HP does not like n > 2^31 !!! */
char *q = memchr(str_arg, '\0',
+#if SIZEOF_INT <= 2
+ precision
+#else
precision <= (size_t)0x7fffffffL ? precision
- : (size_t)0x7fffffffL);
+ : (size_t)0x7fffffffL
+#endif
+ );
str_arg_l = (q == NULL) ? precision : q - str_arg;
}
break;
{
int n = 0;
int c;
+ int typed = 0;
if (mouse_used != NULL)
*mouse_used = FALSE;
{
n = n * 10 + c - '0';
msg_putchar(c);
+ ++typed;
}
else if (c == K_DEL || c == K_KDEL || c == K_BS || c == Ctrl_H)
{
+ if (typed > 0)
+ {
+ MSG_PUTS("\b \b");
+ --typed;
+ }
n /= 10;
- MSG_PUTS("\b \b");
}
#ifdef FEAT_MOUSE
else if (mouse_used != NULL && c == K_LEFTMOUSE)
# define ISP_LATIN1 (char_u *)"@,161-255"
#endif
+/* The 16 bit MS-DOS version is low on space, make the string as short as
+ * possible when compiling with few features. */
+#if defined(FEAT_DIFF) || defined(FEAT_FOLDING) || defined(FEAT_SPELL) \
+ || defined(FEAT_VERTSPLIT) || defined(FEAT_CLIPBOARD) \
+ || defined(FEAT_INS_EXPAND) || defined(FEAT_SYN_HL)
+# define HIGHLIGHT_INIT "8:SpecialKey,@:NonText,d:Directory,e:ErrorMsg,i:IncSearch,l:Search,m:MoreMsg,M:ModeMsg,n:LineNr,r:Question,s:StatusLine,S:StatusLineNC,c:VertSplit,t:Title,v:Visual,V:VisualNOS,w:WarningMsg,W:WildMenu,f:Folded,F:FoldColumn,A:DiffAdd,C:DiffChange,D:DiffDelete,T:DiffText,>:SignColumn,B:SpellBad,P:SpellCap,R:SpellRare,L:SpellLocal,+:Pmenu,=:PmenuSel,x:PmenuSbar,X:PmenuThumb,*:TabLine,#:TabLineSel,_:TabLineFill,!:CursorColumn,.:CursorLine"
+#else
+# define HIGHLIGHT_INIT "8:SpecialKey,@:NonText,d:Directory,e:ErrorMsg,i:IncSearch,l:Search,m:MoreMsg,M:ModeMsg,n:LineNr,r:Question,s:StatusLine,S:StatusLineNC,t:Title,v:Visual,w:WarningMsg,W:WildMenu,>:SignColumn,*:TabLine,#:TabLineSel,_:TabLineFill"
+#endif
+
/*
* options[] is initialized here.
* The order of the options MUST be alphabetic for ":set all" and findoption().
{(char_u *)FALSE, (char_u *)0L}},
{"highlight", "hl", P_STRING|P_VI_DEF|P_RCLR|P_COMMA|P_NODUP,
(char_u *)&p_hl, PV_NONE,
- {(char_u *)"8:SpecialKey,@:NonText,d:Directory,e:ErrorMsg,i:IncSearch,l:Search,m:MoreMsg,M:ModeMsg,n:LineNr,r:Question,s:StatusLine,S:StatusLineNC,c:VertSplit,t:Title,v:Visual,V:VisualNOS,w:WarningMsg,W:WildMenu,f:Folded,F:FoldColumn,A:DiffAdd,C:DiffChange,D:DiffDelete,T:DiffText,>:SignColumn,B:SpellBad,P:SpellCap,R:SpellRare,L:SpellLocal,+:Pmenu,=:PmenuSel,x:PmenuSbar,X:PmenuThumb,*:TabLine,#:TabLineSel,_:TabLineFill,!:CursorColumn,.:CursorLine",
- (char_u *)0L}},
+ {(char_u *)HIGHLIGHT_INIT, (char_u *)0L}},
{"history", "hi", P_NUM|P_VIM,
(char_u *)&p_hi, PV_NONE,
{(char_u *)0L, (char_u *)20L}},
extern long_u gui_mch_get_rgb __ARGS((guicolor_T pixel));
extern void gui_mch_activate_window __ARGS((void));
extern void gui_mch_show_toolbar __ARGS((int showit));
+extern void gui_mch_show_tabline __ARGS((int showit));
+extern int gui_mch_showing_tabline __ARGS((void));
+extern void gui_mch_update_tabline __ARGS((void));
+extern void gui_mch_set_curtab __ARGS((int nr));
extern void ex_simalt __ARGS((exarg_T *eap));
extern void gui_mch_find_dialog __ARGS((exarg_T *eap));
extern void gui_mch_replace_dialog __ARGS((exarg_T *eap));
extern long_u gui_mch_get_rgb __ARGS((guicolor_T pixel));
extern void gui_mch_activate_window __ARGS((void));
extern void gui_mch_show_toolbar __ARGS((int showit));
+extern void gui_mch_show_tabline __ARGS((int showit));
+extern int gui_mch_showing_tabline __ARGS((void));
+extern void gui_mch_update_tabline __ARGS((void));
+extern void gui_mch_set_curtab __ARGS((int nr));
extern void ex_simalt __ARGS((exarg_T *eap));
extern void gui_mch_find_dialog __ARGS((exarg_T *eap));
extern void gui_mch_replace_dialog __ARGS((exarg_T *eap));
char_u *ae_flags; /* flags on the affix (can be NULL) */
char_u *ae_cond; /* condition (NULL for ".") */
regprog_T *ae_prog; /* regexp program for ae_cond or NULL */
- char_u ae_nocomp; /* word with affix not compoundable */
};
#ifdef FEAT_MBYTE
&& itemcnt >= 5)
{
affentry_T *aff_entry;
- int nocomp = FALSE;
int upper = FALSE;
int lasti = 5;
sizeof(affentry_T), TRUE);
if (aff_entry == NULL)
break;
- aff_entry->ae_nocomp = nocomp;
if (STRCMP(items[2], "0") != 0)
aff_entry->ae_chop = getroom_save(spin, items[2]);
if (time(NULL) - tt >= 100)
{
curtime = localtime(&tt);
- (void)strftime((char *)buf, buflen, "%T", curtime);
+ (void)strftime((char *)buf, buflen, "%H:%M:%S", curtime);
}
else
#endif
#define VIM_VERSION_MINOR_STR "0"
#define VIM_VERSION_100 (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR)
-#define VIM_VERSION_BUILD 257
-#define VIM_VERSION_BUILD_BCD 0x101
-#define VIM_VERSION_BUILD_STR "257"
+#define VIM_VERSION_BUILD 258
+#define VIM_VERSION_BUILD_BCD 0x102
+#define VIM_VERSION_BUILD_STR "258"
#define VIM_VERSION_PATCHLEVEL 0
#define VIM_VERSION_PATCHLEVEL_STR "0"
/* Used by MacOS port should be one of: development, alpha, beta, final */
* VIM_VERSION_MEDIUM is used for the startup-screen.
* VIM_VERSION_LONG is used for the ":version" command and "Vim -h".
*/
-#define VIM_VERSION_NODOT "vim70b"
-#define VIM_VERSION_SHORT "7.0b"
-#define VIM_VERSION_MEDIUM "7.0b BETA"
-#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0b BETA (2006 Mar 26)"
-#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0b BETA (2006 Mar 26, compiled "
+#define VIM_VERSION_NODOT "vim70c"
+#define VIM_VERSION_SHORT "7.0c"
+#define VIM_VERSION_MEDIUM "7.0c BETA"
+#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0c BETA (2006 Mar 27)"
+#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0c BETA (2006 Mar 27, compiled "