Skip to content

Commit

Permalink
updated for version 7.0055
Browse files Browse the repository at this point in the history
  • Loading branch information
vimboss committed Mar 4, 2005
1 parent 5ceeb6a commit 51d63e5
Show file tree
Hide file tree
Showing 39 changed files with 5,024 additions and 3,455 deletions.
2 changes: 1 addition & 1 deletion Filelist
Expand Up @@ -325,7 +325,7 @@ SRC_DOS = \

# source files for DOS without CR/LF translation (also in the extra archive)
SRC_DOS_BIN = \
src/VisVim/Res \
src/VisVim/Res/*.bmp \
src/tearoff.bmp \
src/tools.bmp \
src/tools16.bmp \
Expand Down
7 changes: 5 additions & 2 deletions runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
*autocmd.txt* For Vim version 7.0aa. Last change: 2005 Feb 21
*autocmd.txt* For Vim version 7.0aa. Last change: 2005 Mar 04


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -286,14 +286,17 @@ FileChangedShell When Vim notices that the modification time of
change. |timestamp|
Mostly triggered after executing a shell
command, but also with a |:checktime| command
or when Vim regains input focus.
or when Gvim regains input focus.
This autocommand is triggered for each changed
file. It is not used when 'autoread' is set
and the buffer was not changed. If a
FileChangedShell autocommand is present the
warning message and prompt is not given.
This is useful for reloading related buffers
which are affected by a single command.
The |v:fcs_reason| variable is set to indicate
what happened and |v:fcs_choice| can be used
to tell Vim what to do next.
NOTE: When this autocommand is executed, the
current buffer "%" may be different from the
buffer that was changed "<afile>".
Expand Down
28 changes: 27 additions & 1 deletion runtime/doc/eval.txt
@@ -1,4 +1,4 @@
*eval.txt* For Vim version 7.0aa. Last change: 2005 Feb 26
*eval.txt* For Vim version 7.0aa. Last change: 2005 Mar 04


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1183,6 +1183,32 @@ v:exception The value of the exception most recently caught and not
:endtry
< Output: "caught oops".

*v:fcs_reason* *fcs_reason-variable*
v:fcs_reason The reason why the |FileChangedShell| event was triggered.
Can be used in an autocommand to decide what to do and/or what
to set v:fcs_choice to. Possible values:
deleted file no longer exists
conflict file contents, mode or timestamp was
changed and buffer is modified
changed file contents has changed
mode mode of file changed
time only file timestamp changed

*v:fcs_choice* *fcs_choice-variable*
v:fcs_choice What should happen after a |FileChangedShell| event was
triggered. Can be used in an autocommand to tell Vim what to
do with the affected buffer:
reload Reload the buffer (does not work if
the file was deleted).
ask Ask the user what to do, as if there
was no autocommand. Except that when
only the timestamp changed nothing
will happen.
<empty> Nothing, the autocommand should do
everything that needs to be done.
The default is empty. If another (invalid) value is used then
Vim behaves like it is empty, there is no warning message.

*v:fname_in* *fname_in-variable*
v:fname_in The name of the input file. Only valid while evaluating:
option used for ~
Expand Down
8 changes: 4 additions & 4 deletions runtime/doc/options.txt
@@ -1,4 +1,4 @@
*options.txt* For Vim version 7.0aa. Last change: 2005 Feb 23
*options.txt* For Vim version 7.0aa. Last change: 2005 Mar 03


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -6833,9 +6833,9 @@ A jump table for the options with a short description can be found at |Q_op|.
global
Window height. Do not confuse this with the height of the Vim window,
use 'lines' for that.
Used for |CTRL-F| and |CTRL-B| when the value is smaller than 'lines'
minus one. The screen will scroll 'window' minus two lines, with a
minimum of one.
Used for |CTRL-F| and |CTRL-B| when there is only one window and the
value is smaller than 'lines' minus one. The screen will scroll
'window' minus two lines, with a minimum of one.
When 'window' is equal to 'lines' minus one CTRL-F and CTRL-B scroll
in a much smarter way, taking care of wrapping lines.
When resizing the Vim window, the value is smaller than 1 or more than
Expand Down
7 changes: 7 additions & 0 deletions runtime/doc/tags
Expand Up @@ -4782,6 +4782,8 @@ faq intro.txt /*faq*
farsi farsi.txt /*farsi*
farsi.txt farsi.txt /*farsi.txt*
fasm.vim syntax.txt /*fasm.vim*
fcs_choice-variable eval.txt /*fcs_choice-variable*
fcs_reason-variable eval.txt /*fcs_reason-variable*
feature-list eval.txt /*feature-list*
fetch pi_netrw.txt /*fetch*
file-browser-5.2 version5.txt /*file-browser-5.2*
Expand Down Expand Up @@ -5078,6 +5080,7 @@ hebrew hebrew.txt /*hebrew*
hebrew.txt hebrew.txt /*hebrew.txt*
help various.txt /*help*
help-context help.txt /*help-context*
help-tags tags 1
help-translated various.txt /*help-translated*
help-xterm-window various.txt /*help-xterm-window*
help.txt help.txt /*help.txt*
Expand Down Expand Up @@ -5901,6 +5904,7 @@ printing print.txt /*printing*
printing-formfeed print.txt /*printing-formfeed*
profile repeat.txt /*profile*
profiling repeat.txt /*profiling*
profiling-variable eval.txt /*profiling-variable*
progname-variable eval.txt /*progname-variable*
progress-syntax syntax.txt /*progress-syntax*
progress.vim syntax.txt /*progress.vim*
Expand Down Expand Up @@ -6620,6 +6624,8 @@ v:ctype eval.txt /*v:ctype*
v:dying eval.txt /*v:dying*
v:errmsg eval.txt /*v:errmsg*
v:exception eval.txt /*v:exception*
v:fcs_choice eval.txt /*v:fcs_choice*
v:fcs_reason eval.txt /*v:fcs_reason*
v:fname_diff eval.txt /*v:fname_diff*
v:fname_in eval.txt /*v:fname_in*
v:fname_new eval.txt /*v:fname_new*
Expand All @@ -6634,6 +6640,7 @@ v:lang eval.txt /*v:lang*
v:lc_time eval.txt /*v:lc_time*
v:lnum eval.txt /*v:lnum*
v:prevcount eval.txt /*v:prevcount*
v:profiling eval.txt /*v:profiling*
v:progname eval.txt /*v:progname*
v:register eval.txt /*v:register*
v:servername eval.txt /*v:servername*
Expand Down
16 changes: 14 additions & 2 deletions runtime/doc/term.txt
@@ -1,4 +1,4 @@
*term.txt* For Vim version 7.0aa. Last change: 2004 Dec 07
*term.txt* For Vim version 7.0aa. Last change: 2005 Mar 04


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -146,7 +146,7 @@ sequence of bytes.

*vt100-function-keys* *xterm-function-keys*
An xterm can send function keys F1 to F4 in two modes: vt100 compatible or
not. Because Vim cannot know what the xterm is sending, both types of keys
not. Because Vim may not know what the xterm is sending, both types of keys
are recognized. The same happens for the <Home> and <End> keys.
normal vt100 ~
<F1> t_k1 <Esc>[11~ <xF1> <Esc>OP *<xF1>-xterm*
Expand All @@ -167,6 +167,18 @@ recognizes most of them. Use ":set termcap" to check which are supported and
what the codes are. Mostly these are not in a termcap, they are only
supported by the builtin_xterm termcap.

*xterm-modifier-keys*
Newer versions of xterm support Alt and Ctrl for most function keys. To avoid
having to add all combinations of Alt, Ctrl and Shift for every key a special
sequence is recognized at the end of a termcap entry: ";*X". The "X" can be
any character, often '~' is used. The ";*" stands for an optional modifier
argument. ";2" is Shift, ";3" is Alt, ";5" is Ctrl and ";9" is Meta (when
it's different from Alt). They can be combined. Examples: >
:set <F8>=^[[19;*~
:set <Home>=^[[1;*H
Another speciality about these codes is that they are not overwritten by
another code. That is to avoid that the codes obtained from xterm directly
|t_RV| overwrite them.
*xterm-scroll-region*
The default termcap entry for xterm on Sun and other platforms does not
contain the entry for scroll regions. Add ":cs=\E[%i%d;%dr:" to the xterm
Expand Down
36 changes: 15 additions & 21 deletions runtime/doc/todo.txt
@@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.0aa. Last change: 2005 Feb 28
*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 04


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -30,17 +30,25 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------

- Steve Wall has a patch (2005 Mar 3) for adding function keys up to 37,
with modifiers.
Still need to recognize modifiers in "ESC O 5 F". "ESC O * F"?
":map <C-S-End> lll" has no effect.

Mingw code to catch out-of-stack error doesn't work. See MINGW_TRY in
regexp.c. Try with example from Michaelis.

Russian helpfile doesn't show up correctly when 'encoding' is koi8-r.
(Vassily Ragosin 2005 Feb 16)

Mac unicode patch (Da Woon Jung):
- typing doesn't work
- selecting proportional font breaks display
- UTF-8 text causes display problems. Character width wrong?

Patch for gettags(). Yegappan Lakshmanan Feb 27
- docs: use of ^ and $ in pattern, refer to |tag-regexp|
explain what the fields mean.
use of 'tags' option

- Patch from Steve Wall (2005 Mar 3) for xterm mouse positioning above
column 223.

autoload:
- Add a Vim script in $VIMRUNTIME/tools that takes a file with a list of
Expand All @@ -55,6 +63,8 @@ autoload:

Patch for 'balloonexpr' option. Sergey Khorev, Feb 26. Addition Feb 27.

Patch for "paranoid mode" by Kevin Collins, March 3.

Awaiting response:
- Patch for mch_FullName() also in Vim 6.3? os_mswin.c
- Win32: tearoff menu window should have a scrollbar when it's taller than
Expand Down Expand Up @@ -181,10 +191,6 @@ PLANNED FOR VERSION 7.0:
screen has not yet been allocated with the new size.
- Running a shell command from the GUI still has limitations. Look into how
the Vim shell project can help: http://vimshell.wana.at
8 When a file is change outside of Vim and unmodified in Vim there is no
simple way to automatically reload the file. Either add an option for
this or make it simple to have the FileChangedShell invoke the normal
action, telling it what to do.
- Displaying size of Visual area: use 24-33 column display.
When selecting multiple lines, up to about a screenfull, also count the
characters.
Expand Down Expand Up @@ -258,12 +264,6 @@ Updated Ruby interface. (Ryan Paul)

Awaiting updated patches:
--- awaiting updated patch ---
7 Add patch from Wall for this one ( ~/Mail/oldmail/wall/in.00019 ):
'flipcase' variable: upper/lowercase pairs.
Insert comma's between pairs and allow a range, make it look like
'isfname'. E.g. ":set flipcase=a-zA-Z,xX,23-33:143-153". The colon to
separate the from and to part is optional.
Resp: no time now.
8 Add GTK 2.3 file dialog support. Patch by Grahame Bowland, 2004 Mar
15, but it doesn't use "initdir" or "dflt". (will update patch)
8 Add ":n" to fnamemodify(): normalize path, remove "../" when possible.
Expand Down Expand Up @@ -323,12 +323,6 @@ Awaiting updated patches:
done for filetype detection. Patch from Walter Briscoe, 2003 Jul 1.
7 Add a "-@ filelist" argument: read file names from a file. (David
Kotchan has a patch for it)
8 Add term entries for function keys on xterm with alt and ctrl (new in
pl 94). E.g., Control adds ";5" in "<Esc>[20;5~". Find a generic way
to prepend a modifier in console mode, to avoid having to specify each
individual modified key.
Steve Wall has a patch (2002 Mar 12) for adding function keys up to 37,
with modifiers.
8 Include a connection to an external program through a pipe? See
patches from Felbinger for a mathematica interface.
Or use emacs server kind of thing?
Expand Down
3 changes: 2 additions & 1 deletion runtime/doc/various.txt
@@ -1,4 +1,4 @@
*various.txt* For Vim version 7.0aa. Last change: 2005 Feb 21
*various.txt* For Vim version 7.0aa. Last change: 2005 Mar 04


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -324,6 +324,7 @@ N *+path_extra* Up/downwards search in 'path' and 'tags'
m *+perl* Perl interface |perl|, may have |/dyn|
*+postscript* |:hardcopy| writes a PostScript file
N *+printer* |:hardcopy| command
H *+profile* |:profile| command
m *+python* Python interface |python|, may have |/dyn|
N *+quickfix* |:make| and |quickfix| commands
B *+rightleft* Right to left typing |'rightleft'|
Expand Down
16 changes: 14 additions & 2 deletions runtime/doc/version7.txt
@@ -1,4 +1,4 @@
*version7.txt* For Vim version 7.0aa. Last change: 2005 Feb 27
*version7.txt* For Vim version 7.0aa. Last change: 2005 Mar 04


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -412,6 +412,9 @@ Autocommands can be defined local to a buffer. This means they will also work
when the buffer does not have a name or no specific name. See
|autocmd-buflocal|. (Yakov Lerner)

For xterm most combinations of modifiers with function keys are recognized.
|xterm-modifier-keys|

==============================================================================
IMPROVEMENTS *improvements-7*

Expand Down Expand Up @@ -539,7 +542,11 @@ To count items (pattern matches) without changing the buffer the 'n' flag has
been added to |:substitute|. See |count-items|.

The "screen.linux" $TERM name is recognized to set the default for
'background' to "dark". (Ciaran McCreesh)
'background' to "dark". (Ciaran McCreesh) Also for "cygwin".

The |FileChangedShell| autocommand event can now use the |v:fcs_reason|
variable that specifies what triggered the event. |v:fcs_choice| can be used
to reload the buffer or ask the user what to do.

==============================================================================
COMPILE TIME CHANGES *compile-changes-7*
Expand Down Expand Up @@ -897,4 +904,9 @@ from the terminal we actually get 3 lines for the cmdline in gvim.

When setting $HOME allocated memory would leak.

Win32: bold characters may sometimes write in another character cell. Use
unicodepdy[] as for UTF-8. (Taro Muraoka)

":w fname" didn't work for files with 'buftype' set to "nofile".

vim:tw=78:ts=8:ft=help:norl:
91 changes: 91 additions & 0 deletions runtime/keymap/canfr-win.vim
@@ -0,0 +1,91 @@
" Vim Keymap file for the normalized Canadian multilingual keyboard
" CAN/CSA Z243.200-92 using the latin1 encoding.
" This mapping is limited in scope, as it assumes that the AltGr
" key works as it typically does in a Windows system with a multilingual
" English keyboard. It probably won't work with the US keyboard on US
" English versions of Windows, because those don't provide the AltGr keys.
" The mapping was tested with Win2k and WinXP.

" Maintainer: Eric Joanis <joanis@cs.toronto.edu>
" Last Change: 2004 Jan 13

" 2003 Dec 04
" Initial Revision

" 2004 Jan 13
" Added the upper case accented characters, forgotten in the initial version.

" All characters are given literally, conversion to another encoding (e.g.,
" UTF-8) should work.
scriptencoding latin1

" Use this short name in the status line.
let b:keymap_name = "canfr"

loadkeymap
< '
> "
/ é
? É
' è
\" È
\\ à
| À
[a â
[e ê
[i î
[o ô
[u û
[A Â
[E Ê
[I Î
[O Ô
[U Û
[[ ^
{a ä
{e ë
{i ï
{o ö
{u ü
{y ÿ
{A Ä
{E Ë
{I Ï
{O Ö
{U Ü
] ç
} Ç
` /
~ \\
^ ?
ú «
ø »
¬ <
® >
» °
Ûa à
Ûe è
Ûi ì
Ûo ò
Ûu ù
ÛA À
ÛE È
ÛI Ì
ÛO Ò
ÛU Ù
ÛÛ `
Ýa ã
Ýo õ
Ýn ñ
Ýs ß
ÝA Ã
ÝO Õ
ÝN Ñ
ÝS ß
ÝÝ ~
à |
· {
¸ }
¹ [
° ]
½ ¬

0 comments on commit 51d63e5

Please sign in to comment.