Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update runtime files

  • Loading branch information...
commit fb44c1b1c90225a935b7ac3a27917d94ceba43dd 1 parent 57c9a6d
@b4winckler b4winckler authored
Showing with 4,407 additions and 191 deletions.
  1. +2 −2 runtime/doc/autocmd.txt
  2. +5 −2 runtime/doc/change.txt
  3. +8 −4 runtime/doc/eval.txt
  4. +1 −1  runtime/doc/ft_sql.txt
  5. +3 −2 runtime/doc/indent.txt
  6. +2 −2 runtime/doc/map.txt
  7. +17 −2 runtime/doc/mbyte.txt
  8. +12 −5 runtime/doc/options.txt
  9. +7 −1 runtime/doc/repeat.txt
  10. +5 −4 runtime/doc/starting.txt
  11. +6 −5 runtime/doc/syntax.txt
  12. +3 −0  runtime/doc/tags
  13. +16 −1 runtime/doc/term.txt
  14. +3 −1 runtime/doc/tips.txt
  15. +65 −27 runtime/doc/todo.txt
  16. +3 −1 runtime/doc/usr_11.txt
  17. +2 −1  runtime/doc/various.txt
  18. +2 −2 runtime/doc/version7.txt
  19. +1 −1  runtime/filetype.vim
  20. +46 −34 runtime/getdos.aap
  21. +46 −34 runtime/getunix.aap
  22. +116 −16 runtime/indent/sh.vim
  23. +3 −3 runtime/syntax/c.vim
  24. +2 −2 runtime/syntax/erlang.vim
  25. +72 −15 runtime/syntax/form.vim
  26. +1 −0  runtime/syntax/groovy.vim
  27. +1 −1  runtime/syntax/maxima.vim
  28. +2 −1  runtime/syntax/papp.vim
  29. +2 −2 runtime/syntax/prolog.vim
  30. +3 −3 runtime/syntax/pyrex.vim
  31. +8 −8 runtime/syntax/scheme.vim
  32. +1 −2  runtime/syntax/spec.vim
  33. +2 −1  runtime/syntax/spyce.vim
  34. +3 −3 runtime/syntax/tcsh.vim
  35. +3 −2 runtime/syntax/uil.vim
  36. +13 −0 runtime/tutor/Makefile
  37. +987 −0 runtime/tutor/tutor.bj
  38. +987 −0 runtime/tutor/tutor.bj.utf-8
  39. +973 −0 runtime/tutor/tutor.nb
  40. +973 −0 runtime/tutor/tutor.nb.utf-8
View
4 runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 7.2. Last change: 2009 Oct 04
+*autocmd.txt* For Vim version 7.2. Last change: 2009 Nov 25
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1052,7 +1052,7 @@ option will not cause any commands to be executed.
*:doautoa* *:doautoall*
:doautoa[ll] [group] {event} [fname]
Like ":doautocmd", but apply the autocommands to each
- loaded buffer. Note that {fname} is used to select
+ loaded buffer. Note that [fname] is used to select
the autocommands, not the buffers to which they are
applied.
Careful: Don't use this for autocommands that delete a
View
7 runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 7.2. Last change: 2009 Sep 15
+*change.txt* For Vim version 7.2. Last change: 2009 Nov 11
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -879,7 +879,10 @@ inside of strings can change! Also see 'softtabstop' option. >
*:reg* *:registers*
:reg[isters] Display the contents of all numbered and named
- registers. {not in Vi}
+ registers. If a register is written to for |:redir|
+ it will not be listed.
+ {not in Vi}
+
:reg[isters] {arg} Display the contents of the numbered and named
registers that are mentioned in {arg}. For example: >
View
12 runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.2. Last change: 2009 Sep 30
+*eval.txt* For Vim version 7.2. Last change: 2009 Nov 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3484,7 +3484,9 @@ hostname() *hostname()*
iconv({expr}, {from}, {to}) *iconv()*
The result is a String, which is the text {expr} converted
from encoding {from} to encoding {to}.
- When the conversion fails an empty string is returned.
+ When the conversion completely fails an empty string is
+ returned. When some characters could not be converted they
+ are replaced with "?".
The encoding names are whatever the iconv() library function
can accept, see ":!man 3 iconv".
Most conversions require Vim to be compiled with the |+iconv|
@@ -3812,7 +3814,8 @@ map({expr}, {string}) *map()*
Replace each item in {expr} with the result of evaluating
{string}.
Inside {string} |v:val| has the value of the current item.
- For a |Dictionary| |v:key| has the key of the current item.
+ For a |Dictionary| |v:key| has the key of the current item
+ and for a |List| |v:key| has the index of the current item.
Example: >
:call map(mylist, '"> " . v:val . " <"')
< This puts "> " before and " <" after each item in "mylist".
@@ -4998,7 +5001,7 @@ setwinvar({nr}, {varname}, {val}) *setwinvar()*
:call setwinvar(2, "myvar", "foobar")
shellescape({string} [, {special}]) *shellescape()*
- Escape {string} for use as shell command argument.
+ Escape {string} for use as a shell command argument.
On MS-Windows and MS-DOS, when 'shellslash' is not set, it
will enclose {string} in double quotes and double all double
quotes within {string}.
@@ -5881,6 +5884,7 @@ showcmd Compiled with 'showcmd' support.
signs Compiled with |:sign| support.
smartindent Compiled with 'smartindent' support.
sniff Compiled with SNiFF interface support.
+startuptime Compiled with |--startuptime| support.
statusline Compiled with support for 'statusline', 'rulerformat'
and special formats of 'titlestring' and 'iconstring'.
sun_workshop Compiled with support for Sun |workshop|.
View
2  runtime/doc/ft_sql.txt
@@ -1,4 +1,4 @@
-*sql.txt* For Vim version 7.0g. Last change: 2009 Oct 08
+*sql.txt* For Vim version 7.2. Last change: 2009 Nov 03
by David Fishburn
View
5 runtime/doc/indent.txt
@@ -1,4 +1,4 @@
-*indent.txt* For Vim version 7.2. Last change: 2008 Jul 30
+*indent.txt* For Vim version 7.2. Last change: 2009 Nov 12
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -609,8 +609,9 @@ b:sh_indent_options['continuation-line']
b:sh_indent_options['case-labels']
Amount of indent to add for case labels.
+ (not actually implemented)
-b:sh_indent_options['case-statement']
+b:sh_indent_options['case-statements']
Amount of indent to add for case statements.
b:sh_indent_options['case-breaks']
View
4 runtime/doc/map.txt
@@ -1,4 +1,4 @@
-*map.txt* For Vim version 7.2. Last change: 2009 Oct 14
+*map.txt* For Vim version 7.2. Last change: 2009 Nov 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1263,7 +1263,7 @@ the 'path' option: >
:com -nargs=1 -bang -complete=customlist,EditFileComplete
\ EditFile edit<bang> <args>
:fun EditFileComplete(A,L,P)
- : return split(globpath(&path, a:ArgLead), "\n")
+ : return split(globpath(&path, a:A), "\n")
:endfun
<
View
19 runtime/doc/mbyte.txt
@@ -1,4 +1,4 @@
-*mbyte.txt* For Vim version 7.2. Last change: 2009 Feb 28
+*mbyte.txt* For Vim version 7.2. Last change: 2009 Nov 17
VIM REFERENCE MANUAL by Bram Moolenaar et al.
@@ -1252,16 +1252,31 @@ ASCII. On MS-Windows UTF-16 is also used (previously UCS-2), which uses
16-bit words. Vim can support all of these encodings, but always uses UTF-8
internally.
-Vim has comprehensive UTF-8 support. It appears to work in:
+Vim has comprehensive UTF-8 support. It works well in:
- xterm with utf-8 support enabled
- Athena, Motif and GTK GUI
- MS-Windows GUI
+- several other platforms
Double-width characters are supported. This works best with 'guifontwide' or
'guifontset'. When using only 'guifont' the wide characters are drawn in the
normal width and a space to fill the gap. Note that the 'guifontset' option
is no longer relevant in the GTK+ 2 GUI.
+ *bom-bytes*
+When reading a file a BOM (Byte Order Mark) can be used to recognize the
+Unicode encoding:
+ EF BB BF utf-8
+ FF FE utf-16 big endian
+ FE FF utf-16 little endian
+ 00 00 FE FF utf-32 big endian
+ FF FE 00 00 utf-32 little endian
+
+Utf-8 is the recommended encoding. Note that it's difficult to tell utf-16
+and utf-32 apart. Utf-16 is often used on MS-Windows, utf-32 is not
+widespread as file format.
+
+
*mbyte-combining* *mbyte-composing*
A composing or combining character is used to change the meaning of the
character before it. The combining characters are drawn on top of the
View
17 runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.2. Last change: 2009 Oct 12
+*options.txt* For Vim version 7.2. Last change: 2009 Nov 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -813,11 +813,11 @@ A jump table for the options with a short description can be found at |Q_op|.
When 'background' is set Vim will adjust the default color groups for
the new value. But the colors used for syntax highlighting will not
change. *g:colors_name*
- When a color scheme is loaded (the "colors_name" variable is set)
+ When a color scheme is loaded (the "g:colors_name" variable is set)
setting 'background' will cause the color scheme to be reloaded. If
the color scheme adjusts to the value of 'background' this will work.
However, if the color scheme sets 'background' itself the effect may
- be undone. First delete the "colors_name" variable when needed.
+ be undone. First delete the "g:colors_name" variable when needed.
When setting 'background' to the default value with: >
:set background&
@@ -2451,6 +2451,9 @@ A jump table for the options with a short description can be found at |Q_op|.
'eadirection' option tells in which direction the size is affected.
Changing the height and width of a window can be avoided by setting
'winfixheight' and 'winfixwidth', respectively.
+ If a window size is specified when creating a new window sizes are
+ currently not equalized (it's complicated, but may be implemented in
+ the future).
*'equalprg'* *'ep'*
'equalprg' 'ep' string (default "")
@@ -5912,8 +5915,12 @@ A jump table for the options with a short description can be found at |Q_op|.
{not available when compiled without the |+linebreak|
feature}
String to put at the start of lines that have been wrapped. Useful
- values are "> " or "+++ ".
- Only printable single-cell characters are allowed, excluding <Tab> and
+ values are "> " or "+++ ": >
+ :set showbreak=>\
+< Note the backslash to escape the trailing space. It's easier like
+ this: >
+ :let &showbreak = '+++ '
+< Only printable single-cell characters are allowed, excluding <Tab> and
comma (in a future version the comma might be used to separate the
part that is shown at the end and at the start of a line).
The characters are highlighted according to the '@' flag in
View
8 runtime/doc/repeat.txt
@@ -1,4 +1,4 @@
-*repeat.txt* For Vim version 7.2. Last change: 2007 Aug 12
+*repeat.txt* For Vim version 7.2. Last change: 2009 Nov 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -332,6 +332,12 @@ Note however that trailing whitespace in the line before it cannot be
inserted freely; it depends on the position where a command is split up
whether additional whitespace is allowed or not.
+When a space is required it's best to put it right after the backslash. A
+space at the end of a line is hard to see and may be accidentally deleted. >
+ :syn match Comment
+ \ "very long regexp"
+ \ keepend
+
There is a problem with the ":append" and ":insert" commands: >
:1append
\asdf
View
9 runtime/doc/starting.txt
@@ -1,4 +1,4 @@
-*starting.txt* For Vim version 7.2. Last change: 2009 Oct 25
+*starting.txt* For Vim version 7.2. Last change: 2009 Nov 11
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -144,12 +144,13 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
-u NORC no yes
--noplugin yes no
---startuptime={fname} *--startuptime*
+--startuptime {fname} *--startuptime*
During startup write timing messages to the file {fname}.
This can be used to find out where time is spent while loading
- your .vimrc and plugins.
+ your .vimrc, plugins and opening the first file.
When {fname} already exists new messages are appended.
- {only when compiled with this feature}
+ (Only available when compiled with the |+startuptime|
+ feature).
*--literal*
--literal Take file names literally, don't expand wildcards. Not needed
View
11 runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt* For Vim version 7.2. Last change: 2009 Oct 28
+*syntax.txt* For Vim version 7.2. Last change: 2009 Nov 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3872,10 +3872,11 @@ in their own color.
:colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath'
for the file "colors/{name}.vim. The first one that
is found is loaded.
- To see the name of the currently active color scheme
- (if there is one): >
+ To see the name of the currently active color scheme: >
:echo g:colors_name
-< Doesn't work recursively, thus you can't use
+< When using the default colors you will get an E121
+ error.
+ Doesn't work recursively, thus you can't use
":colorscheme" in a color scheme script.
After the color scheme has been loaded the
|ColorScheme| autocommand event is triggered.
@@ -4072,7 +4073,7 @@ ctermbg={color-nr} *highlight-ctermbg*
colors.
When a colorscheme is being used, changing 'background' causes it to
be reloaded, which may reset all colors (including Normal). First
- delete the "colors_name" variable when you don't want this.
+ delete the "g:colors_name" variable when you don't want this.
When you have set "ctermfg" or "ctermbg" for the Normal group, Vim
needs to reset the color when exiting. This is done with the "op"
View
3  runtime/doc/tags
@@ -1171,6 +1171,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
+signs various.txt /*+signs*
+smartindent various.txt /*+smartindent*
+sniff various.txt /*+sniff*
++startuptime various.txt /*+startuptime*
+statusline various.txt /*+statusline*
+sun_workshop various.txt /*+sun_workshop*
+syntax various.txt /*+syntax*
@@ -4679,6 +4680,7 @@ blockwise-operators visual.txt /*blockwise-operators*
blockwise-register change.txt /*blockwise-register*
blockwise-visual visual.txt /*blockwise-visual*
bold syntax.txt /*bold*
+bom-bytes mbyte.txt /*bom-bytes*
book intro.txt /*book*
bookmark usr_03.txt /*bookmark*
boolean options.txt /*boolean*
@@ -8223,6 +8225,7 @@ xterm-function-keys term.txt /*xterm-function-keys*
xterm-modifier-keys term.txt /*xterm-modifier-keys*
xterm-mouse options.txt /*xterm-mouse*
xterm-mouse-wheel scroll.txt /*xterm-mouse-wheel*
+xterm-resize term.txt /*xterm-resize*
xterm-save-screen tips.txt /*xterm-save-screen*
xterm-screens tips.txt /*xterm-screens*
xterm-scroll-region term.txt /*xterm-scroll-region*
View
17 runtime/doc/term.txt
@@ -1,4 +1,4 @@
-*term.txt* For Vim version 7.2. Last change: 2008 Jun 21
+*term.txt* For Vim version 7.2. Last change: 2009 Nov 05
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -410,6 +410,21 @@ VT220, etc.). The result is that codes like <xF1> are no longer needed.
Note: This is only done on startup. If the xterm options are changed after
Vim has started, the escape sequences may not be recognized any more.
+ *xterm-resize*
+Window resizing with xterm only works if the allowWindowOps resource is
+enabled. On some systems and versions of xterm it's disabled by default
+because someone thought it would be a security issue. It's not clear if this
+is actually the case.
+
+To overrule the default, put this line in your ~/.Xdefaults or
+~/.Xresources:
+>
+ XTerm*allowWindowOps: true
+
+And run "xrdb -merge .Xresources" to make it effective. You can check the
+value with the context menu (right mouse button while CTRL key is pressed),
+there should be a tick at allow-window-ops.
+
*termcap-colors*
Note about colors: The 't_Co' option tells Vim the number of colors available.
When it is non-zero, the 't_AB' and 't_AF' options are used to set the color.
View
4 runtime/doc/tips.txt
@@ -1,4 +1,4 @@
-*tips.txt* For Vim version 7.2. Last change: 2009 Feb 18
+*tips.txt* For Vim version 7.2. Last change: 2009 Nov 07
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -251,6 +251,8 @@ Breaking up restoring the position:
zt scroll to move this line to the top of the window
`s jump to the original position of the cursor
+For something more advanced see |winsaveview()| and |winrestview()|.
+
==============================================================================
Renaming files *rename-files*
View
92 runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 7.2. Last change: 2009 Oct 28
+*todo.txt* For Vim version 7.2. Last change: 2009 Dec 16
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,25 +30,43 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------
-Crash with redir to unknown array. (Christian Brabandt, 2009 Oct 25)
-Analysis by Dominique Pelle.
- vim -u NONE -N -c 'redir => temp[0] |echo 1| redir END'
+Spanish messages and menus. (Omar Campagne, 2009 Dec 4)
-C syntax: Recognize comments in #define (Samuel Thibault, 2009 Sep 16)
+iconv() doesn't fail on an illegal character, as documented. (Yongwei Wu, 2009
+Nov 15, example Nov 26) Add argument to specify whether iconv() should fail
+or replace with a character and continue?
-patch to close file desc on ":shell". (James Vega, 2009 Aug 11, Sep 11)
+Update for form syntax. (Michael M Tung, 2009 Dec 4)
+
+Suggestion for more verbose test output and exit status. (Petr Splichal)
+Lech: later version already does this.
+
+When there is a stray "w" in the .vimrc file, the edited file is overwritten
+with an empty file. (Stone Kang).
+Detect that the file was not read and either read it first or give an error
+message.
+
+Problem with window jumping to other screen when changing font. (patch by
+Michael Wookey, 2009 Oct 16)
+Better: if the window offset was negative before changing something, then
+don't change it.
+
+Add local time at start of --startuptime output.
+Requires configure check for localtime().
+Use format year-month-day hr:min:sec.
+
+Shell not recognized properly if it ends in "csh -f". (James Vega, 2009 Nov 3)
+Find tail? Might have a / in argument. Find space? Might have space in
+path.
Crash when assigning s: to variable, pointer becomes invalid later.
(Yukihiro Nakadaira, 2009 Oct 12, confirmed by Dominique Pelle)
+ml_get error when using SiSU syntax. (Nathan Thomas, 2009 Oct 29)
+
Coverity: ask someone to create new user: Dominique.
look into reported defects: http://scan.coverity.com/rung2.html
-Spanish messages and menus. (Omar Campagne, 2009 Oct 1)
-
-Patch to fix text formatting with small 'tw'. (Yukihiro Nakadaira, 2009 Sep
-26, update Sep 29)
-
Bug with 'incsearch' going to wrong line. (Wolfram Kresse, 2009 Aug 17)
Only with "vim -u NONE".
@@ -56,8 +74,6 @@ Problem with editing file in binary mode. (Ingo Krabbe, 2009 Oct 8)
Support .xz with the xz program, like with lzma.
-Patch to set v:key for map() function. (Hari Krishna Dara, 2009 Sep 26)
-
Perl runtime files update. (Andy Lester, 2009 Aug 25)
Gvimext patch to support wide file names. (Szabolcs Horvat 2008 Sep 10)
@@ -66,6 +82,10 @@ Problem with stop directory in findfile(). (Adam Simpkins, 2009 Aug 26)
Patch to support :browse for more commands. (Lech Lorens, 2009 Jul 18)
+Change to C syntax folding to make it work much faster, but a bit less
+reliable. (Lech Lorens, 2009 Nov 9) Enable with an option?
+Most time is spent in in_id_list().
+
New wordlist for Dutch: http://www.opentaal.org/bestanden/1_10/nl_NL-Pack
Check for unused functions, idea:
@@ -74,6 +94,11 @@ http://blog.flameeyes.eu/2008/01/17/today-how-to-identify-unused-exported-functi
In command line window ":close" doesn't work properly. (Tony Mechelynck, 2009
Jun 1)
+Why does this give a #705 error:
+let X = function('haslocaldir')
+let X = function('getcwd')
+Inserting "unlet X" helps.
+
When a:base in 'completefunc' starts with a number it's passed as a number,
not a string. (Sean Ma) Need to add flag to call_func_retlist() to force a
string value.
@@ -82,6 +107,9 @@ Reproducable crash in syntax HL. (George Reilly, Dominique Pelle, 2009 May 9)
Invalid read error in Farsi mode. (Dominique Pelle, 2009 Aug 2)
+Patch to add diff functionality to 2html.vim. (Christian Brabandt, 2009 Dec
+15)
+
For running gvim on an USB stick: avoid the OLE registration. Use a command
line argument -noregister.
@@ -93,6 +121,10 @@ Caused by "doautoall syntaxset BufEnter *" in syntax/nosyntax.vim ?
There also is a BufLeave/BufEnter aucmd to save/restore view.
Does the patch to save/restore globaldir work?
+":bufdo normal gg" while 'hidden' is set leaves buffers without syntax
+highlighting. Don't disable Syntax autocommands then? Or add a flag/modifier
+to avoid changing 'eventignore'?
+
Patch for displaying 0x200c and 0x200d. (Ali Gholami Rudi, 2009 May 6)
Probably needs a bit of work.
@@ -108,6 +140,8 @@ Patch for completion of ":find" arguments. (Nazri Ramliy, 2009 Feb 22, 26)
8 For ":find" and ":sfind" expand files found in 'path'.
Update 2009 Mar 28.
+Win32: Expanding 'path' runs into a maximum size limit. (bgold12, 2009 Nov 15)
+
Setting 'tags' to "tagsdir/*" does not find "tagsdir/tags". (Steven K. Wong,
2009 Jul 18)
@@ -288,6 +322,9 @@ do any good. (Patch from Patrick Texier, 2008 Dec 9)
When changing 'encoding' convert all the swap file names, so that we can
still delete them. Also convert all buffer file names?
+"gqip" in Insert mode has an off-by-one error, causing it to reflow text.
+(Raul Coronado, 2009 Nov 2)
+
Update src/testdir/main.aap.
"vim -c 'sniff connect'" hangs Vim. (Dominique Pelle, 2008 Dec 7)
@@ -423,6 +460,9 @@ an alternate solution, also for src/ex_getln.c.
This also fails when the file or directory name contains "%". (Thoml, 2008
July 7)
+Win32: The "4913" file is sometimes not deleted. Perhaps another program has
+opened it? Use FILE_FLAG_DELETE_ON_CLOSE? (Craig Barkhouse, 2009 Nov 6)
+
The str2special() function doesn't handle multi-byte characters properly.
Patch from Vladimir Vichniakov, 2007 Apr 24.
Should clean up the whole function. Also allow modifiers like <S-Char-32>?
@@ -758,9 +798,6 @@ use a different dialog: "busy saving, really quit? yes / no".
Check other interfaces for changing curbuf in a wrong way. Patch like for
if_ruby.c.
-Problem with cursorcolumn highlighting and folds. (John Mullin, 2008 Jul 18)
-Problem with cursorcolumn in wide characters. (Dominique Pelle, 2009 May 5)
-
":helpgrep" should use the directory from 'helpfile'.
Patch to dynamically load Python on Solaris. (Danek Duvall, 2009 Feb 16)
@@ -946,15 +983,6 @@ Wokula, 2007 Aug 25)
Problem with using :redir in user command completion function? (Hari Krishna
Dara, 2006 June 21)
-GTK: When maximizing Vim the result is slightly smaller, the filler border is
-not there, and the "maximize" button is still there. Clicking it again does
-give a maximized window. (Darren Hiebert)
-Problem is that gui_mch_set_text_area_pos() is invoked to change the text area
-size, which causes the toplevel window to resize. When doing this while the
-size is already right the filler remains there.
-Detect using the maximize button (GdkWindowState bit
-GDK_WINDOW_STATE_MAXIMIZED) and set it again?
-
Another resizing problem when setting 'columns' and 'lines' to a very large
number. (Tony Mechelynck, 2007 Feb 6)
@@ -1002,6 +1030,8 @@ visible.
GTK: when setting 'columns' in a startup script and doing ":vertical diffsplit"
the window isn't redrawn properly, see two vertical bars.
+GTK: file choser is disabled. Patch by Tim Starling, 2009 Nov 13.
+
The magic clipboard format "VimClipboard2" appears in several places. Should
be only one.
@@ -1097,8 +1127,13 @@ only want to look at the first few pages. Use zero to disable it.
":vimgrep" does not recognize a recursive symlink. Is it possible to detect
this, at least for Unix (using device/inode)?
+When switching between windows the cursor is often put in the middle.
+Remember the relative position and restore that, just like lnum and col are
+restored. (Luc St-Louis)
+
Vim 7.3:
+- Use latest autoconf (3.64)
- Use NSIS 2.45, it includes Windows 7 support.
- Easier/standard way to disable default plugins.
- Add patch for 'relativenumber' option? Markus Heidelberg, 2008 Jun 27.
@@ -1106,7 +1141,7 @@ Vim 7.3:
Kocher (LGPL), close to original. Mohsin also has some ideas.
Take four bytes and turn them into unsigned to avoid byte-order problems.
Need to buffer up to 7 bytes to align on 8 byte boundaries.
-- ":{range}source": source the lines from the file.
+- ":{range}source": source the lines from the current file.
You can already yank lines and use :@" to execute them.
Most of do_source() would not be used, need a new function.
It's easy when not doing breakpoints or profiling.
@@ -1143,6 +1178,8 @@ More patches:
Schmidt, 2008 Jul 22.
- testdir/Make_dos_sh.mak for running tests with MingW. (Bill Mccarthy, 2008
Sep 13)
+- Patch for adding "space" item in 'listchars'. (Jérémie Roquet, 2009 Oct 29,
+ Docs patch Oct 30)
Awaiting updated patches:
@@ -1167,6 +1204,7 @@ Awaiting updated patches:
How does this work? Missing comments.
- Patch for 'breakindent' option: repeat indent for wrapped line. (Vaclav
Smilauer, 2004 Sep 13, fix Oct 31, update 2007 May 30)
+ Version for latest MacVim: Tobia Conforto, 2009 Nov 23
8 Add a few more command names to the menus. Patch from Jiri Brezina
(28 feb 2002). Will mess the translations...
7 ATTENTION dialog choices are more logical when "Delete it' appears
@@ -3933,7 +3971,7 @@ Undo:
8 Search for pattern in undo tree, showing when it happened and the text
state, so that you can jump to it.
- Persistent undo: store undo in a file. Patch by Jordan Lewis, 2009 Feb
- 20.
+ 20. Repost 2009 Nov 16.
Older ideas:
Use timestamps, so that a version a certain time ago can be found and info
before some time/date can be flushed. 'undopersist' gives maximum time to
View
4 runtime/doc/usr_11.txt
@@ -1,4 +1,4 @@
-*usr_11.txt* For Vim version 7.2. Last change: 2009 Apr 18
+*usr_11.txt* For Vim version 7.2. Last change: 2009 Oct 29
VIM USER MANUAL - by Bram Moolenaar
@@ -111,6 +111,8 @@ Example: >
vim -r .help.txt.swo
This is also handy when the swap file is in another directory than expected.
+Vim recognizes files with the pattern *.s[uvw][a-z] as swap files.
+
If this still does not work, see what file names Vim reports and rename the
files accordingly. Check the 'directory' option to see where Vim may have
put the swap file.
View
3  runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt* For Vim version 7.2. Last change: 2009 Jul 09
+*various.txt* For Vim version 7.2. Last change: 2009 Nov 11
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -374,6 +374,7 @@ N *+scrollbind* |'scrollbind'|
B *+signs* |:sign|
N *+smartindent* |'smartindent'|
m *+sniff* SniFF interface |sniff|
+N *+startuptime* |--startuptime| argument
N *+statusline* Options 'statusline', 'rulerformat' and special
formats of 'titlestring' and 'iconstring'
m *+sun_workshop* |workshop|
View
4 runtime/doc/version7.txt
@@ -1,4 +1,4 @@
-*version7.txt* For Vim version 7.2. Last change: 2008 Dec 17
+*version7.txt* For Vim version 7.2. Last change: 2009 Dec 02
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -224,7 +224,7 @@ The 'spelllang' option is used to specify the accepted language(s)
The 'spellfile' option specifies where new words are added
The 'spellsuggest' option specifies the methods used for making suggestions
-The |[s| and |]s| commands can be used to move to the next or previous error
+The |]s| and |[s| commands can be used to move to the next or previous error
The |zg| and |zw| commands can be used to add good and wrong words
The |z=| command can be used to list suggestions and correct the word
The |:mkspell| command is used to generate a Vim spell file from word lists
View
2  runtime/filetype.vim
@@ -1,7 +1,7 @@
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2009 Sep 18
+" Last Change: 2009 Dec 02
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
View
80 runtime/getdos.aap
@@ -22,7 +22,7 @@ all fetch:
@if get_md5(file) != "b18587b1029399d31775c00cf129b353":
:fetch {fetch = $fetcha} $file
file = doc/mbyte.txt
- @if get_md5(file) != "b5f91233304ca82cc3dd4c5904ae9b64":
+ @if get_md5(file) != "7297b699b0c7bcbbe4c49190d8e2185a":
:fetch {fetch = $fetcha} $file
file = doc/gui_x11.txt
@if get_md5(file) != "0670501668632fc19d2007d62a9c5657":
@@ -31,7 +31,7 @@ all fetch:
@if get_md5(file) != "0d7440dc33cdc54af5747868bfcaf218":
:fetch {fetch = $fetcha} $file
file = doc/syntax.txt
- @if get_md5(file) != "2a8cc248c0ed641536845812fe180b52":
+ @if get_md5(file) != "15b369ff5dc479ac7c34dcea31d7d113":
:fetch {fetch = $fetcha} $file
file = doc/os_390.txt
@if get_md5(file) != "8cfd5fccda5b1613ab12f0db99708e03":
@@ -85,7 +85,7 @@ all fetch:
@if get_md5(file) != "a3594c3390cb6e7e321e830ca98c26ce":
:fetch {fetch = $fetcha} $file
file = doc/term.txt
- @if get_md5(file) != "6a005ef11fc761f134fa1c8f63db0d31":
+ @if get_md5(file) != "a38685e246763791faeeea35ee56aa20":
:fetch {fetch = $fetcha} $file
file = doc/usr_32.txt
@if get_md5(file) != "3d5a39a7d17db4a981829fc266c15f31":
@@ -94,7 +94,7 @@ all fetch:
@if get_md5(file) != "1b9855a44b9feb444d792c59bd7f7edb":
:fetch {fetch = $fetcha} $file
file = doc/todo.txt
- @if get_md5(file) != "5c17e825e241095b9798e65cd6d65b6a":
+ @if get_md5(file) != "752cc9ca402a533ce6d2095060cc66f5":
:fetch {fetch = $fetcha} $file
file = doc/usr_25.txt
@if get_md5(file) != "f6b5a9c09cdedc9bce3216322a6cc68b":
@@ -106,7 +106,7 @@ all fetch:
@if get_md5(file) != "e55e3dc1cd3324059d2ea3de7ececf02":
:fetch {fetch = $fetcha} $file
file = doc/repeat.txt
- @if get_md5(file) != "13f4f84ef1cdae5a3860679eb9a649f5":
+ @if get_md5(file) != "05bbefb588cbbe0be5f05774a621f860":
:fetch {fetch = $fetcha} $file
file = doc/ft_ada.txt
@if get_md5(file) != "d3c46b60c831f019b768ef024738b9ab":
@@ -124,7 +124,7 @@ all fetch:
@if get_md5(file) != "8ab94d4664373206a820b8416d61c5af":
:fetch {fetch = $fetcha} $file
file = doc/ft_sql.txt
- @if get_md5(file) != "857fe14b736e397ac978249ff212b567":
+ @if get_md5(file) != "9e2227ec2448cf08d7aeffaf74e8411d":
:fetch {fetch = $fetcha} $file
file = doc/os_msdos.txt
@if get_md5(file) != "1d099f139a567a697eb15289aa4e9f67":
@@ -136,13 +136,13 @@ all fetch:
@if get_md5(file) != "22ff4577aa52b2341df58f7879920760":
:fetch {fetch = $fetcha} $file
file = doc/eval.txt
- @if get_md5(file) != "ebf4e5cc49a59610ca5a7b509bcd43c1":
+ @if get_md5(file) != "a76f1ee19ee2106885f7540158220874":
:fetch {fetch = $fetcha} $file
file = doc/os_beos.txt
@if get_md5(file) != "39cfffc1588db699e71c3826fe455482":
:fetch {fetch = $fetcha} $file
file = doc/starting.txt
- @if get_md5(file) != "09f16ee7635f0d79cfd040170b6643b2":
+ @if get_md5(file) != "8ed75b32304ecd36ec86d65e26758c2f":
:fetch {fetch = $fetcha} $file
file = doc/workshop.txt
@if get_md5(file) != "6aec1ae9fe97867bb3439a775f4d995b":
@@ -166,7 +166,7 @@ all fetch:
@if get_md5(file) != "0c97030aea98bd133f888e4470f29689":
:fetch {fetch = $fetcha} $file
file = doc/usr_11.txt
- @if get_md5(file) != "c197854c57bc207123ad9295788aa9c1":
+ @if get_md5(file) != "1c9e5f4425231f33bc0f9848b687b615":
:fetch {fetch = $fetcha} $file
file = doc/usr_26.txt
@if get_md5(file) != "08328d91eefdbcae5284aeb2157ea162":
@@ -187,7 +187,7 @@ all fetch:
@if get_md5(file) != "3dfdfc7035d15960c8886bb4ddacdc3c":
:fetch {fetch = $fetcha} $file
file = doc/version7.txt
- @if get_md5(file) != "c9258dc4de493af8d69af208e7fcf79c":
+ @if get_md5(file) != "ab88ee8f329ed29ff08f491861771276":
:fetch {fetch = $fetcha} $file
file = doc/version4.txt
@if get_md5(file) != "5725b2997ead18ed222557a2be69e177":
@@ -211,7 +211,7 @@ all fetch:
@if get_md5(file) != "0f17b95ecbde09b2074a4e20ee16bc5a":
:fetch {fetch = $fetcha} $file
file = doc/tips.txt
- @if get_md5(file) != "6001fa5b858d54b5d3dab75f7bdc552f":
+ @if get_md5(file) != "759a575d2090a02de9ebb5c0e187f94a":
:fetch {fetch = $fetcha} $file
file = doc/usr_03.txt
@if get_md5(file) != "54bfa1745e9d952b811a0f72300f1b62":
@@ -244,7 +244,7 @@ all fetch:
@if get_md5(file) != "ab7dd7df76ad98780a229c0593fdc7a6":
:fetch {fetch = $fetcha} $file
file = doc/map.txt
- @if get_md5(file) != "9d16f288e795f957df488192f460efce":
+ @if get_md5(file) != "b5672e9dc141a87ed5f5893c9846a8f7":
:fetch {fetch = $fetcha} $file
file = doc/undo.txt
@if get_md5(file) != "07d6837432d62559984f1d09fe6c42ae":
@@ -262,7 +262,7 @@ all fetch:
@if get_md5(file) != "02dd25cb7a9be1e597e30977a007f8ce":
:fetch {fetch = $fetcha} $file
file = doc/options.txt
- @if get_md5(file) != "3eed23dad26093d15efc5edab5ad44aa":
+ @if get_md5(file) != "1c74e7d2e50ecc786b415e6dbee85930":
:fetch {fetch = $fetcha} $file
file = doc/recover.txt
@if get_md5(file) != "5fa27261a8a8696d844407d9d0de6654":
@@ -289,7 +289,7 @@ all fetch:
@if get_md5(file) != "d015f6601e9b1609a44009e8c2c4baf2":
:fetch {fetch = $fetcha} $file
file = doc/indent.txt
- @if get_md5(file) != "349f04ce95a55843214bc1187902bea6":
+ @if get_md5(file) != "ed966e227217bd866b93784512d92909":
:fetch {fetch = $fetcha} $file
file = doc/usr_02.txt
@if get_md5(file) != "51426cf0f046d4bc5b0608f6a6ea5b2c":
@@ -340,7 +340,7 @@ all fetch:
@if get_md5(file) != "07911732a0532886482931612da9032a":
:fetch {fetch = $fetcha} $file
file = doc/change.txt
- @if get_md5(file) != "859501c2bb5a700ed6a652668873cce4":
+ @if get_md5(file) != "a4fdb20f42148da285c91e39feebbca9":
:fetch {fetch = $fetcha} $file
file = doc/if_ruby.txt
@if get_md5(file) != "3198623b95bd83e5c6e3dde4ab18a66b":
@@ -358,7 +358,7 @@ all fetch:
@if get_md5(file) != "32d4044efe0ce4250b5bc50e646d0b92":
:fetch {fetch = $fetcha} $file
file = doc/various.txt
- @if get_md5(file) != "7e9a009ac463196eadb702c49395aa84":
+ @if get_md5(file) != "8b2aa3d3baa7c32c9a57802c99265fd6":
:fetch {fetch = $fetcha} $file
file = doc/uganda.txt
@if get_md5(file) != "b639f685802cc8fc4091711f752bba72":
@@ -367,7 +367,7 @@ all fetch:
@if get_md5(file) != "47b5561b58e6de0115ecea6228043cad":
:fetch {fetch = $fetcha} $file
file = doc/autocmd.txt
- @if get_md5(file) != "90f1f32299a34ec9e022f3f5477d624c":
+ @if get_md5(file) != "cb72ebbcbc2f927a3c2e01735bc300e4":
:fetch {fetch = $fetcha} $file
file = doc/usr_06.txt
@if get_md5(file) != "97cb71dcbf90ff2c93913bee31c5c4a5":
@@ -617,7 +617,7 @@ all fetch:
@if get_md5(file) != "3d9818c34e8ee72d660e45b5f2281fe4":
:fetch {fetch = $fetcha} $file
file = filetype.vim
- @if get_md5(file) != "a59d1ad1a994fc027edc441d888d01a8":
+ @if get_md5(file) != "719126553bda5f12e929b68f5d2507aa":
:fetch {fetch = $fetcha} $file
file = scripts.vim
@if get_md5(file) != "54ba1f512abd126a062d54cf0b70b392":
@@ -1144,7 +1144,7 @@ all fetch:
@if get_md5(file) != "1971d1e2bb7fd8ba27d8d4d35daf9782":
:fetch {fetch = $fetcha} $file
file = indent/sh.vim
- @if get_md5(file) != "2e536ae73738fcab171c08d73c16f6ff":
+ @if get_md5(file) != "5930ac7711d64c2f3efff55c8542851b":
:fetch {fetch = $fetcha} $file
file = indent/html.vim
@if get_md5(file) != "2e0da1e50c79736efa91d644d03f8c5b":
@@ -2080,7 +2080,7 @@ all fetch:
@if get_md5(file) != "de6ba21ef2170df683f344b2d3fc6bc2":
:fetch {fetch = $fetcha} $file
file = syntax/groovy.vim
- @if get_md5(file) != "a7f402677e42a88e39547f7173a95f5f":
+ @if get_md5(file) != "d7a15065404549e94cee1613d76dcb1f":
:fetch {fetch = $fetcha} $file
file = syntax/hostconf.vim
@if get_md5(file) != "843db1fc18412872f3dfb0bf5101e01c":
@@ -2125,7 +2125,7 @@ all fetch:
@if get_md5(file) != "bcfe0b991b4f3169b0b6f3e3721e6bd8":
:fetch {fetch = $fetcha} $file
file = syntax/spyce.vim
- @if get_md5(file) != "30fb6d94d46966ccb6a1dcae6308ea68":
+ @if get_md5(file) != "55ffe0ba7df68b9725c01baba87537a1":
:fetch {fetch = $fetcha} $file
file = syntax/icon.vim
@if get_md5(file) != "4c87f3f23f2b421333ded6bf55793936":
@@ -2137,7 +2137,7 @@ all fetch:
@if get_md5(file) != "97a7a167033caaf7a7db021967f2bfd2":
:fetch {fetch = $fetcha} $file
file = syntax/maxima.vim
- @if get_md5(file) != "ec7d20c9c9f5a3e61355e867807f366c":
+ @if get_md5(file) != "f73531f89d655b07b407406b5f415781":
:fetch {fetch = $fetcha} $file
file = syntax/lynx.vim
@if get_md5(file) != "810ce0af8b49fea2ef34c9645c9391db":
@@ -2242,7 +2242,7 @@ all fetch:
@if get_md5(file) != "e67f65ae954eb6f105a032a60f68a7f0":
:fetch {fetch = $fetcha} $file
file = syntax/uil.vim
- @if get_md5(file) != "fdc07b254b69e84a666073236d3ea1b7":
+ @if get_md5(file) != "47c9554a8f53a7de826dde2e2fe5830c":
:fetch {fetch = $fetcha} $file
file = syntax/wget.vim
@if get_md5(file) != "304eb376e3f184955efae0076acbbd14":
@@ -2500,7 +2500,7 @@ all fetch:
@if get_md5(file) != "1eb965924108db94fe8d97bece4609be":
:fetch {fetch = $fetcha} $file
file = syntax/prolog.vim
- @if get_md5(file) != "83025b93608cb479c81b494b29004d51":
+ @if get_md5(file) != "662b1ae209302d52ca10519497ea9d55":
:fetch {fetch = $fetcha} $file
file = syntax/takcmp.vim
@if get_md5(file) != "8a125be12a9335ab23dfb0a29eae96a2":
@@ -2659,7 +2659,7 @@ all fetch:
@if get_md5(file) != "f7f47455894536369dce01cddb974a9d":
:fetch {fetch = $fetcha} $file
file = syntax/c.vim
- @if get_md5(file) != "fd817a17d30d05ce7d2cc966cfc95c2f":
+ @if get_md5(file) != "330734a6e9f4d72896e24ba21f91d2a0":
:fetch {fetch = $fetcha} $file
file = syntax/automake.vim
@if get_md5(file) != "226bef21fc2717c05bc5738b227d6678":
@@ -2740,7 +2740,7 @@ all fetch:
@if get_md5(file) != "41822d5dd4ebb3e50906868eef6af4e1":
:fetch {fetch = $fetcha} $file
file = syntax/form.vim
- @if get_md5(file) != "feb7f3e4fc8ad485e6f036a785421820":
+ @if get_md5(file) != "c5cfccc1f282bf0d2fde4a89b6a63217":
:fetch {fetch = $fetcha} $file
file = syntax/lotos.vim
@if get_md5(file) != "c0cfefb794bf9846d12166e2359a8e16":
@@ -2833,7 +2833,7 @@ all fetch:
@if get_md5(file) != "27deb97e68df1a2ff1d621e93e72876d":
:fetch {fetch = $fetcha} $file
file = syntax/pyrex.vim
- @if get_md5(file) != "c07de9f9e3a9846190b1e9df3ac9a96b":
+ @if get_md5(file) != "bbf547d91e69b654b2b3f77cb15aa48f":
:fetch {fetch = $fetcha} $file
file = syntax/arch.vim
@if get_md5(file) != "ac111fa673d6e3fff165fb9da3280962":
@@ -2863,7 +2863,7 @@ all fetch:
@if get_md5(file) != "35494dc095bd155b97bebdfa0eb45a7c":
:fetch {fetch = $fetcha} $file
file = syntax/tcsh.vim
- @if get_md5(file) != "5c9a22f19408ed71261b3aa6afd292ca":
+ @if get_md5(file) != "ecaf56dfde03da4d017358f532bfb899":
:fetch {fetch = $fetcha} $file
file = syntax/dtrace.vim
@if get_md5(file) != "a67a87985bd29ca75ef4382e67fe94a1":
@@ -3109,7 +3109,7 @@ all fetch:
@if get_md5(file) != "33f883056b2b193f9367cf33493ad4a3":
:fetch {fetch = $fetcha} $file
file = syntax/spec.vim
- @if get_md5(file) != "dd5bd250b294bafe170c8a916696c26e":
+ @if get_md5(file) != "b7f3ed8325cafbbaedb6f027d1b7ac3b":
:fetch {fetch = $fetcha} $file
file = syntax/htmlm4.vim
@if get_md5(file) != "f54358afe00854e71496e34e837ff7ae":
@@ -3277,10 +3277,10 @@ all fetch:
@if get_md5(file) != "6072be6767ff62b2b8fda8be3f7bffd8":
:fetch {fetch = $fetcha} $file
file = syntax/papp.vim
- @if get_md5(file) != "36122463c58d5c612bbc2e0ad441fb76":
+ @if get_md5(file) != "64611fd57f270a9ed344fc0376f7515d":
:fetch {fetch = $fetcha} $file
file = syntax/scheme.vim
- @if get_md5(file) != "df81814732f0d3859c97bcbcc37d85f3":
+ @if get_md5(file) != "803773274ef1cf48fd069c1254f0f6e4":
:fetch {fetch = $fetcha} $file
file = syntax/sensors.vim
@if get_md5(file) != "028c432afcc7d036138a135e40378d88":
@@ -3310,7 +3310,7 @@ all fetch:
@if get_md5(file) != "7abecc96fd03a4091c37798187c0d3d5":
:fetch {fetch = $fetcha} $file
file = syntax/erlang.vim
- @if get_md5(file) != "74f4f0f784b882b484e7f530e0b8c70f":
+ @if get_md5(file) != "e558091305a3fb005da4cac4ea63fe76":
:fetch {fetch = $fetcha} $file
file = syntax/lprolog.vim
@if get_md5(file) != "0b7106e6a1980ac5928443213cc2dd5a":
@@ -4047,7 +4047,7 @@ all fetch:
@if get_md5(file) != "c8ab63ed24fc3ba2d2270414f6eec262":
:fetch {fetch = $fetcha} $file
file = tutor/Makefile
- @if get_md5(file) != "562f57989cabf03a2a789e6283531da6":
+ @if get_md5(file) != "bebf34aaf86172b35dedc48cb2000914":
:fetch {fetch = $fetcha} $file
file = tutor/tutor.utf-8
@if get_md5(file) != "89dc613b87da92e94ff615f505b73d4b":
@@ -4058,6 +4058,9 @@ all fetch:
file = tutor/tutor.de
@if get_md5(file) != "2d94dee7313b58f28c9ae08822e4e368":
:fetch {fetch = $fetcha} $file
+ file = tutor/tutor.bj
+ @if get_md5(file) != "c11df64308a81b17cf5fd74631cbf5fa":
+ :fetch {fetch = $fetcha} $file
file = tutor/tutor.ca
@if get_md5(file) != "e7d040069588b16d430f0abb273d110f":
:fetch {fetch = $fetcha} $file
@@ -4070,6 +4073,9 @@ all fetch:
file = tutor/tutor.hu
@if get_md5(file) != "4be5529c7d7beb7dd1fc44c5d3cb743f":
:fetch {fetch = $fetcha} $file
+ file = tutor/tutor.nb
+ @if get_md5(file) != "b3240446b0a4fb6f92a8b4c296f0e7e9":
+ :fetch {fetch = $fetcha} $file
file = tutor/tutor.cs
@if get_md5(file) != "185b043ca11714f442ba1adc9ac013c0":
:fetch {fetch = $fetcha} $file
@@ -4130,6 +4136,9 @@ all fetch:
file = tutor/tutor.vi.utf-8
@if get_md5(file) != "d4f954bbb82ffae7e35f7a810355301b":
:fetch {fetch = $fetcha} $file
+ file = tutor/tutor.nb.utf-8
+ @if get_md5(file) != "34352cec1cf5e5b1d0cb7a68e817012c":
+ :fetch {fetch = $fetcha} $file
file = tutor/tutor.hr.cp1250
@if get_md5(file) != "fae340923f76c66546406f45facc187d":
:fetch {fetch = $fetcha} $file
@@ -4163,6 +4172,9 @@ all fetch:
file = tutor/tutor.zh.utf-8
@if get_md5(file) != "ae9ffc35ce6b95ce3945741c389e62c5":
:fetch {fetch = $fetcha} $file
+ file = tutor/tutor.bj.utf-8
+ @if get_md5(file) != "463ed8b3dcb6c77b189c0dd1c831682f":
+ :fetch {fetch = $fetcha} $file
file = tutor/tutor.fr.utf-8
@if get_md5(file) != "b9eecadc4861cbf6d9ff5bade2f4326a":
:fetch {fetch = $fetcha} $file
@@ -4237,7 +4249,7 @@ all fetch:
@if get_md5(file) != "af0da03b5c998a8f8ed94a66763febd9":
:fetch {fetch = $fetcha} $file
file = doc/tags
- @if get_md5(file) != "7478bb70b071c707b031a939a15f05be":
+ @if get_md5(file) != "14f5993ce477a57a34c563cab2613b32":
:fetch {fetch = $fetcha} $file
:mkdir {f} print
file = print/jis_roman.ps
View
80 runtime/getunix.aap
@@ -22,7 +22,7 @@ all fetch:
@if get_md5(file) != "ce173247ba4774edb284ac5803e639ea":
:fetch {fetch = $fetcha} $file
file = doc/mbyte.txt
- @if get_md5(file) != "e854abfbeb85a6264ecbbfacb50c4aa7":
+ @if get_md5(file) != "81a1c09e311e38f21de27397dcaea4e5":
:fetch {fetch = $fetcha} $file
file = doc/gui_x11.txt
@if get_md5(file) != "f394d9f818426d102de0e2ed68e5f447":
@@ -31,7 +31,7 @@ all fetch:
@if get_md5(file) != "3e1d23b59cd066a759b58c514c06eed8":
:fetch {fetch = $fetcha} $file
file = doc/syntax.txt
- @if get_md5(file) != "4c16d7aca02ed952b70d95e59046c393":
+ @if get_md5(file) != "0b99c9752be4f92ced44bef504d3c554":
:fetch {fetch = $fetcha} $file
file = doc/os_390.txt
@if get_md5(file) != "50b1842731db424686ebf8609d17dd5a":
@@ -85,7 +85,7 @@ all fetch:
@if get_md5(file) != "b36ec066a2c76c46e0e8471f07a3d504":
:fetch {fetch = $fetcha} $file
file = doc/term.txt
- @if get_md5(file) != "ed17b428ab0d1b345403d47b96473c69":
+ @if get_md5(file) != "07c75604f63293722324e75dc407f1e9":
:fetch {fetch = $fetcha} $file
file = doc/usr_32.txt
@if get_md5(file) != "e9623f95ebd2fb37901534a71c124b9f":
@@ -94,7 +94,7 @@ all fetch:
@if get_md5(file) != "701bb75ecd83ea0588c89d4efc62b0ec":
:fetch {fetch = $fetcha} $file
file = doc/todo.txt
- @if get_md5(file) != "ee9b56a7362256daed1cbaca45eb043c":
+ @if get_md5(file) != "18b66f80b7490af5c48e9bc3274152c4":
:fetch {fetch = $fetcha} $file
file = doc/usr_25.txt
@if get_md5(file) != "525e8f47371e991590d1afcc5b1a1490":
@@ -106,7 +106,7 @@ all fetch:
@if get_md5(file) != "a284345d5e4d8c045a3ec8e72c6b11e5":
:fetch {fetch = $fetcha} $file
file = doc/repeat.txt
- @if get_md5(file) != "a51edf45e52988aff61cb02da1162f00":
+ @if get_md5(file) != "54f93f2caed49f353783550789375c6b":
:fetch {fetch = $fetcha} $file
file = doc/ft_ada.txt
@if get_md5(file) != "248a7f496274ff411301e843f0c991d7":
@@ -124,7 +124,7 @@ all fetch:
@if get_md5(file) != "db38a7ba0e74b07aed4e264e80934811":
:fetch {fetch = $fetcha} $file
file = doc/ft_sql.txt
- @if get_md5(file) != "277749258ce1c3120286b1cc421ceff2":
+ @if get_md5(file) != "1b653684ddc9148f5d5ca5751c89530c":
:fetch {fetch = $fetcha} $file
file = doc/os_msdos.txt
@if get_md5(file) != "e392d0e269e0dc24de41900ccc206549":
@@ -136,13 +136,13 @@ all fetch:
@if get_md5(file) != "c564aa21efc9a54eee203f47daab956f":
:fetch {fetch = $fetcha} $file
file = doc/eval.txt
- @if get_md5(file) != "1a65b533eeacf35530882d1f86c66001":
+ @if get_md5(file) != "b0787a72350372172bbef7b44e60ace2":
:fetch {fetch = $fetcha} $file
file = doc/os_beos.txt
@if get_md5(file) != "21cbefe42c374a13c1eb541c4254d2a6":
:fetch {fetch = $fetcha} $file
file = doc/starting.txt
- @if get_md5(file) != "f2165ba0c99bd26a8f94651ba2c1ca97":
+ @if get_md5(file) != "6eaf79544cd931943f5442636499e3cc":
:fetch {fetch = $fetcha} $file
file = doc/workshop.txt
@if get_md5(file) != "219e66a64511610faebdc8db4c6fe960":
@@ -166,7 +166,7 @@ all fetch:
@if get_md5(file) != "dfb008b57a5c8e5f5fa44f0891a0fdd0":
:fetch {fetch = $fetcha} $file
file = doc/usr_11.txt
- @if get_md5(file) != "2f9941084dbe5335978f48fd723e7df5":
+ @if get_md5(file) != "4aecccbedaeb57a163f5730b8dc6f316":
:fetch {fetch = $fetcha} $file
file = doc/usr_26.txt
@if get_md5(file) != "a0967f20f6fc2014db6308607088984e":
@@ -187,7 +187,7 @@ all fetch:
@if get_md5(file) != "8f79a69d9e72dca3e99269742dd26997":
:fetch {fetch = $fetcha} $file
file = doc/version7.txt
- @if get_md5(file) != "a476912ff2a538b09fafbfccb00ca24e":
+ @if get_md5(file) != "8ea63aac16f31b3cd4a2c094dc1b5b1f":
:fetch {fetch = $fetcha} $file
file = doc/version4.txt
@if get_md5(file) != "f7da421c97b440880df51e6a6234c033":
@@ -211,7 +211,7 @@ all fetch:
@if get_md5(file) != "34c9e0c0764832be40a1d6ad550ba779":
:fetch {fetch = $fetcha} $file
file = doc/tips.txt
- @if get_md5(file) != "c21327e50b0f099c7b7e0e07a56fe1b0":
+ @if get_md5(file) != "ac8b5590a3bbf6c03e6b088d3195fde3":
:fetch {fetch = $fetcha} $file
file = doc/usr_03.txt
@if get_md5(file) != "9b32ceafa7c9b2d74e094be37674b48b":
@@ -244,7 +244,7 @@ all fetch:
@if get_md5(file) != "bc3311db38a91bd92073d77ed9d1265e":
:fetch {fetch = $fetcha} $file
file = doc/map.txt
- @if get_md5(file) != "2cde04cd76c499678f8aea275d614a61":
+ @if get_md5(file) != "36b59de5d265c010c202f2cec7319166":
:fetch {fetch = $fetcha} $file
file = doc/undo.txt
@if get_md5(file) != "3be4a2a94bf58ac11c479aa4b1f0dd4b":
@@ -262,7 +262,7 @@ all fetch:
@if get_md5(file) != "fcae6fb97538151b2d4c4346cecfc08d":
:fetch {fetch = $fetcha} $file
file = doc/options.txt
- @if get_md5(file) != "96a51de73c1c10036b19c3c555fc50f2":
+ @if get_md5(file) != "dd77f93d230b2c83fb5a6a93ca8bcf19":
:fetch {fetch = $fetcha} $file
file = doc/recover.txt
@if get_md5(file) != "fcb01435557cdc480587cf32fe919ffb":
@@ -289,7 +289,7 @@ all fetch:
@if get_md5(file) != "f844909d2b55490c32e129dc2ff0b82e":
:fetch {fetch = $fetcha} $file
file = doc/indent.txt
- @if get_md5(file) != "6b6b8232c2e3897ca3c86b40ae9ea7f8":
+ @if get_md5(file) != "9c1ab8666f93d1403b300068f31c05d3":
:fetch {fetch = $fetcha} $file
file = doc/usr_02.txt
@if get_md5(file) != "c1bdb3cdc7f346db39a1eda632508861":
@@ -340,7 +340,7 @@ all fetch:
@if get_md5(file) != "36c439f2a6d25f87928b599eebafc852":
:fetch {fetch = $fetcha} $file
file = doc/change.txt
- @if get_md5(file) != "c8a1b1e5f1731636cd7f87f8870d5394":
+ @if get_md5(file) != "3dc3e3ee91f46e56f71d1fa7f23e7d0e":
:fetch {fetch = $fetcha} $file
file = doc/if_ruby.txt
@if get_md5(file) != "7650ab7e0aaf2f1804d15492f06aa641":
@@ -358,7 +358,7 @@ all fetch:
@if get_md5(file) != "f6dacdc4fa7cbefef168510fd6e59795":
:fetch {fetch = $fetcha} $file
file = doc/various.txt
- @if get_md5(file) != "0e5a7dd1290787b8fb16b2fe6d05520c":
+ @if get_md5(file) != "5565c3ca74312a8780248dd8fa571dac":
:fetch {fetch = $fetcha} $file
file = doc/uganda.txt
@if get_md5(file) != "cd49910a3dde6fe0a7e24ebe8cbf7066":
@@ -367,7 +367,7 @@ all fetch:
@if get_md5(file) != "edf35da5c8b17fdc90539b219e8359be":
:fetch {fetch = $fetcha} $file
file = doc/autocmd.txt
- @if get_md5(file) != "799d2209badfbe1267447490a6fdfc62":
+ @if get_md5(file) != "3cb8551c84773d04d45e341af12b58b6":
:fetch {fetch = $fetcha} $file
file = doc/usr_06.txt
@if get_md5(file) != "2d3be0b344db5d3014b1f562156d126f":
@@ -617,7 +617,7 @@ all fetch:
@if get_md5(file) != "dd9ffce89e3e18837f30792b74e44ffb":
:fetch {fetch = $fetcha} $file
file = filetype.vim
- @if get_md5(file) != "e24d22a6566caed0f798a2247286945f":
+ @if get_md5(file) != "021303bbf15bc2c8077727661cf97f91":
:fetch {fetch = $fetcha} $file
file = scripts.vim
@if get_md5(file) != "87cda0e807a2b92e42cde1769e829c00":
@@ -1144,7 +1144,7 @@ all fetch:
@if get_md5(file) != "1057c3812cd98eaeed5c03da2b9650b4":
:fetch {fetch = $fetcha} $file
file = indent/sh.vim
- @if get_md5(file) != "0dd8ea3af2a5804c84e6873c497052dc":
+ @if get_md5(file) != "43b8d1871805989e5e4df5a1618d7324":
:fetch {fetch = $fetcha} $file
file = indent/html.vim
@if get_md5(file) != "0298938797abe6d71d3007a42d1c9afb":
@@ -2080,7 +2080,7 @@ all fetch:
@if get_md5(file) != "45b2dffd5f12f7a2e8bf5c1b37971fa5":
:fetch {fetch = $fetcha} $file
file = syntax/groovy.vim
- @if get_md5(file) != "16a19bbd0fd80c4f817cb9e041cdee55":
+ @if get_md5(file) != "60da3ad3932a4fb184ecd0253c76b45c":
:fetch {fetch = $fetcha} $file
file = syntax/hostconf.vim
@if get_md5(file) != "7f41f93332259cf1d95f74a37b1818fa":
@@ -2125,7 +2125,7 @@ all fetch:
@if get_md5(file) != "a61996611d5b89ec4fab0f640dd70e8e":
:fetch {fetch = $fetcha} $file
file = syntax/spyce.vim
- @if get_md5(file) != "95ae2e0fb4ae5dc70da99ea8603ba23a":
+ @if get_md5(file) != "bb9b6422f5c70f4a3f44346ce7013db0":
:fetch {fetch = $fetcha} $file
file = syntax/icon.vim
@if get_md5(file) != "587b816037f336f31de4a9c0af722bc9":
@@ -2137,7 +2137,7 @@ all fetch:
@if get_md5(file) != "927ec6962519627df9296be76d19f426":
:fetch {fetch = $fetcha} $file
file = syntax/maxima.vim
- @if get_md5(file) != "36f61768c9b588f782f5f1f7e193e1e8":
+ @if get_md5(file) != "0b0a58d6704469429e3e627e6894aa61":
:fetch {fetch = $fetcha} $file
file = syntax/lynx.vim
@if get_md5(file) != "31a01995474c0bc7b3d6d89cf31fc38e":
@@ -2242,7 +2242,7 @@ all fetch:
@if get_md5(file) != "87c38d86efe6fc66b9f9030348310a77":
:fetch {fetch = $fetcha} $file
file = syntax/uil.vim
- @if get_md5(file) != "7e791985f17c4a1f0be66c903834057e":
+ @if get_md5(file) != "16c6ac909a485e728996f5e129024eb3":
:fetch {fetch = $fetcha} $file
file = syntax/wget.vim
@if get_md5(file) != "688ebed10720c1218f37dd029747a19c":
@@ -2500,7 +2500,7 @@ all fetch:
@if get_md5(file) != "8fb1103998576aee2c54ad8d0bb5b08d":
:fetch {fetch = $fetcha} $file
file = syntax/prolog.vim
- @if get_md5(file) != "7730421dda2be26bd5f692d2e43d9bfe":
+ @if get_md5(file) != "333e05c044af7170979a9f7d90537341":
:fetch {fetch = $fetcha} $file
file = syntax/takcmp.vim
@if get_md5(file) != "e1f647e5568ec422075ba49c972ff6db":
@@ -2659,7 +2659,7 @@ all fetch:
@if get_md5(file) != "d485c8a329666d19b1d471ec85adf100":
:fetch {fetch = $fetcha} $file
file = syntax/c.vim
- @if get_md5(file) != "7fe40bfec3dbb65d4d1f078c396fffd8":
+ @if get_md5(file) != "34c110c2718eef6fbd57cdbad64d97eb":
:fetch {fetch = $fetcha} $file
file = syntax/automake.vim
@if get_md5(file) != "2f83ef62bc3dd5f3e364ae2749b42d3a":
@@ -2740,7 +2740,7 @@ all fetch:
@if get_md5(file) != "834f11b88bfee189abc67a4e7c5a51a0":
:fetch {fetch = $fetcha} $file
file = syntax/form.vim
- @if get_md5(file) != "546041788d1f041ec585cbb5480f881a":
+ @if get_md5(file) != "91f63cae77d82aa16f5cf79cc767c598":
:fetch {fetch = $fetcha} $file
file = syntax/lotos.vim
@if get_md5(file) != "c9f697f6c57b337d70510ae8d7b66920":
@@ -2833,7 +2833,7 @@ all fetch:
@if get_md5(file) != "0abc7b0a3db895159a89361fbcc8e101":
:fetch {fetch = $fetcha} $file
file = syntax/pyrex.vim
- @if get_md5(file) != "8114f3419c69cca999c628e8cece9376":
+ @if get_md5(file) != "eda42734053c459bc21ec62d09f7b473":
:fetch {fetch = $fetcha} $file
file = syntax/arch.vim
@if get_md5(file) != "54c591d0da2a51974ed0b8788e609ccb":
@@ -2863,7 +2863,7 @@ all fetch:
@if get_md5(file) != "22748970139f2f252afa406ca88a40fb":
:fetch {fetch = $fetcha} $file
file = syntax/tcsh.vim
- @if get_md5(file) != "c5102a15d58d6ab45ee5fa93acf5e4bd":
+ @if get_md5(file) != "ed6193a8da6b5dfcb133ac079dd6082d":
:fetch {fetch = $fetcha} $file
file = syntax/dtrace.vim
@if get_md5(file) != "0f36a33a3c0bd84363f3576727aa1e03":
@@ -3109,7 +3109,7 @@ all fetch:
@if get_md5(file) != "ced07df283f9c4be6c28710bb0507e37":
:fetch {fetch = $fetcha} $file
file = syntax/spec.vim
- @if get_md5(file) != "0a9593354d68f3f37ef6122b082fa8b0":
+ @if get_md5(file) != "34ae8ba674692a123323a268a56e25f7":
:fetch {fetch = $fetcha} $file
file = syntax/htmlm4.vim
@if get_md5(file) != "50b9cdfbb3923c2c22bd645ad45c9467":
@@ -3277,10 +3277,10 @@ all fetch:
@if get_md5(file) != "daaddfa98940d4abcef726e8ecff42d1":
:fetch {fetch = $fetcha} $file
file = syntax/papp.vim
- @if get_md5(file) != "89352ee4cca50fba8e41a8c8cd0a5658":
+ @if get_md5(file) != "1a082103f218f7e1990d5683538a30cf":
:fetch {fetch = $fetcha} $file
file = syntax/scheme.vim
- @if get_md5(file) != "382618c6993946a319f0de890d15bc04":
+ @if get_md5(file) != "8d50e0095a420e8e8840f4d1a65c9df6":
:fetch {fetch = $fetcha} $file
file = syntax/sensors.vim
@if get_md5(file) != "5f49c1f3aac93221d43c7457b358e91c":
@@ -3310,7 +3310,7 @@ all fetch:
@if get_md5(file) != "1d8f3644a3bc1f130c43895c5f5e28bc":
:fetch {fetch = $fetcha} $file
file = syntax/erlang.vim
- @if get_md5(file) != "fc3d5a8396db95884cc6b7580cba2dff":
+ @if get_md5(file) != "ed8dd0833c14b8becbf5d0836753a3fb":
:fetch {fetch = $fetcha} $file
file = syntax/lprolog.vim
@if get_md5(file) != "4d4a3816178066451167360799475daf":
@@ -4047,7 +4047,7 @@ all fetch:
@if get_md5(file) != "5320db3545b0ef8917b954815b729751":
:fetch {fetch = $fetcha} $file
file = tutor/Makefile
- @if get_md5(file) != "c94f3652aa2fff49379d315ae495ca18":
+ @if get_md5(file) != "40fd63a6f6ed97f89d0bfa89101e76e9":
:fetch {fetch = $fetcha} $file
file = tutor/tutor.utf-8
@if get_md5(file) != "ef2c744f92a7fb2d232dfcd5c9dd21e0":
@@ -4058,6 +4058,9 @@ all fetch:
file = tutor/tutor.de
@if get_md5(file) != "b7077a2eed6f98571977b89c6e48c083":
:fetch {fetch = $fetcha} $file
+ file = tutor/tutor.bj
+ @if get_md5(file) != "3125ed03eaf92532105d9a83e48f6e81":
+ :fetch {fetch = $fetcha} $file
file = tutor/tutor.ca
@if get_md5(file) != "e01f12117ac53cb73e716f2e9b32ffd6":
:fetch {fetch = $fetcha} $file
@@ -4070,6 +4073,9 @@ all fetch:
file = tutor/tutor.hu
@if get_md5(file) != "c5fbfc1459bc5487e908bbb575174bf4":
:fetch {fetch = $fetcha} $file
+ file = tutor/tutor.nb
+ @if get_md5(file) != "8196492c7c0620172db23d2e99ac4e89":
+ :fetch {fetch = $fetcha} $file
file = tutor/tutor.cs
@if get_md5(file) != "706b35f5b4d93af836012361888c4a66":
:fetch {fetch = $fetcha} $file
@@ -4130,6 +4136,9 @@ all fetch:
file = tutor/tutor.vi.utf-8
@if get_md5(file) != "0cdcfa5e9b1901648f09079766cb0a07":
:fetch {fetch = $fetcha} $file
+ file = tutor/tutor.nb.utf-8
+ @if get_md5(file) != "2d7410dcaac4bd48d47ca385e65944ec":
+ :fetch {fetch = $fetcha} $file
file = tutor/tutor.hr.cp1250
@if get_md5(file) != "7b74b73fddb1010ef696ba3d93b6f1fd":
:fetch {fetch = $fetcha} $file
@@ -4163,6 +4172,9 @@ all fetch:
file = tutor/tutor.zh.utf-8
@if get_md5(file) != "ff96ffc0b5e318437a867e33f5f34bc7":
:fetch {fetch = $fetcha} $file
+ file = tutor/tutor.bj.utf-8
+ @if get_md5(file) != "6a617b9c95f0a96aadb33786e023b58e":
+ :fetch {fetch = $fetcha} $file
file = tutor/tutor.fr.utf-8
@if get_md5(file) != "caf5766cd91512191f851831c8fee625":
:fetch {fetch = $fetcha} $file
@@ -4612,7 +4624,7 @@ all fetch:
@if get_md5(file) != "af0da03b5c998a8f8ed94a66763febd9":
:fetch {fetch = $fetcha} $file
file = doc/tags
- @if get_md5(file) != "7478bb70b071c707b031a939a15f05be":
+ @if get_md5(file) != "14f5993ce477a57a34c563cab2613b32":
:fetch {fetch = $fetcha} $file
:mkdir {f} print
file = print/jis_roman.ps
View
132 runtime/indent/sh.vim
@@ -1,7 +1,7 @@
" Vim indent file
-" Language: Shell Script
+" Language: Shell Script
" Maintainer: Nikolai Weibull <now@bitwi.se>
-" Latest Revision: 2006-04-19
+" Latest Revision: 2009-11-12
if exists("b:did_indent")
finish
@@ -9,8 +9,10 @@ endif
let b:did_indent = 1
setlocal indentexpr=GetShIndent()
-setlocal indentkeys+==then,=do,=else,=elif,=esac,=fi,=fin,=fil,=done
+setlocal indentkeys+=0=then,0=do,0=else,0=elif,0=fi,0=esac,0=done,),0=;;,0=;&
+setlocal indentkeys+=0=fin,0=fil,0=fip,0=fir,0=fix
setlocal indentkeys-=:,0#
+setlocal nosmartindent
if exists("*GetShIndent")
finish
@@ -19,34 +21,132 @@ endif
let s:cpo_save = &cpo
set cpo&vim
-function GetShIndent()
+function s:buffer_shiftwidth()
+ return &shiftwidth
+endfunction
+
+let s:sh_indent_defaults = {
+ \ 'default': function('s:buffer_shiftwidth'),
+ \ 'continuation-line': function('s:buffer_shiftwidth'),
+ \ 'case-labels': function('s:buffer_shiftwidth'),
+ \ 'case-statements': function('s:buffer_shiftwidth'),
+ \ 'case-breaks': 0 }
+
+function! s:indent_value(option)
+ let Value = exists('b:sh_indent_options')
+ \ && has_key(b:sh_indent_options, a:option) ?
+ \ b:sh_indent_options[a:option] :
+ \ s:sh_indent_defaults[a:option]
+ if type(Value) == type(function('type'))
+ return Value()
+ endif
+ return Value
+endfunction
+
+function! GetShIndent()
let lnum = prevnonblank(v:lnum - 1)
if lnum == 0
return 0
endif
- " Add a 'shiftwidth' after if, while, else, case, until, for, function()
- " Skip if the line also contains the closure for the above
+ let pnum = prevnonblank(lnum - 1)
+
let ind = indent(lnum)
let line = getline(lnum)
- if line =~ '^\s*\(if\|then\|do\|else\|elif\|case\|while\|until\|for\)\>'
- \ || line =~ '^\s*\<\k\+\>\s*()\s*{'
- \ || line =~ '^\s*{'
- if line !~ '\(esac\|fi\|done\)\>\s*$' && line !~ '}\s*$'
- let ind = ind + &sw
+ if line =~ '^\s*\%(if\|then\|do\|else\|elif\|case\|while\|until\|for\|select\)\>'
+ if line !~ '\<\%(fi\|esac\|done\)\>\s*\%(#.*\)\=$'
+ let ind += s:indent_value('default')
+ endif
+ elseif s:is_case_label(line, pnum)
+ if line !~ ';[;&]\s*\%(#.*\)\=$'
+ let ind += s:indent_value('case-statements')
endif
+ elseif line =~ '^\s*\<\k\+\>\s*()\s*{' || line =~ '^\s*{'
+ if line !~ '}\s*\%(#.*\)\=$'
+ let ind += s:indent_value('default')
+ endif
+ elseif s:is_continuation_line(line)
+ if pnum == 0 || !s:is_continuation_line(getline(pnum))
+ let ind += s:indent_value('continuation-line')
+ endif
+ elseif pnum != 0 && s:is_continuation_line(getline(pnum))
+ let ind = indent(s:find_continued_lnum(pnum))
endif
- " Subtract a 'shiftwidth' on a then, do, else, esac, fi, done
- " Retain the indentation level if line matches fin (for find)
+ let pine = line
let line = getline(v:lnum)
- if (line =~ '^\s*\(then\|do\|else\|elif\|esac\|fi\|done\)\>' || line =~ '^\s*}')
- \ && line !~ '^\s*fi[ln]\>'
- let ind = ind - &sw
+ if line =~ '^\s*\%(then\|do\|else\|elif\|fi\|done\)\>' || line =~ '^\s*}'
+ let ind -= s:indent_value('default')
+ elseif line =~ '^\s*esac\>'
+ let ind -= s:indent_value('case-statements') + s:indent_value('case-labels')
+ if s:is_case_break(pine)
+ let ind += s:indent_value('case-breaks')
+ endif
+ elseif s:is_case_label(line, lnum)
+ if s:is_case(pine)
+ let ind = indent(lnum) + s:indent_value('case-labels')
+ else
+ let ind -= s:indent_value('case-statements') - s:indent_value('case-breaks')
+ endif
+ elseif s:is_case_break(line)
+ let ind -= s:indent_value('case-breaks')
endif
return ind
endfunction
+function! s:is_continuation_line(line)
+ return a:line =~ '\%(\%(^\|[^\\]\)\\\|&&\|||\)$'
+endfunction
+
+function! s:find_continued_lnum(lnum)
+ let i = a:lnum
+ while i > 1 && s:is_continuation_line(getline(i - 1))
+ let i -= 1
+ endwhile
+ return i
+endfunction
+
+function! s:is_case_label(line, pnum)
+ if a:line !~ '^\s*(\=.*)\s*$'
+ return 0
+ endif
+
+ if a:pnum > 0
+ let pine = getline(a:pnum)
+ if !(s:is_case(pine) || s:is_case_break(pine))
+ return 0
+ endif
+ endif
+
+ let suffix = substitute(a:line, '^\s*(\=', "", "")
+ let nesting = 0
+ let i = 0
+ let n = strlen(suffix)
+ while i < n
+ let c = suffix[i]
+ let i += 1
+ if c == '\\'
+ let i += 1
+ elseif c == '('
+ let nesting += 1
+ elseif c == ')'
+ if nesting == 0
+ return 1
+ endif
+ let nesting -= 1
+ endif
+ endwhile
+ return 0
+endfunction
+
+function! s:is_case(line)
+ return a:line =~ '^\s*case\>'
+endfunction
+
+function! s:is_case_break(line)
+ return a:line =~ '^\s*;[;&]'
+endfunction
+
let &cpo = s:cpo_save
unlet s:cpo_save
View
6 runtime/syntax/c.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2009 Jun 03
+" Last Change: 2009 Nov 17
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
@@ -270,7 +270,7 @@ if !exists("c_no_c99") " ISO C99
endif
" Accept %: for # (C99)
-syn region cPreCondit start="^\s*\(%:\|#\)\s*\(if\|ifdef\|ifndef\|elif\)\>" skip="\\$" end="$" end="//"me=s-1 contains=cComment,cCppString,cCharacter,cCppParen,cParenError,cNumbers,cCommentError,cSpaceError
+syn region cPreCondit start="^\s*\(%:\|#\)\s*\(if\|ifdef\|ifndef\|elif\)\>" skip="\\$" end="$" contains=cComment,cCommentL,cCppString,cCharacter,cCppParen,cParenError,cNumbers,cCommentError,cSpaceError
syn match cPreCondit display "^\s*\(%:\|#\)\s*\(else\|endif\)\>"
if !exists("c_no_if0")
if !exists("c_no_if0_fold")
@@ -286,7 +286,7 @@ syn match cIncluded display contained "<[^>]*>"
syn match cInclude display "^\s*\(%:\|#\)\s*include\>\s*["<]" contains=cIncluded
"syn match cLineSkip "\\$"
syn cluster cPreProcGroup contains=cPreCondit,cIncluded,cInclude,cDefine,cErrInParen,cErrInBracket,cUserLabel,cSpecial,cOctalZero,cCppOut,cCppOut2,cCppSkip,cFormat,cNumber,cFloat,cOctal,cOctalError,cNumbersCom,cString,cCommentSkip,cCommentString,cComment2String,@cCommentGroup,cCommentStartError,cParen,cBracket,cMulti
-syn region cDefine start="^\s*\(%:\|#\)\s*\(define\|undef\)\>" skip="\\$" end="$" end="//"me=s-1 keepend contains=ALLBUT,@cPreProcGroup,@Spell
+syn region cDefine start="^\s*\(%:\|#\)\s*\(define\|undef\)\>" skip="\\$" end="$" keepend contains=ALLBUT,@cPreProcGroup,@Spell
syn region cPreProc start="^\s*\(%:\|#\)\s*\(pragma\>\|line\>\|warning\>\|warn\>\|error\>\)" skip="\\$" end="$" keepend contains=ALLBUT,@cPreProcGroup,@Spell
" Highlight User Labels
View
4 runtime/syntax/erlang.vim
@@ -50,7 +50,7 @@ if ! exists ("erlang_characters")
" Operators
syn match erlangOperator "+\|-\|\*\|\/"
syn keyword erlangOperator div rem or xor bor bxor bsl bsr
- syn keyword erlangOperator and band not bnot
+ syn keyword erlangOperator and band not bnot andalso orelse
syn match erlangOperator "==\|/=\|=:=\|=/=\|<\|=<\|>\|>="
syn match erlangOperator "++\|--\|=\|!\|<-"
@@ -123,7 +123,7 @@ endif
if ! exists ("erlang_keywords")
" Constants and Directives
- syn match erlangDirective "-behaviour\|-behaviour"
+ syn match erlangDirective "-behaviour\|-behavior"
syn match erlangDirective "-compile\|-define\|-else\|-endif\|-export\|-file"
syn match erlangDirective "-ifdef\|-ifndef\|-import\|-include_lib\|-include"
syn match erlangDirective "-module\|-record\|-undef"
View
87 runtime/syntax/form.vim
@@ -1,7 +1,10 @@
" Vim syntax file
" Language: FORM
+" Version: 2.0
" Maintainer: Michael M. Tung <michael.tung@uni-mainz.de>
-" Last Change: 2001 May 10
+" Last Change: <Thu Oct 23 13:11:21 CEST 2008>
+" Past Change: <October 2008 Thomas Reiter thomasr@nikhef.nl>
+" Past Change: <Wed, 2005/05/25 09:24:58 arwagner wptx44>
" First public release based on 'Symbolic Manipulation with FORM'
" by J.A.M. Vermaseren, CAN, Netherlands, 1991.
@@ -18,30 +21,73 @@ endif
syn case ignore
-" A bunch of useful FORM keywords
+" a bunch of useful FORM keywords
syn keyword formType global local
syn keyword formHeaderStatement symbol symbols cfunction cfunctions
syn keyword formHeaderStatement function functions vector vectors
-syn keyword formHeaderStatement set sets index indices
+syn keyword formHeaderStatement tensor tensors ctensor ctensors
+syn keyword formHeaderStatement set sets index indices table ctable
syn keyword formHeaderStatement dimension dimensions unittrace
-syn keyword formStatement id identify drop skip
-syn keyword formStatement write nwrite
-syn keyword formStatement format print nprint load save
-syn keyword formStatement bracket brackets
-syn keyword formStatement multiply count match only discard
-syn keyword formStatement trace4 traceN contract symmetrize antisymmetrize
-syn keyword formConditional if else endif while
+syn keyword formConditional if else elseif endif while
syn keyword formConditional repeat endrepeat label goto
+syn keyword formConditional argument endargument exit
+syn keyword formConditional inexpression inside term
+syn keyword formConditional endinexpression endinside endterm
+syn keyword formStatement abrackets also antibrackets antisymmetrize
+syn keyword formStatement argexplode argimplode apply auto autodeclare
+syn keyword formStatement brackets chainin chainout chisholm cleartable
+syn keyword formStatement collect commuting compress contract
+syn keyword formStatement cyclesymmetrize deallocatetable delete
+syn keyword formStatement dimension discard disorder drop factarg fill
+syn keyword formStatement fillexpression fixindex format funpowers hide
+syn keyword formStatement identify idnew idold ifmatch inparallel
+syn keyword formStatement insidefirst keep load makeinteger many metric
+syn keyword formStatement moduleoption modulus multi multiply ndrop
+syn keyword formStatement nfunctions nhide normalize notinparallel
+syn keyword formStatement nprint nskip ntable ntensors nunhide nwrite
+syn keyword formStatement off on once only polyfun pophide print
+syn keyword formStatement printtable propercount pushhide ratio
+syn keyword formStatement rcyclesymmetrize redefine renumber
+syn keyword formStatement replaceinarg replaceloop save select
+syn keyword formStatement setexitflag skip slavepatchsize sort splitarg
+syn keyword formStatement splitfirstarg splitlastarg sum symmetrize
+syn keyword formStatement tablebase testuse threadbucketsize totensor
+syn keyword formStatement tovector trace4 tracen tryreplace unhide
+syn keyword formStatement unittrace vectors write
+" for compatibility with older FORM versions:
+syn keyword formStatement id bracket count match traceN
" some special functions
-syn keyword formStatement g_ gi_ g5_ g6_ g7_ 5_ 6_ 7_
-syn keyword formStatement e_ d_ delta_ theta_ sum_ sump_
+syn keyword formStatement abs_ bernoulli_ binom_ conjg_ count_
+syn keyword formStatement d_ dd_ delta_ deltap_ denom_ distrib_
+syn keyword formStatement dum_ dummy_ dummyten_ e_ exp_ fac_
+syn keyword formStatement factorin_ firstbracket_ g5_ g6_ g7_
+syn keyword formStatement g_ gcd_ gi_ integer_ invfac_ match_
+syn keyword formStatement max_ maxpowerof_ min_ minpowerof_
+syn keyword formStatement mod_ nargs_ nterms_ pattern_ poly_
+syn keyword formStatement polyadd_ polydiv_ polygcd_ polyintfac_
+syn keyword formStatement polymul_ polynorm_ polyrem_ polysub_
+syn keyword formStatement replace_ reverse_ root_ setfun_ sig_
+syn keyword formStatement sign_ sum_ sump_ table_ tbl_ term_
+syn keyword formStatement termsin_ termsinbracket_ theta_ thetap_
+syn keyword formStatement 5_ 6_ 7_
+
+syn keyword formReserved sqrt_ ln_ sin_ cos_ tan_ asin_ acos_
+syn keyword formReserved atan_ atan2_ sinh_ cosh_ tanh_ asinh_
+syn keyword formReserved acosh_ atanh_ li2_ lin_
+
+syn keyword formTodo contained TODO FIXME XXX
+
+syn match formSpecial display contained "\\\(n\|t\|b\|\\\|\"\)"
+syn match formSpecial display contained "%\(%\|e\|E\|s\|f\|\$\)"
+syn match formSpecial "\<N\d\+_[?]"
" pattern matching for keywords
-syn match formComment "^\ *\*.*$"
-syn match formComment "\;\ *\*.*$"
-syn region formString start=+"+ end=+"+
+syn match formComment "^\ *\*.*$" contains=formTodo
+syn match formComment "\;\ *\*.*$" contains=formTodo
+syn region formString start=+"+ end=+"+ contains=formSpecial
syn region formString start=+'+ end=+'+
+syn region formNestedString start=+`+ end=+'+ contains=formNestedString
syn match formPreProc "^\=\#[a-zA-z][a-zA-Z0-9]*\>"
syn match formNumber "\<\d\+\>"
syn match formNumber "\<\d\+\.\d*\>"
@@ -50,6 +96,13 @@ syn match formNumber "-\d" contains=Number
syn match formNumber "-\.\d" contains=Number
syn match formNumber "i_\+\>"
syn match formNumber "fac_\+\>"
+" pattern matching wildcards
+syn match formNumber "?[A-z0-9]*"
+" dollar-variables (new in 3.x)
+syn match formNumber "\\$[A-z0-9]*"
+" scalar products
+syn match formNumber "^\=[a-zA-z][a-zA-Z0-9]*\.[a-zA-z][a-zA-Z0-9]*\>"
+
syn match formDirective "^\=\.[a-zA-z][a-zA-Z0-9]*\>"
" hi User Labels
@@ -74,6 +127,10 @@ if version >= 508 || !exists("did_form_syn_inits")
HiLink formDirective PreProc
HiLink formType Type
HiLink formString String
+ HiLink formNestedString String
+ HiLink formReserved Error
+ HiLink formTodo Todo
+ HiLink formSpecial SpecialChar
if !exists("form_enhanced_color")
HiLink formHeaderStatement Statement
View
1  runtime/syntax/groovy.vim
@@ -228,6 +228,7 @@ if !exists("groovy_ignore_groovydoc") && main_syntax != 'jsp'
" syntax include @groovyHtml <sfile>:p:h/html.vim
syntax include @groovyHtml runtime! syntax/html.vim
unlet b:current_syntax
+ syntax spell default " added by Bram
syn region groovyDocComment start="/\*\*" end="\*/" keepend contains=groovyCommentTitle,@groovyHtml,groovyDocTags,groovyTodo,@Spell
syn region groovyCommentTitle contained matchgroup=groovyDocComment start="/\*\*" matchgroup=groovyCommentTitle keepend end="\.$" end="\.[ \t\r<&]"me=e-1 end="[^{]@"me=s-2,he=s-1 end="\*/"me=s-1,he=s-1 contains=@groovyHtml,groovyCommentStar,groovyTodo,@Spell,groovyDocTags
View
2  runtime/syntax/maxima.vim
@@ -227,7 +227,7 @@ syn match maximaFloat /\<\d\+[BbDdEeSs][-+]\=\d\+\>/
" Comments:
" maxima supports /* ... */ (like C)
syn keyword maximaTodo contained TODO Todo DEBUG
-syn region maximaCommentBlock start="/\*" end="\*/" contains=maximaString,maximaTodo
+syn region maximaCommentBlock start="/\*" end="\*/" contains=maximaString,maximaTodo,maximaCommentBlock
" synchronizing
syn sync match maximaSyncComment grouphere maximaCommentBlock "/*"
View
3  runtime/syntax/papp.vim
@@ -2,7 +2,7 @@
"
" Language: papp
" Maintainer: Marc Lehmann <pcg@goof.com>
-" Last Change: 2003 May 11
+" Last Change: 2009 Nov 11
" Filenames: *.papp *.pxml *.pxsl
" URL: http://papp.plan9.de/
@@ -37,6 +37,7 @@ if exists("papp_include_html")
syn include @PAppHtml syntax/html.vim
endif
unlet b:current_syntax
+ syntax spell default " added by Bram
endif
if version < 600
View
4 runtime/syntax/prolog.vim
@@ -1,8 +1,8 @@
" Vim syntax file
" Language: PROLOG
" Maintainers: Thomas Koehler <jean-luc@picard.franken.de>
-" Last Change: 2009 Apr 22
-" URL: http://gott-gehabt/800_wer_wir_sind/thomas/Homepage/Computer/vim/syntax/prolog.vim
+" Last Change: 2009 Dec 04
+" URL: http://gott-gehabt.de/800_wer_wir_sind/thomas/Homepage/Computer/vim/syntax/prolog.vim
" There are two sets of highlighting in here:
" If the "prolog_highlighting_clean" variable exists, it is rather sparse.
View
6 runtime/syntax/pyrex.vim
@@ -2,7 +2,7 @@
" Language: Pyrex
" Maintainer: Marco Barisione <marco.bari@people.it>
" URL: http://marcobari.altervista.org/pyrex_vim.html
-" Last Change: 2009 Oct 28
+" Last Change: 2009 Nov 09
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
@@ -25,7 +25,7 @@ syn keyword pyrexStatement cdef typedef ctypedef sizeof
syn keyword pyrexType int long short float double char object void
syn keyword pyrexType signed unsigned
syn keyword pyrexStructure struct union enum
-syn keyword pyrexPrecondit include cimport
+syn keyword pyrexInclude include cimport
syn keyword pyrexAccess public private property readonly extern
" If someome wants Python's built-ins highlighted probably he
" also wants Pyrex's built-ins highlighted
@@ -54,7 +54,7 @@ if version >= 508 || !exists("did_pyrex_syntax_inits")
HiLink pyrexStatement Statement
HiLink pyrexType Type
HiLink pyrexStructure Structure
- HiLink pyrexPrecondit PreCondit
+ HiLink pyrexInclude PreCondit
HiLink pyrexAccess pyrexStatement
if exists("python_highlight_builtins") || exists("pyrex_highlight_builtins")
HiLink pyrexBuiltin Function
View
16 runtime/syntax/scheme.vim
@@ -1,6 +1,6 @@
" Vim syntax file
" Language: Scheme (R5RS + some R6RS extras)
-" Last Change: 2009 Apr 12
+" Last Change: 2009 Nov 27
" Maintainer: Sergey Khorev <sergey.khorev@gmail.com>
" Original author: Dirk van Deun <dirk@igwe.vub.ac.be>
@@ -174,16 +174,16 @@ syn match schemeError ![-#+0-9.][-#+/0-9a-f@i.boxesfdl]*[^-#+/0-9a-f@i.boxesfdl
syn match schemeBoolean "#[tf]"
syn match schemeError !#[tf][^ \t\[\]()";]\+!
-syn match schemeChar "#\\"
-syn match schemeChar "#\\."
+syn match schemeCharacter "#\\"
+syn match schemeCharacter "#\\."
syn match schemeError !#\\.[^ \t\[\]()";]\+!
-syn match schemeChar "#\\space"
+syn match schemeCharacter "#\\space"
syn match schemeError !#\\space[^ \t\[\]()";]\+!
-syn match schemeChar "#\\newline"
+syn match schemeCharacter "#\\newline"
syn match schemeError !#\\newline[^ \t\[\]()";]\+!
" R6RS
-syn match schemeChar "#\\x[0-9a-fA-F]\+"
+syn match schemeCharacter "#\\x[0-9a-fA-F]\+"
if exists("b:is_mzscheme") || exists("is_mzscheme")
@@ -196,7 +196,7 @@ if exists("b:is_mzscheme") || exists("is_mzscheme")
" anything limited by |'s is identifier
syn match schemeOther "|[^|]\+|"
- syn match schemeChar "#\\\%(return\|tab\)"
+ syn match schemeCharacter "#\\\%(return\|tab\)"
" Modules require stmt
syn keyword schemeExtSyntax module require dynamic-require lib prefix all-except prefix-all-except rename
@@ -305,7 +305,7 @@ if version >= 508 || !exists("did_scheme_syntax_inits")
HiLink schemeFunc Function
HiLink schemeString String
- HiLink schemeChar Character
+ HiLink schemeCharacter Character
HiLink schemeNumber Number
HiLink schemeBoolean Boolean
View
3  runtime/syntax/spec.vim
@@ -1,8 +1,7 @@
" Filename: spec.vim
" Purpose: Vim syntax file
" Language: SPEC: Build/install scripts for Linux RPM packages
-" Maintainer: Donovan Rebbechi elflord@pegasus.rutgers.edu
-" URL: http://pegasus.rutgers.edu/~elflord/vim/syntax/spec.vim
+" Maintainer: Donovan Rebbechi elflord@panix.com
" Last Change: Fri Dec 3 11:54 EST 2004 Marcin Dalecki
" For version 5.x: Clear all syntax items
View
3  runtime/syntax/spyce.vim
@@ -2,7 +2,7 @@
" Language: SPYCE
" Maintainer: Rimon Barr <rimon AT acm DOT org>
" URL: http://spyce.sourceforge.net
-" Last Change: 2003 May 11
+" Last Change: 2009 Nov 11
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
@@ -25,6 +25,7 @@ if version < 600
else
runtime! syntax/html.vim
unlet b:current_syntax
+ syntax spell default " added by Bram
endif
" include python
View
6 runtime/syntax/tcsh.vim
@@ -1,6 +1,6 @@
" tcsh.vim: Vim syntax file for tcsh scripts
-" Maintainer: Gautam Iyer <gi1242@users.sourceforge.net>
-" Modified: Sat 16 Jun 2007 04:52:12 PM PDT
+" Maintainer: Gautam Iyer <gi1242@gmail.com>
+" Modified: Sun 13 Dec 2009 11:00:34 PM EST
"
" Description: We break up each statement into a "command" and an "end" part.
" All groups are either a "command" or part of the "end" of a statement (ie
@@ -60,7 +60,7 @@ syn region tcshEnvEnd contained transparent matchgroup=tcshBuiltin start='' ski
" alias and unalias (contains special aliases)
syn keyword tcshAliases contained beepcmd cwdcmd jobcmd helpcommand periodic precmd postcmd shell
syn keyword tcshBuiltin nextgroup=tcshAliCmd skipwhite alias unalias
-syn match tcshAliCmd contained nextgroup=tcshAliEnd skipwhite '\v[\w-]+' contains=tcshAliases
+syn match tcshAliCmd contained nextgroup=tcshAliEnd skipwhite '\v(\w|-)+' contains=tcshAliases
syn region tcshAliEnd contained transparent matchgroup=tcshBuiltin start='' skip='\\$' end='$\|;' contains=@tcshStatementEnds
" if statements
View
5 runtime/syntax/uil.vim
@@ -1,8 +1,9 @@
" Vim syntax file
" Language: Motif UIL (User Interface Language)
" Maintainer: Thomas Koehler <jean-luc@picard.franken.de>
-" Last Change: 2002 Sep 20
-" URL: http://jeanluc-picard.de/vim/syntax/uil.vim
+" Last Change: 2009 Dec 04
+" URL: http://gott-gehabt.de/800_wer_wir_sind/thomas/Homepage/Computer/vim/syntax/uil.vim
+
" Quit when a syntax file was already loaded
if version < 600
View
13 runtime/tutor/Makefile
@@ -6,6 +6,7 @@
# Similarly for Russian and Korean
all: tutor.utf-8 \
+ tutor.bj \
tutor.ca.utf-8 \
tutor.de.utf-8 \
tutor.el tutor.el.cp737 \
@@ -18,6 +19,8 @@ all: tutor.utf-8 \
tutor.ja.sjis tutor.ja.euc \
tutor.ko.euc \
tutor.no.utf-8 \
+ tutor.nb \
+ tutor.nb.utf-8 \
tutor.ru tutor.ru.cp1251 \
tutor.sv.utf-8 \
tutor.zh.utf-8
@@ -25,6 +28,9 @@ all: tutor.utf-8 \
tutor.utf-8: tutor
iconv -f ISO-8859-1 -t UTF-8 tutor > tutor.utf-8
+tutor.bj: tutor.bj.utf-8
+ iconv -f UTF-8 -t ISO-8859-1 tutor.bj.utf-8 > tutor.bj
+
tutor.ca.utf-8: tutor.ca
iconv -f ISO-8859-1 -t UTF-8 tutor.ca > tutor.ca.utf-8
@@ -70,6 +76,13 @@ tutor.ko.euc: tutor.ko.utf-8
tutor.no.utf-8: tutor.no
iconv -f ISO-8859-1 -t UTF-8 tutor.no > tutor.no.utf-8
+# nb is an alias for no
+tutor.nb: tutor.no
+ cp tutor.no tutor.nb
+
+tutor.nb.utf-8: tutor.no.utf-8
+ cp tutor.no.utf-8 tutor.nb.utf-8
+
tutor.ru: tutor.ru.utf-8
iconv -f UTF-8 -t KOI8-R tutor.ru.utf-8 > tutor.ru
View
987 runtime/tutor/tutor.bj
@@ -0,0 +1,987 @@
+===============================================================================
+= G o t i k a m i n n W I M M - S c h a i n e r - Fassung 1.7D =
+===============================================================================
+
+ Dyr Wimm ist ayn gro m�chtigs Blat, d�s was mit aynn W�sn Befelh aufwartt; z
+ vil, d�� myn s allsand in aynn Schainer wie d�nn daader unterbr�ng. Der
+ Schainer ist yso aufbaut, d�� yr halt netty die Befelh allsand bringt, wost
+ brauchst, d��st mit iem f�r s Eerste wirklich �bbs anfangen kanst.
+ Durchhinarechtn kanst di, wennst willst, in ayner halbetn Stund; d�s haisst,
+ wennst di nit groo� mit n Pr�bln und T�ftln aufhaltst.
+
+ OBACHT:
+ Die Faudungen, wost daader finddst, gaand istig s Gwort �ndern. D�ssw�gn
+ machst eyn n B�stn glei ayn Aamum von derer Dautticht daader. Haast alsnan
+ d�s Gwort daader mit n Befelh "vimtutor bj" ausherlaassn, ist s ee schoon
+ ayn Aamum.
+ Mir kan s nit oft gnueg sagn, d�� der Schainer daader istig gan n �ebn
+ ghoert. Also muesst schoon aau die Befelh ausf�ern, wennst ys gscheid ler-
+ nen willst. Mit n L�sn yllain ist s +nit taan!
+
+ Ietz schaust grad non, d�� dein F�stst�lltastn nit druckt ist; und aft geest
+ glei aynmaal mit dyr j-Tastn abw�rts (yso laaufft d�s n�mlich), hinst d��st
+ de gantze Letzn 1.1 auf n Bildschirm haast.
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Letzn 1.1: MIT N M�RKL UMAYNANDFARN
+
+** Dyrmitst mit n M�rkl umaynandkimmst, druck h, j, k und l wie unt zaigt. **
+ ^ Ayn �slsbrugg:
+ k De Tastn h ist winster und +geet aau gan winster.
+ < h l > S l leit zesm und richtt si gan zesm.
+ j S j kan myn wie aynn Pfeil gan unt seghn.
+ v Mit n k kimmst gan n KOPF.
+ 1. Ietz ruedertst ainfach mit n M�rkl auf n Bildschirm umaynand, hinst d��st
+ di sicher f�elst.
+ 2. Halt d Abhin-Tastn (j) druckt; aft rumplt s ainfach weiter. Netty yso
+ kimmst gan dyr naehstn Letzn.
+
+ 3. Wie gsait, ietz bew�gst di also mit derer Tastn gan dyr Letzn 1.2.
+
+Non �bbs: Allweil, wenn dyr niemer ganz wol ist, wasst �bbenn druckt haast, aft
+ zipfst <ESC>; naacherd bist wider ganz gwon in dyr Befelhs-Artweis.
+
+
+ N�bnbei gsait kimmst gwonerweil aau mit de Pfeiltastnen weiter. Aber
+ hjkl seind z haissn s Wimm-Urgstain; und de "H�rtn" seind ganz dyr-
+ f�r, d�� myn bei +dene bleibt. Pr�blt s ainfach aus!
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Letzn 1.2: �NN WIMM AUSSCHALTTN
+
+
+ ALSO, EE WENNST �BBS VON DAA UNT AUSF�ERST, LIS LIEBER ZEERST DE GANTZE LET-
+ ZN!
+
+ 1. Druck d <ESC>-Tastn, dyrmitst aau gwi� in dyr Befelhs-Artweis bist.
+
+ 2. Demmlt :q! <EIN>.
+ Daa dyrmit benddst ys Blat und verwirffst allss, wasst �bbenn g�ndert
+ haast.
+
+ 3. Balst �nn Eingib seghst, gib d� Faudung ein, wo di zo d�nn Schainer brun-
+ gen haat, also vimtutor bj <EIN>.
+
+ 4. Also, wenn ietz allsse sitzt, naacherd f�erst d Schritt 1 hinst 3 aus, mit
+ wasst ys Blat verlaasst und aft wider einhinkimmst.
+
+Anm�rkung: Mit :q! <EIN> verwirffst allss, wasst g�ndert older enther gschribn
+ haast. In aynn �ttlych Letznen lernst acht, wiest d�s allss in ayner
+ Dautticht speichertst.
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Letzn 1.3: GWORT BARECHTN - L�SCHN
+
+
+ ** Druck x , dyrmitst d�s Zaichen unter n M�rkl l�schst. **
+
+ 1. Bew�g di mit n M�rkl auf de mit ---> angm�rkte Zeil unt.
+
+ 2. Zo n Faeler Verb�ssern farst mit n M�rkl netty auf d�s Zaichen, d�s wo
+ gl�scht ghoert.
+
+ 3. Druck de Tastn x , d��st d�s �berfl�ssige Zaichen l�schst.
+
+ 4. Ietz tuest so lang weiter mit 2 hinst 4, hinst d�� dyr Saz stimmt.
+
+---> De Kkuue sprangg �bber nn Maanad.
+
+ 5. Wenn ietz de Zeil verb�ssert ist, geest gan dyr Letzn 1.4. weiter.
+
+Und ganz wichtig: Dyrweilst d�nn Schainer durcharechtst, versuech nit �bbenn,
+ allss auswendig z lernen; n�n, lern ainfach mit n Anwenddn!
+
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Letzn 1.4: GWORT BARECHTN - EINF�EGN
+
+
+ ** Druck i , dyrmitst �bbs einf�egst. **
+
+ 1. Bew�g �nn M�rkl zo dyr eerstn untignen Zeil, wo mit ---> angeet.
+
+ 2. Dyrmitst de eerste Zeil wie de zwaitte machst, bew�g �nn M�rkl auf d�s
+ eerste Zaichen NAACH derer St�ll, daa wo s Gwort eingf�egt werdn sollt.
+
+ 3. Druck i und gib d�s ein, was abgeet.
+
+ 4. Wenn ieweils ayn Faeler verweitert ist, aft druck <ESC>; und dyrmit kimmst
+ gan dyr Befelhsartweis zrugg.
+ So, und ietz tuest ainfach yso weiter, hinst d�� dyr Saz stimmt.
+
+---> Daader gt dd �bbs b.
+---> Daader geet diend �bbs ab.
+
+ 5. Balst mainst, d��st ys Gwort-Einf�egn kanst, aft geest gan dyr Letzn 1.5.
+
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Letzn 1.5: GWORT BARECHTN - ANF�EGN
+
+
+ ** Druck A gan n Gwort Anf�egn. **
+
+ 1. Gee mit n M�rkl gan dyr eerstn untignen Zeil, wo ayn ---> dyrvor haat.
+ Daa ist s gleich, wo gnaun dyr M�rkl in derer Zeil steet.
+
+ 2. Demmlt A und gib de entspr�chetn Erg�ntzungen ein.
+
+ 3. Wennst mit n Anf�egn f�rtig bist, aft druckst <ESC>, d��st wider eyn de
+ Befelhsartweis zruggkimmst.
+
+ 4. So, und ietz geest aft non gan dyr zwaittn mit ---> angm�rktn Zeil; und
+ daadl machst ys netty yso.
+
+---> In derer Zeil gee
+ In derer Zeil geet ayn Weeng ayn Gwort ab.
+---> Aau daader stee
+ Aau daader steet �bbs Unvollst�ndigs.
+
+ 5. Wennst s Anf�egn von Gwort drauf haast, naacherd gee gan dyr Letzn 1.6.
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Letzn 1.6: AYN DAUTTICHT BARECHTN
+
+
+ ** Mit :wq speichertst ayn Dautticht und verlaasst �nn Wimm ganz. **
+
+ !! OBACHT: Ee wennst mit d�nn alln daa unt weitertuest, lis zeerst de gantze
+ Letzn durch!!
+
+ 1. Verlaa� also s Blat, wie s in dyr Letzn 1.2. haisst, mit :q! !
+
+ 2. Gib d� Faudung eyn n Eingib ein: vim Schainer <EIN> . 'vim' ruefft s Blat
+ auf, und 'Schainer' haisst de Dautticht, wost barechtn willst. Dyrmit
+ haast also ayn Dautticht, d� wost barechtn kanst.
+
+ 3. Ietz f�egst �bbs ein older l�schst �bbs, wiest ys in de vorignen Letznen
+ glernt haast.
+
+ 4. Speichert de g�nderte Dautticht und verlaa� �nn Wimm mit :wq <EIN> .
+
+ 5. Schmei� �nn Wimmschainer neu an und gee gan dyr folgetn Zammenfassung.
+
+ 6. Aft d��st de obignen Schritt gl�sn und k�ppt haast, kanst ys durchf�ern.
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ZAMMENFASSUNG VON DYR LETZN 1
+
+
+ 1. Dyr M�rkl werd mit de Tastnen hjkl older aau mit de Pfeiltastnen gsteuert.
+ h (winst) j (ab) k (auf) l (zes)
+
+ 2. Um �nn Wimm umbb n Eingib aus z ginnen, demmlt: vim DAUTTICHT <EIN> .
+
+ 3. Willst �nn Wimm verlaassn und aau allss verwerffen, aft gibst ein:
+ <ESC> :q! <EIN> .
+ Gan n Verlaassn und Speichern aber zipfst <ESC> :wq <EIN>.
+
+ 4. Willst d�s Zaichen l�schn, daa wo dyr M�rkl drauf ist, demmltst x .
+
+ 5. Willst �bbs vor n M�rkl eing�bn, zipfst i und drafter <ESC> .
+ Mechst ys aber eyn s Zeilnend anhinh�ngen, benutzt ys A .
+ Und ainfach naach n M�rkl f�egst ys mit a ein .
+
+Anm�rkung: Druckst <ESC>, kimmst eyn de Befelhsartweis zrugg older brichst ayn
+ Faudung ab, d� wo dyr schiefgangen ist.
+
+ Ietz tue mit dyr Letzn 2 weiter.
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Letzn 2.1.: L�SHFAUDUNGEN
+
+
+ ** Demmlt dw , dyrmitst ayn Wort l�schst **
+
+ 1. Druck <ESC>, dyrmit s aau gwi� ist, d��st in dyr Befelhsartweis bist.
+
+ 2. Bew�g �nn M�rkl zo dyr mit ---> angm�rktn Zeil unt.
+
+ 3. Und daa geest ietz auf n Anfang von aynn Wort, d�s wo gl�scht ghoert.
+
+ 4. Zipf dw , d��st d�s gantze Wort l�schst.
+
+ N�bnbei: Dyr Buechstabn d erscheint auf dyr l�sstn Zeil von n Bildschirm,
+ sobaldst n eingibst. Dyr Wimm wartt ietz drauf, d�� �bbs kimmt, al-
+ so daader ayn w . Seghst freilich �bbs Anderts wie ayn d ,
+ naacherd haast �bbs Falschs demmlt. Druck aft <ESC> und pr�blt
+ s non aynmaal.
+---> Ayn �ttlych W�rter lustig ghoernd nit Fisper eyn d�nn Saz einhin.
+
+ 5. �fert d Schritt 3 und 4, hinst d�� dyr Saz p�sst, und gee aft gan dyr
+ Letzn 2.2.
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Letzn 2.2.: NON MEERER L�SHFAUDUNGEN
+
+
+ ** Gib d$ ein, d��st hinst eyn s Zeilnend l�schst. **
+
+ 1. Druck <ESC> , dyrmitst aau gwi� in dyr Befelhsartweis bist.
+
+ 2. Bew�g �nn M�rkl hinst eyn de mit ---> angm�rkte Zeil untn.
+
+ 3. Gee mit n M�rkl auf s End von dyr faelerfreien Zeil, NAACH n eerstn . .
+
+ 4. Zipf d$ , d��st hinst eyn s End von dyr Zeil l�schst.
+
+---> �bber haat s End von dyr Zeil doplt eing�bn. doplt eing�bn.
+
+
+ 5. Gee weiter gan dyr Letzn 2.3, dyrmitst versteest, was daader ablaaufft.
+
+
+
+
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Letzn 2.3: PFEMERER UND WOLENDER
+
+
+ Vil Faudungen, wo s Gwort �ndernd, s�tznd si aus aynn Pfemerer und aynn Wo-
+ lend zamm. Bal i also �bbs l�schn will, schreib i ainsting d und aft s "Wo-
+ lend", d�s haisst also, "wolend", "wohin" d�� i will - older was i halt gnaun
+ l�schn will.
+
+
+
+
+
+
+ Daader also, was i wie l�schn kan:
+ w - hinst eyn n Anfang von n naehstn Wort AANE d�nn sein eersts Zaichen.
+ e - gan n End von n ietzundn Wort MIT d�nn seinn l�sstn Zaichen.
+ $ - zo n End von dyr Zeil MIT derer irn l�sstn Zaichen.
+
+ Also l�scht de Tastnfolg de umbb n M�rkl hinst eyn s Wortend.
+Anm�rkung: Gib i grad d�s zwaitte Zaichen yllain ein, ruckt halt dyr M�rkl
+ entspr�chet weiter.
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Letzn 2.4: MIT AYNN Z�LER D WOLENDER �FERN
+
+
+ ** Gib i ayn Zal vor aynn Wolend ein, werd d�s Sel halt widerholt. **
+
+ 1. Bew�g �nn M�rkl gan n Anfang von dyr Zeil mit ---> dyrvor unt.
+
+ 2. Zipf 2w , d��st mit n M�rkl zwai W�rter weitergeest.
+
+ 3. Zipf 3e , d��st mit n M�rkl auf s End von n drittn Wort kimmst.
+
+ 4. Zipf 0 (aynn Nuller), d��st eyn n Anfang von dyr Zeil hinkimmst.
+
+ 5. Widerhol d Schritt 2 und 3 mit verschaidne Z�ler.
+
+ ---> D�s ist ietz grad ayn Zeil zo n drinn Umaynanderruedern.
+
+ 6. Gee weiter gan dyr Letzn 2.5.
+
+