diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-06-24 22:09:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-06-24 22:09:24 +0000 |
commit | c1a11ed54c7974b74be38f2aef6a200d7cfc878e (patch) | |
tree | cbd3d302d09444426d21d905b56dbfafb6cf2497 /runtime/tutor | |
parent | 446cb837a017fc1c1b144cb5c2a35cb90abfbbcf (diff) |
updated for version 7.2a
Diffstat (limited to 'runtime/tutor')
-rw-r--r-- | runtime/tutor/Filelist | 716 | ||||
-rw-r--r-- | runtime/tutor/README_bindos.txt | 19 | ||||
-rw-r--r-- | runtime/tutor/README_lang.txt | 5 | ||||
-rw-r--r-- | runtime/tutor/README_srcdos.txt | 12 | ||||
-rw-r--r-- | runtime/tutor/README_unix.txt | 10 | ||||
-rw-r--r-- | runtime/tutor/runtime/filetype.vim | 2412 | ||||
-rw-r--r-- | runtime/tutor/runtime/ftoff.vim | 11 | ||||
-rw-r--r-- | runtime/tutor/runtime/vim32x32.png | bin | 0 -> 347 bytes | |||
-rw-r--r-- | runtime/tutor/runtime/vimlogo.xpm | 75 | ||||
-rw-r--r-- | runtime/tutor/runtime/vimrc_example.vim | 94 | ||||
-rw-r--r-- | runtime/tutor/tutor | 6 | ||||
-rw-r--r-- | runtime/tutor/tutor.fr.utf-8 | 809 | ||||
-rw-r--r-- | runtime/tutor/tutor.hr.cp1250 | 972 | ||||
-rw-r--r-- | runtime/tutor/tutor.it.utf-8 | 967 |
14 files changed, 6105 insertions, 3 deletions
diff --git a/runtime/tutor/Filelist b/runtime/tutor/Filelist new file mode 100644 index 0000000000..aa423d9982 --- /dev/null +++ b/runtime/tutor/Filelist @@ -0,0 +1,716 @@ +# List of distributed Vim files. +# Used by Makefile and upload.aap. + +# source files for all source archives +SRC_ALL = \ + src/README.txt \ + src/arabic.c \ + src/arabic.h \ + src/ascii.h \ + src/buffer.c \ + src/charset.c \ + src/diff.c \ + src/digraph.c \ + src/edit.c \ + src/eval.c \ + src/ex_cmds.c \ + src/ex_cmds.h \ + src/ex_cmds2.c \ + src/ex_docmd.c \ + src/ex_eval.c \ + src/ex_getln.c \ + src/farsi.c \ + src/farsi.h \ + src/feature.h \ + src/fileio.c \ + src/fold.c \ + src/getchar.c \ + src/globals.h \ + src/gui.c \ + src/gui.h \ + src/gui_beval.c \ + src/gui_beval.h \ + src/hardcopy.c \ + src/hashtab.c \ + src/keymap.h \ + src/macros.h \ + src/main.c \ + src/mark.c \ + src/mbyte.c \ + src/memfile.c \ + src/memline.c \ + src/menu.c \ + src/message.c \ + src/misc1.c \ + src/misc2.c \ + src/move.c \ + src/mysign \ + src/nbdebug.c \ + src/nbdebug.h \ + src/netbeans.c \ + src/normal.c \ + src/ops.c \ + src/option.c \ + src/option.h \ + src/popupmnu.c \ + src/quickfix.c \ + src/regexp.c \ + src/regexp.h \ + src/screen.c \ + src/search.c \ + src/structs.h \ + src/spell.c \ + src/syntax.c \ + src/tag.c \ + src/term.c \ + src/term.h \ + src/termlib.c \ + src/ui.c \ + src/undo.c \ + src/version.c \ + src/version.h \ + src/vim.h \ + src/window.c \ + src/xxd/xxd.c \ + src/main.aap \ + src/testdir/main.aap \ + src/testdir/*.in \ + src/testdir/test[0-9]*.ok \ + src/testdir/test49.vim \ + src/testdir/test60.vim \ + src/proto.h \ + src/proto/buffer.pro \ + src/proto/charset.pro \ + src/proto/diff.pro \ + src/proto/digraph.pro \ + src/proto/edit.pro \ + src/proto/eval.pro \ + src/proto/ex_cmds.pro \ + src/proto/ex_cmds2.pro \ + src/proto/ex_docmd.pro \ + src/proto/ex_eval.pro \ + src/proto/ex_getln.pro \ + src/proto/fileio.pro \ + src/proto/fold.pro \ + src/proto/getchar.pro \ + src/proto/gui.pro \ + src/proto/gui_beval.pro \ + src/proto/hardcopy.pro \ + src/proto/hashtab.pro \ + src/proto/main.pro \ + src/proto/mark.pro \ + src/proto/mbyte.pro \ + src/proto/memfile.pro \ + src/proto/memline.pro \ + src/proto/menu.pro \ + src/proto/message.pro \ + src/proto/misc1.pro \ + src/proto/misc2.pro \ + src/proto/move.pro \ + src/proto/netbeans.pro \ + src/proto/normal.pro \ + src/proto/ops.pro \ + src/proto/option.pro \ + src/proto/popupmnu.pro \ + src/proto/quickfix.pro \ + src/proto/regexp.pro \ + src/proto/screen.pro \ + src/proto/search.pro \ + src/proto/spell.pro \ + src/proto/syntax.pro \ + src/proto/tag.pro \ + src/proto/term.pro \ + src/proto/termlib.pro \ + src/proto/ui.pro \ + src/proto/undo.pro \ + src/proto/version.pro \ + src/proto/window.pro \ + + +# source files for Unix only +SRC_UNIX = \ + Makefile \ + Filelist \ + README_src.txt \ + configure \ + pixmaps/*.xpm \ + pixmaps/gen-inline-pixbufs.sh \ + pixmaps/stock_icons.h \ + src/INSTALL \ + src/INSTALLx.txt \ + src/Makefile \ + src/auto/configure \ + src/config.aap.in \ + src/config.h.in \ + src/config.mk.dist \ + src/config.mk.in \ + src/configure \ + src/configure.in \ + src/gui_at_fs.c \ + src/gui_at_sb.c \ + src/gui_at_sb.h \ + src/gui_athena.c \ + src/gui_gtk.c \ + src/gui_gtk_f.c \ + src/gui_gtk_f.h \ + src/gui_gtk_x11.c \ + src/gui_motif.c \ + src/gui_xmdlg.c \ + src/gui_xmebw.c \ + src/gui_xmebw.h \ + src/gui_xmebwp.h \ + src/gui_x11.c \ + src/gui_x11_pm.h \ + src/hangulin.c \ + src/if_xcmdsrv.c \ + src/integration.c \ + src/integration.h \ + src/link.sh \ + src/installman.sh \ + src/installml.sh \ + src/mkinstalldirs \ + src/os_unix.c \ + src/os_unix.h \ + src/os_unixx.h \ + src/osdef.sh \ + src/osdef1.h.in \ + src/osdef2.h.in \ + src/pathdef.sh \ + src/proto/gui_athena.pro \ + src/proto/gui_gtk.pro \ + src/proto/gui_gtk_x11.pro \ + src/proto/gui_motif.pro \ + src/proto/gui_xmdlg.pro \ + src/proto/gui_x11.pro \ + src/proto/hangulin.pro \ + src/proto/if_xcmdsrv.pro \ + src/proto/os_unix.pro \ + src/proto/pty.pro \ + src/proto/workshop.pro \ + src/pty.c \ + src/testdir/Makefile \ + src/testdir/unix.vim \ + src/toolcheck \ + src/vim_icon.xbm \ + src/vim_mask.xbm \ + src/vimtutor \ + src/gvimtutor \ + src/which.sh \ + src/workshop.c \ + src/workshop.h \ + src/wsdebug.c \ + src/wsdebug.h \ + src/xxd/Makefile \ + +# source files for both DOS and Unix +SRC_DOS_UNIX = \ + src/if_cscope.c \ + src/if_cscope.h \ + src/if_mzsch.c \ + src/if_mzsch.h \ + src/if_perl.xs \ + src/if_perlsfio.c \ + src/if_python.c \ + src/if_ruby.c \ + src/if_sniff.h \ + src/if_tcl.c \ + src/proto/if_cscope.pro \ + src/proto/if_mzsch.pro \ + src/proto/if_perl.pro \ + src/proto/if_perlsfio.pro \ + src/proto/if_python.pro \ + src/proto/if_ruby.pro \ + src/proto/if_tcl.pro \ + src/typemap \ + +# source files for DOS (also in the extra archive) +SRC_DOS = \ + src/GvimExt/*.mak \ + src/GvimExt/GvimExt.reg \ + src/GvimExt/Makefile \ + src/GvimExt/README.txt \ + src/GvimExt/gvimext.cpp \ + src/GvimExt/gvimext.def \ + src/GvimExt/gvimext.h \ + src/GvimExt/gvimext.inf \ + src/GvimExt/gvimext.rc \ + src/GvimExt/gvimext_ming.def \ + src/GvimExt/gvimext_ming.rc \ + src/GvimExt/resource.h \ + src/GvimExt/uninst.bat \ + README_srcdos.txt \ + src/INSTALLpc.txt \ + src/Make_bc3.mak \ + src/Make_bc5.mak \ + src/Make_cyg.mak \ + src/Make_djg.mak \ + src/Make_ivc.mak \ + src/Make_dvc.mak \ + src/Make_ming.mak \ + src/Make_mvc.mak \ + src/Make_w16.mak \ + src/bigvim.bat \ + src/msvcsetup.bat \ + src/msvc2008.bat \ + src/dimm.idl \ + src/dlldata.c \ + src/dosinst.c \ + src/dosinst.h \ + src/glbl_ime.cpp \ + src/glbl_ime.h \ + src/gui_w16.c \ + src/gui_w32.c \ + src/gui_w48.c \ + src/guiw16rc.h \ + src/gui_w32_rc.h \ + src/if_ole.cpp \ + src/if_ole.h \ + src/if_ole.idl \ + src/iid_ole.c \ + src/os_dos.h \ + src/os_msdos.c \ + src/os_msdos.h \ + src/os_w32dll.c \ + src/os_w32exe.c \ + src/os_win16.c \ + src/os_win32.c \ + src/os_mswin.c \ + src/os_win16.h \ + src/os_win32.h \ + src/proto/gui_w16.pro \ + src/proto/gui_w32.pro \ + src/proto/if_ole.pro \ + src/proto/os_msdos.pro \ + src/proto/os_win16.pro \ + src/proto/os_win32.pro \ + src/proto/os_mswin.pro \ + src/testdir/Make_dos.mak \ + src/testdir/dos.vim \ + src/uninstal.c \ + src/vim.def \ + src/vim.rc \ + src/vimio.h \ + src/gvim.exe.mnf \ + src/vim16.def \ + src/vim16.rc \ + src/vimrun.c \ + src/vimtbar.h \ + src/xpm_w32.c \ + src/xpm_w32.h \ + src/xxd/Make_bc3.mak \ + src/xxd/Make_bc5.mak \ + src/xxd/Make_cyg.mak \ + src/xxd/Make_djg.mak \ + src/xxd/Make_mvc.mak \ + nsis/gvim.nsi \ + nsis/README.txt \ + uninstal.txt \ + src/VisVim/Commands.cpp \ + src/VisVim/Commands.h \ + src/VisVim/DSAddIn.cpp \ + src/VisVim/DSAddIn.h \ + src/VisVim/OleAut.cpp \ + src/VisVim/OleAut.h \ + src/VisVim/README_VisVim.txt \ + src/VisVim/Reg.cpp \ + src/VisVim/Register.bat \ + src/VisVim/Resource.h \ + src/VisVim/StdAfx.cpp \ + src/VisVim/StdAfx.h \ + src/VisVim/UnRegist.bat \ + src/VisVim/VisVim.cpp \ + src/VisVim/VisVim.def \ + src/VisVim/VisVim.mak \ + src/VisVim/VisVim.h \ + src/VisVim/VisVim.odl \ + src/VisVim/VisVim.rc \ + src/VisVim/VsReadMe.txt \ + +# source files for DOS without CR/LF translation (also in the extra archive) +SRC_DOS_BIN = \ + src/VisVim/Res/*.bmp \ + src/tearoff.bmp \ + src/tools.bmp \ + src/tools16.bmp \ + src/vim*.ico \ + src/vim.tlb \ + src/vimtbar.lib \ + src/vimtbar.dll \ + nsis/icons/*.bmp \ + nsis/icons/*.ico \ + +# source files for Amiga, DOS, etc. (also in the extra archive) +SRC_AMI_DOS = \ + +# source files for Amiga (also in the extra archive) +SRC_AMI = \ + README_amisrc.txt \ + README_amisrc.txt.info \ + src.info \ + src/INSTALLami.txt \ + src/Make_dice.mak \ + src/Make_manx.mak \ + src/Make_morph.mak \ + src/Make_sas.mak \ + src/os_amiga.c \ + src/os_amiga.h \ + src/proto/os_amiga.pro \ + src/testdir/Make_amiga.mak \ + src/testdir/amiga.vim \ + src/xxd/Make_amiga.mak \ + +# source files for the Mac (also in the extra archive) +SRC_MAC = \ + src/INSTALLmac.txt \ + src/dehqx.py \ + src/gui_mac.c \ + src/os_mac_rsrc/*.icns \ + src/os_mac.h \ + src/os_mac.rsr.hqx \ + src/os_mac_conv.c \ + src/os_macosx.c \ + src/proto/gui_mac.pro \ + src/proto/os_mac_conv.pro \ + +# source files for VMS (in the extra archive) +SRC_VMS = \ + src/INSTALLvms.txt \ + src/Make_vms.mms \ + src/gui_gtk_vms.h \ + src/os_vms.c \ + src/os_vms_conf.h \ + src/os_vms_mms.c \ + src/proto/os_vms.pro \ + src/testdir/Make_vms.mms \ + src/testdir/vms.vim \ + src/xxd/Make_vms.mms \ + vimtutor.com \ + +# source files for OS/2 (in the extra archive) +SRC_OS2 = \ + src/Make_os2.mak \ + src/os_os2_cfg.h \ + src/testdir/Make_os2.mak \ + src/testdir/todos.vim \ + src/testdir/os2.vim \ + src/xxd/Make_os2.mak \ + +# source files for QNX (in the extra archive) +SRC_QNX = \ + src/os_qnx.c \ + src/os_qnx.h \ + src/gui_photon.c \ + src/proto/gui_photon.pro \ + src/proto/os_qnx.pro \ + + +# source files for the extra archive (all sources that are not for Unix) +SRC_EXTRA = \ + $(SRC_AMI) \ + $(SRC_AMI_DOS) \ + $(SRC_DOS) \ + $(SRC_DOS_BIN) \ + $(SRC_MAC) \ + $(SRC_OS2) \ + $(SRC_QNX) \ + $(SRC_VMS) \ + README_os390.txt \ + src/Make_mint.mak \ + src/Make_ro.mak \ + src/gui_riscos.c \ + src/gui_riscos.h \ + src/if_sniff.c \ + src/infplist.xml \ + src/link.390 \ + src/os_beos.c \ + src/os_beos.h \ + src/os_beos.rsrc \ + src/os_mint.h \ + src/os_riscos.c \ + src/os_riscos.h \ + src/proto/gui_riscos.pro \ + src/proto/os_riscos.pro \ + src/os_vms_fix.com \ + src/toolbar.phi \ + +# runtime files for all distributions +RT_ALL = \ + README.txt \ + runtime/bugreport.vim \ + runtime/doc/*.awk \ + runtime/doc/*.pl \ + runtime/doc/*.txt \ + runtime/doc/Makefile \ + runtime/doc/doctags.c \ + runtime/doc/vim.1 \ + runtime/doc/evim.1 \ + runtime/doc/vimdiff.1 \ + runtime/doc/vimtutor.1 \ + runtime/doc/xxd.1 \ + runtime/ftoff.vim \ + runtime/gvimrc_example.vim \ + runtime/macros/README.txt \ + runtime/macros/dvorak \ + runtime/macros/editexisting.vim \ + runtime/macros/hanoi/click.me \ + runtime/macros/hanoi/hanoi.vim \ + runtime/macros/hanoi/poster \ + runtime/macros/justify.vim \ + runtime/macros/less.sh \ + runtime/macros/less.vim \ + runtime/macros/life/click.me \ + runtime/macros/life/life.vim \ + runtime/macros/matchit.vim \ + runtime/macros/matchit.txt \ + runtime/macros/maze/README.txt \ + runtime/macros/maze/[mM]akefile \ + runtime/macros/maze/main.aap \ + runtime/macros/maze/maze.c \ + runtime/macros/maze/maze_5.78 \ + runtime/macros/maze/maze_mac \ + runtime/macros/maze/mazeansi.c \ + runtime/macros/maze/mazeclean.c \ + runtime/macros/maze/poster \ + runtime/macros/shellmenu.vim \ + runtime/macros/swapmous.vim \ + runtime/macros/urm/README.txt \ + runtime/macros/urm/examples \ + runtime/macros/urm/urm \ + runtime/macros/urm/urm.vim \ + runtime/mswin.vim \ + runtime/evim.vim \ + runtime/optwin.vim \ + runtime/ftplugin.vim \ + runtime/ftplugof.vim \ + runtime/indent.vim \ + runtime/indoff.vim \ + runtime/termcap \ + runtime/tools/README.txt \ + runtime/tools/[a-z]*[a-z0-9] \ + runtime/tutor/README.txt \ + runtime/tutor/tutor \ + runtime/tutor/tutor.vim \ + runtime/vimrc_example.vim \ + +# runtime files for all distributions without CR-NL translation +RT_ALL_BIN = \ + runtime/doc/tags \ + runtime/print/*.ps \ + +# runtime script files +RT_SCRIPTS = \ + runtime/filetype.vim \ + runtime/scripts.vim \ + runtime/menu.vim \ + runtime/macmap.vim \ + runtime/delmenu.vim \ + runtime/synmenu.vim \ + runtime/makemenu.vim \ + runtime/autoload/*.vim \ + runtime/autoload/README.txt \ + runtime/autoload/xml/*.vim \ + runtime/colors/*.vim \ + runtime/colors/README.txt \ + runtime/compiler/*.vim \ + runtime/compiler/README.txt \ + runtime/indent/*.vim \ + runtime/indent/README.txt \ + runtime/ftplugin/*.vim \ + runtime/ftplugin/README.txt \ + runtime/plugin/*.vim \ + runtime/plugin/README.txt \ + runtime/syntax/*.vim \ + runtime/syntax/README.txt \ + +# Unix runtime +RT_UNIX = \ + README_unix.txt \ + runtime/hi16-action-make.png \ + runtime/hi22-action-make.png \ + runtime/vim16x16.png \ + runtime/vim16x16.xpm \ + runtime/vim32x32.png \ + runtime/vim32x32.xpm \ + runtime/vim48x48.png \ + runtime/vim48x48.xpm \ + +# Unix and DOS runtime without CR-LF translation +RT_UNIX_DOS_BIN = \ + runtime/vim16x16.gif \ + runtime/vim32x32.gif \ + runtime/vim48x48.gif \ + +# runtime not for unix or extra +RT_NO_UNIX = \ + +# runtime for Amiga (also in the extra archive) +RT_AMI_DOS = \ + runtime/doc/vim.man \ + runtime/doc/vimdiff.man \ + runtime/doc/vimtutor.man \ + runtime/doc/xxd.man \ + +# DOS runtime (also in the extra archive) +RT_DOS = \ + README_dos.txt \ + runtime/rgb.txt \ + vimtutor.bat \ + +# DOS runtime without CR-LF translation (also in the extra archive) +RT_DOS_BIN = \ + runtime/vimlogo.cdr \ + runtime/vimlogo.eps \ + runtime/vimlogo.gif \ + runtime/vimlogo.pdf \ + +# Amiga runtime (also in the extra archive) +RT_AMI = \ + README.txt.info \ + README_ami.txt \ + README_ami.txt.info \ + libs/arp.library \ + runtime/doc.info \ + runtime/doc/*.info \ + runtime/icons/README.txt \ + runtime/icons/*.info \ + runtime/icons.info \ + runtime/macros.info \ + runtime/macros/*.info \ + runtime/macros/hanoi/*.info \ + runtime/macros/life/*.info \ + runtime/macros/maze/*.info \ + runtime/macros/urm/*.info \ + runtime/tools.info \ + runtime/tutor.info \ + runtime/tutor/*.info \ + +# runtime files in extra archive +RT_EXTRA = \ + $(RT_AMI) \ + $(RT_AMI_DOS) \ + $(RT_DOS) \ + $(RT_DOS_BIN) \ + README_mac.txt \ + +# included in all Amiga archives +ROOT_AMI = \ + Contents \ + Contents.info \ + runtime.info \ + vimdir.info \ + +# root files for the extra archive +ROOT_EXTRA = \ + $(ROOT_AMI) \ + +# files for Amiga small binary (also in extra archive) +BIN_AMI = \ + README_amibin.txt \ + README_amibin.txt.info \ + Vim.info \ + Xxd.info \ + +# files for DOS binary (also in extra archive) +BIN_DOS = \ + README_bindos.txt \ + uninstal.txt \ + +# files for Win32 OLE binary (also in extra archive) +BIN_OLE = \ + README_ole.txt \ + +# files for Win32s binary (also in extra archive) +BIN_W32S = \ + README_w32s.txt \ + +# files for VMS binary (also in extra archive) +BIN_VMS = \ + README_vms.txt \ + +# files for OS/2 binary (also in extra archive) +BIN_OS2 = \ + README_os2.txt \ + +# binary files for extra archive +BIN_EXTRA = \ + $(BIN_AMI) \ + $(BIN_DOS) \ + $(BIN_OLE) \ + $(BIN_W32S) \ + $(BIN_VMS) \ + $(BIN_OS2) \ + +# all files for extra archive +EXTRA = \ + $(BIN_EXTRA) \ + $(ROOT_EXTRA) \ + $(RT_EXTRA) \ + $(SRC_EXTRA) \ + README_extra.txt \ + src/VisVim/VisVim.dll \ + farsi/README.txt \ + farsi/fonts/*/far-* \ + runtime/vimlogo.xpm \ + src/swis.s \ + src/tee/Makefile* \ + src/tee/tee.c \ + csdpmi4b.zip \ + +# generic language files +LANG_GEN = \ + README_lang.txt \ + runtime/doc/*-fr.1 \ + runtime/doc/*-fr.UTF-8.1 \ + runtime/doc/*-it.1 \ + runtime/doc/*-it.UTF-8.1 \ + runtime/doc/*-pl.1 \ + runtime/doc/*-pl.UTF-8.1 \ + runtime/doc/*-ru.1 \ + runtime/doc/*-ru.UTF-8.1 \ + runtime/lang/README.txt \ + runtime/lang/menu_*.vim \ + runtime/keymap/README.txt \ + runtime/keymap/*.vim \ + runtime/tutor/README.*.txt \ + runtime/tutor/Makefile \ + runtime/tutor/tutor.utf-8 \ + runtime/tutor/tutor.?? \ + runtime/tutor/tutor.??.* \ + runtime/spell/README.txt \ + runtime/spell/??/*.diff \ + runtime/spell/??/main.aap \ + runtime/spell/yi/README.txt \ + runtime/spell/main.aap \ + runtime/spell/cleanadd.vim \ + runtime/spell/*.vim \ + runtime/spell/fixdup \ + +# generic language files, binary +LANG_GEN_BIN = \ + runtime/spell/README_en.txt \ + runtime/spell/en.ascii.spl \ + runtime/spell/en.latin1.spl \ + runtime/spell/en.utf-8.spl \ + runtime/spell/en.ascii.sug \ + runtime/spell/en.latin1.sug \ + runtime/spell/en.utf-8.sug \ + +# all files for lang archive +LANG_SRC = \ + src/po/README.txt \ + src/po/README_mingw.txt \ + src/po/README_mvc.txt \ + src/po/check.vim \ + src/po/cleanup.vim \ + src/po/Makefile \ + src/po/Make_cyg.mak \ + src/po/Make_ming.mak \ + src/po/Make_mvc.mak \ + src/po/sjiscorr.c \ + src/po/*.po \ + +# the language files for the Win32 lang archive +LANG_DOS = \ + src/po/*.mo \ + +# vim: set ft=make: diff --git a/runtime/tutor/README_bindos.txt b/runtime/tutor/README_bindos.txt new file mode 100644 index 0000000000..593a925548 --- /dev/null +++ b/runtime/tutor/README_bindos.txt @@ -0,0 +1,19 @@ +README_bindos.txt for version 7.2a of Vim: Vi IMproved. + +See "README.txt" for general information about Vim. +See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows. +These files are in the runtime archive (vim70rt.zip). + + +There are several binary distributions of Vim for the PC. You would normally +pick only one of them, but it's also possible to install several. +These ones are available (the version number may differ): + vim70d16.zip 16 bit DOS version + vim70d32.zip 32 bit DOS version + vim70w32.zip Windows 95/98/NT/etc. console version + gvim70.zip Windows 95/98/NT/etc. GUI version + gvim70ole.zip Windows 95/98/NT/etc. GUI version with OLE + gvim70_s.zip Windows 3.1 GUI version + +You MUST also get the runtime archive (vim70rt.zip). +The sources are also available (vim70src.zip). diff --git a/runtime/tutor/README_lang.txt b/runtime/tutor/README_lang.txt new file mode 100644 index 0000000000..9df9f7609e --- /dev/null +++ b/runtime/tutor/README_lang.txt @@ -0,0 +1,5 @@ +README_lang.txt for version 7.2a of Vim: Vi IMproved. + +This file contains files for non-English languages: +- Translated messages. +- Translated menus. diff --git a/runtime/tutor/README_srcdos.txt b/runtime/tutor/README_srcdos.txt new file mode 100644 index 0000000000..ef78029c66 --- /dev/null +++ b/runtime/tutor/README_srcdos.txt @@ -0,0 +1,12 @@ +README_srcdos.txt for version 7.2a of Vim: Vi IMproved. + +See "README.txt" for general information about Vim. +See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows. +These files are in the runtime archive (vim70rt.zip). + + +The DOS source archive contains the files needed to compile Vim on MS-DOS or +MS-Windows. It is packed for DOS systems, with CR-LF. It also includes the +VisVim sources. + +See "src/INSTALLpc.txt" for instructions on how to compile Vim on the PC. diff --git a/runtime/tutor/README_unix.txt b/runtime/tutor/README_unix.txt new file mode 100644 index 0000000000..5338cb16e0 --- /dev/null +++ b/runtime/tutor/README_unix.txt @@ -0,0 +1,10 @@ +README_unix.txt for version 7.2a of Vim: Vi IMproved. + +This file explains the installation of Vim on Unix systems. +See "README.txt" for general information about Vim. + + +When you use the source distribution, "make install" is used to install Vim. +See the "INSTALL" file in the "src" directory. + +If you use a compiled package, follow the instructions for the package. diff --git a/runtime/tutor/runtime/filetype.vim b/runtime/tutor/runtime/filetype.vim new file mode 100644 index 0000000000..89af04cce5 --- /dev/null +++ b/runtime/tutor/runtime/filetype.vim @@ -0,0 +1,2412 @@ +" Vim support file to detect file types +" +" Maintainer: Bram Moolenaar <Bram@vim.org> +" Last Change: 2008 Jun 20 + +" Listen very carefully, I will say this only once +if exists("did_load_filetypes") + finish +endif +let did_load_filetypes = 1 + +" Line continuation is used here, remove 'C' from 'cpoptions' +let s:cpo_save = &cpo +set cpo&vim + +augroup filetypedetect + +" Ignored extensions +if exists("*fnameescape") +au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.new,?\+.rpmsave,?\+.rpmnew + \ exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r")) +au BufNewFile,BufRead *~ + \ let s:name = expand("<afile>") | + \ let s:short = substitute(s:name, '\~$', '', '') | + \ if s:name != s:short && s:short != "" | + \ exe "doau filetypedetect BufRead " . fnameescape(s:short) | + \ endif | + \ unlet s:name s:short +au BufNewFile,BufRead ?\+.in + \ if expand("<afile>:t") != "configure.in" | + \ exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r")) | + \ endif +elseif &verbose > 0 + echomsg "Warning: some filetypes will not be recognized because this version of Vim does not have fnameescape()" +endif + +" Pattern used to match file names which should not be inspected. +" Currently finds compressed files. +if !exists("g:ft_ignore_pat") + let g:ft_ignore_pat = '\.\(Z\|gz\|bz2\|zip\|tgz\)$' +endif + +" Function used for patterns that end in a star: don't set the filetype if the +" file name matches ft_ignore_pat. +func! s:StarSetf(ft) + if expand("<amatch>") !~ g:ft_ignore_pat + exe 'setf ' . a:ft + endif +endfunc + +" Abaqus or Trasys +au BufNewFile,BufRead *.inp call s:Check_inp() + +func! s:Check_inp() + if getline(1) =~ '^\*' + setf abaqus + else + let n = 1 + if line("$") > 500 + let nmax = 500 + else + let nmax = line("$") + endif + while n <= nmax + if getline(n) =~? "^header surface data" + setf trasys + break + endif + let n = n + 1 + endwhile + endif +endfunc + +" A-A-P recipe +au BufNewFile,BufRead *.aap setf aap + +" A2ps printing utility +au BufNewFile,BufRead etc/a2ps.cfg,etc/a2ps/*.cfg,a2psrc,.a2psrc setf a2ps + +" ABAB/4 +au BufNewFile,BufRead *.abap setf abap + +" ABC music notation +au BufNewFile,BufRead *.abc setf abc + +" ABEL +au BufNewFile,BufRead *.abl setf abel + +" AceDB +au BufNewFile,BufRead *.wrm setf acedb + +" Ada (83, 9X, 95) +au BufNewFile,BufRead *.adb,*.ads,*.ada setf ada +if has("vms") + au BufNewFile,BufRead *.gpr,*.ada_m,*.adc setf ada +else + au BufNewFile,BufRead *.gpr setf ada +endif + +" AHDL +au BufNewFile,BufRead *.tdf setf ahdl + +" AMPL +au BufNewFile,BufRead *.run setf ampl + +" Ant +au BufNewFile,BufRead build.xml setf ant + +" Apache style config file +au BufNewFile,BufRead proftpd.conf* call s:StarSetf('apachestyle') + +" Apache config file +au BufNewFile,BufRead .htaccess setf apache +au BufNewFile,BufRead httpd.conf*,srm.conf*,access.conf*,apache.conf*,apache2.conf*,/etc/apache2/*.conf* call s:StarSetf('apache') + +" XA65 MOS6510 cross assembler +au BufNewFile,BufRead *.a65 setf a65 + +" Applix ELF +au BufNewFile,BufRead *.am + \ if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif + +" ALSA configuration +au BufNewFile,BufRead ~/.asoundrc,/usr/share/alsa/alsa.conf,/etc/asound.conf setf alsaconf + +" Arc Macro Language +au BufNewFile,BufRead *.aml setf aml + +" Arch Inventory file +au BufNewFile,BufRead .arch-inventory,=tagging-method setf arch + +" ART*Enterprise (formerly ART-IM) +au BufNewFile,BufRead *.art setf art + +" ASN.1 +au BufNewFile,BufRead *.asn,*.asn1 setf asn + +" Active Server Pages (with Visual Basic Script) +au BufNewFile,BufRead *.asa + \ if exists("g:filetype_asa") | + \ exe "setf " . g:filetype_asa | + \ else | + \ setf aspvbs | + \ endif + +" Active Server Pages (with Perl or Visual Basic Script) +au BufNewFile,BufRead *.asp + \ if exists("g:filetype_asp") | + \ exe "setf " . g:filetype_asp | + \ elseif getline(1) . getline(2) . getline(3) =~? "perlscript" | + \ setf aspperl | + \ else | + \ setf aspvbs | + \ endif + +" Grub (must be before catch *.lst) +au BufNewFile,BufRead /boot/grub/menu.lst,/boot/grub/grub.conf,/etc/grub.conf setf grub + +" Assembly (all kinds) +" *.lst is not pure assembly, it has two extra columns (address, byte codes) +au BufNewFile,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst call s:FTasm() + +" This function checks for the kind of assembly that is wanted by the user, or +" can be detected from the first five lines of the file. +func! s:FTasm() + " make sure b:asmsyntax exists + if !exists("b:asmsyntax") + let b:asmsyntax = "" + endif + + if b:asmsyntax == "" + call s:FTasmsyntax() + endif + + " if b:asmsyntax still isn't set, default to asmsyntax or GNU + if b:asmsyntax == "" + if exists("g:asmsyntax") + let b:asmsyntax = g:asmsyntax + else + let b:asmsyntax = "asm" + endif + endif + + exe "setf " . b:asmsyntax +endfunc + +func! s:FTasmsyntax() + " see if file contains any asmsyntax=foo overrides. If so, change + " b:asmsyntax appropriately + let head = " ".getline(1)." ".getline(2)." ".getline(3)." ".getline(4). + \" ".getline(5)." " + if head =~ '\sasmsyntax=\S\+\s' + let b:asmsyntax = substitute(head, '.*\sasmsyntax=\([a-zA-Z0-9]\+\)\s.*','\1', "") + elseif ((head =~? '\.title') || (head =~? '\.ident') || (head =~? '\.macro') || (head =~? '\.subtitle') || (head =~? '\.library')) + let b:asmsyntax = "vmasm" + endif +endfunc + +" Macro (VAX) +au BufNewFile,BufRead *.mar setf vmasm + +" Atlas +au BufNewFile,BufRead *.atl,*.as setf atlas + +" Autoit v3 +au BufNewFile,BufRead *.au3 setf autoit + +" Autohotkey +au BufNewFile,BufRead *.ahk setf autohotkey + +" Automake +au BufNewFile,BufRead [mM]akefile.am,GNUmakefile.am setf automake + +" Autotest .at files are actually m4 +au BufNewFile,BufRead *.at setf m4 + +" Avenue +au BufNewFile,BufRead *.ave setf ave + +" Awk +au BufNewFile,BufRead *.awk setf awk + +" B +au BufNewFile,BufRead *.mch,*.ref,*.imp setf b + +" BASIC or Visual Basic +au BufNewFile,BufRead *.bas call s:FTVB("basic") + +" Check if one of the first five lines contains "VB_Name". In that case it is +" probably a Visual Basic file. Otherwise it's assumed to be "alt" filetype. +func! s:FTVB(alt) + if getline(1).getline(2).getline(3).getline(4).getline(5) =~? 'VB_Name\|Begin VB\.\(Form\|MDIForm\|UserControl\)' + setf vb + else + exe "setf " . a:alt + endif +endfunc + +" Visual Basic Script (close to Visual Basic) +au BufNewFile,BufRead *.vbs,*.dsm,*.ctl setf vb + +" IBasic file (similar to QBasic) +au BufNewFile,BufRead *.iba,*.ibi setf ibasic + +" FreeBasic file (similar to QBasic) +au BufNewFile,BufRead *.fb,*.bi setf freebasic + +" Batch file for MSDOS. +au BufNewFile,BufRead *.bat,*.sys setf dosbatch +" *.cmd is close to a Batch file, but on OS/2 Rexx files also use *.cmd. +au BufNewFile,BufRead *.cmd + \ if getline(1) =~ '^/\*' | setf rexx | else | setf dosbatch | endif + +" Batch file for 4DOS +au BufNewFile,BufRead *.btm call s:FTbtm() +func! s:FTbtm() + if exists("g:dosbatch_syntax_for_btm") && g:dosbatch_syntax_for_btm + setf dosbatch + else + setf btm + endif +endfunc + +" BC calculator +au BufNewFile,BufRead *.bc setf bc + +" BDF font +au BufNewFile,BufRead *.bdf setf bdf + +" BibTeX bibliography database file +au BufNewFile,BufRead *.bib setf bib + +" BibTeX Bibliography Style +au BufNewFile,BufRead *.bst setf bst + +" BIND configuration +au BufNewFile,BufRead named.conf,rndc.conf setf named + +" BIND zone +au BufNewFile,BufRead named.root setf bindzone +au BufNewFile,BufRead *.db call s:BindzoneCheck('') + +func! s:BindzoneCheck(default) + if getline(1).getline(2).getline(3).getline(4) =~ '^; <<>> DiG [0-9.]\+ <<>>\|BIND.*named\|$ORIGIN\|$TTL\|IN\s\+SOA' + setf bindzone + elseif a:default != '' + exe 'setf ' . a:default + endif +endfunc + +" Blank +au BufNewFile,BufRead *.bl setf blank + +" C or lpc +au BufNewFile,BufRead *.c call s:FTlpc() + +func! s:FTlpc() + if exists("g:lpc_syntax_for_c") + let lnum = 1 + while lnum <= 12 + if getline(lnum) =~# '^\(//\|inherit\|private\|protected\|nosave\|string\|object\|mapping\|mixed\)' + setf lpc + return + endif + let lnum = lnum + 1 + endwhile + endif + setf c +endfunc + +" Calendar +au BufNewFile,BufRead calendar setf calendar +au BufNewFile,BufRead */.calendar/*, + \*/share/calendar/*/calendar.*,*/share/calendar/calendar.* + \ call s:StarSetf('calendar') + +" C# +au BufNewFile,BufRead *.cs setf cs + +" Cdrdao TOC +au BufNewFile,BufRead *.toc setf cdrtoc + +" Cdrdao config +au BufNewFile,BufRead etc/cdrdao.conf,etc/defaults/cdrdao,etc/default/cdrdao,~/.cdrdao setf cdrdaoconf + +" Cfengine +au BufNewFile,BufRead cfengine.conf setf cfengine + |