updated for version 7.0002
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 7.0aa. Last change: 2004 Jun 20
|
||||
*eval.txt* For Vim version 7.0aa. Last change: 2004 Jun 22
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -1236,10 +1236,19 @@ eventhandler() *eventhandler()*
|
||||
executable({expr}) *executable()*
|
||||
This function checks if an executable with the name {expr}
|
||||
exists. {expr} must be the name of the program without any
|
||||
arguments. executable() uses the normal $PATH.
|
||||
On MS-DOS and MS-Windows the ".exe", ".bat", etc. must be
|
||||
included. It only checks if the file exists and is not a
|
||||
directory, not if it's really executable.
|
||||
arguments.
|
||||
executable() uses the value of $PATH and/or the normal
|
||||
searchpath for programs. *PATHEXT*
|
||||
On MS-DOS and MS-Windows the ".exe", ".bat", etc. can
|
||||
optionally be included. Then the extensions in $PATHEXT are
|
||||
tried. Thus if "foo.exe" does not exist, "foo.exe.bat" can be
|
||||
found. If $PATHEXT is not set then ".exe;.com;.bat;.cmd" is
|
||||
used. A dot by itself can be used in $PATHEXT to try using
|
||||
the name without an extension. When 'shell' looks like a
|
||||
Unix shell, then the name is also tried without adding an
|
||||
extension.
|
||||
On MS-DOS and MS-Windows it only checks if the file exists and
|
||||
is not a directory, not if it's really executable.
|
||||
The result is a Number:
|
||||
1 exists
|
||||
0 does not exist
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*filetype.txt* For Vim version 7.0aa. Last change: 2004 May 05
|
||||
*filetype.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -148,7 +148,7 @@ This means that the contents of compressed files are not inspected.
|
||||
|
||||
*new-filetype*
|
||||
If a file type that you want to use is not detected yet, there are three ways
|
||||
to add it. In any way, it's better not modify the $VIMRUNTIME/filetype.vim
|
||||
to add it. In any way, it's better not to modify the $VIMRUNTIME/filetype.vim
|
||||
file. It will be overwritten when installing a new version of Vim.
|
||||
|
||||
A. If you want to overrule all default file type checks.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*insert.txt* For Vim version 7.0aa. Last change: 2004 Jun 16
|
||||
*insert.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -375,6 +375,11 @@ This redefines the backspace key to start a new undo sequence. You can now
|
||||
undo the effect of the backspace key, without changing what you typed before
|
||||
that, with CTRL-O u.
|
||||
|
||||
Using CTRL-O splits undo: the text typed before and after it is undone
|
||||
separately. If you want to avoid this (e.g., in a mapping) you might be able
|
||||
to use CTRL-R = |i_CTRL-R|. E.g., to call a function: >
|
||||
:imap <F2> <C-R>=MyFunc()<CR>
|
||||
|
||||
When the 'whichwrap' option is set appropriately, the <Left> and <Right>
|
||||
keys on the first/last character in the line make the cursor wrap to the
|
||||
previous/next line.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
*repeat.txt* For Vim version 7.0aa. Last change: 2004 Apr 02
|
||||
*repeat.txt* For Vim version 7.0aa. Last change: 2004 Jun 22
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -467,6 +467,13 @@ DEFINING BREAKPOINTS
|
||||
Set a breakpoint in a sourced file. Example: >
|
||||
:breakadd file 43 .vimrc
|
||||
|
||||
:breaka[dd] here
|
||||
Set a breakpoint in the current line of the current file.
|
||||
Like doing: >
|
||||
:breakadd file <cursor-line> <current-file>
|
||||
< Note that this only works for commands that are executed when
|
||||
sourcing the file, not for a function defined in that file.
|
||||
|
||||
The [lnum] is the line number of the breakpoint. Vim will stop at or after
|
||||
this line. When omitted line 1 is used.
|
||||
|
||||
@ -501,6 +508,9 @@ DELETING BREAKPOINTS
|
||||
:breakd[el] file [lnum] {name}
|
||||
Delete a breakpoint in a sourced file.
|
||||
|
||||
:breakd[el] here
|
||||
Delete a breakpoint at the current line of the current file.
|
||||
|
||||
When [lnum] is omitted, the first breakpoint in the function or file is
|
||||
deleted.
|
||||
The {name} must be exactly the same as what was typed for the ":breakadd"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2004 Jun 20
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -30,6 +30,8 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
||||
*known-bugs*
|
||||
-------------------- Known bugs and current work -----------------------
|
||||
|
||||
Change for fsync() error in Vim 6 as patch?
|
||||
|
||||
For version 7.0:
|
||||
- Include many PATCHES:
|
||||
9 Merge in ideas from tutor.txt (Gabriel Zachmann)
|
||||
@ -59,7 +61,7 @@ For version 7.0:
|
||||
InsmodLeave Taro Muraoka, 2004 Jun 16
|
||||
- Include the kvim patch. http://freenux.org/vim/ (Mickael Marchand)
|
||||
Do not add Qtopia yet, it doesn't work very well.
|
||||
Mickael will update the patch before 21st.
|
||||
update from Mickael 2004 Jun 20.
|
||||
8 Unix: When libcall() fails there is no clear error message. Johannes
|
||||
Zellner has a patch for this.
|
||||
updated patch 2004 June 16.
|
||||
@ -88,7 +90,8 @@ For version 7.0:
|
||||
7 Completion of network shares, patch by Yasuhiro Matsumoto.
|
||||
Update 2004 Jun 17.
|
||||
8 Patches from Peter "Rain Dog" Cucka:
|
||||
- guifont selector (2002 Dec 15) will send update
|
||||
- guifont selector (2002 Dec 15)
|
||||
update 2004 Jun 20
|
||||
7 Add an option to set the width of the 'number' column. Eight
|
||||
positions is often more than needed. Or adjust the width to the
|
||||
length of the file?
|
||||
@ -215,11 +218,6 @@ For version 7.0:
|
||||
7 Motif: use the menu font consistently. Patch from Martin Dalecki 2002
|
||||
Jan 11.
|
||||
- Motif: add 3D shading for the menu entries? Patch from Martin Dalecki.
|
||||
9 When 'autoindent' is set, hitting <CR> twice, while there is text after
|
||||
the cursor, doesn't delete the autoindent in the resulting blank line.
|
||||
(Rich Wales) This is Vi compatible, but it looks like a bug. Rich has
|
||||
a suggestion for a patch to fix this.
|
||||
e-mail to Rich bounced.
|
||||
7 For Visual mode: Command to do a search for the string in the marked
|
||||
area. Only when fewer than two lines. Use "g/" and "gb". Patch from
|
||||
Yegappan Lakshmanan.
|
||||
@ -260,6 +258,12 @@ For version 7.0:
|
||||
ispell inside Vim). Gautam Iyer has an example with "aspell".
|
||||
"engspchk" from Charles Campbell is a good way. Support for
|
||||
approximate-regexps will help (agrep http://www.tgries.de/agrep/).
|
||||
- Charles Campbell asks for method to add "contained" groups to
|
||||
existing syntax items (to add @Spell). Add ":syntax contains
|
||||
{pattern} add=@Spell" command? A bit like ":syn cluster" but change
|
||||
the contains list directly for matching syntax items.
|
||||
- Keep wordlist in syntax group, load it only once and use it several
|
||||
times later. Sort of global syntax items.
|
||||
- REFACTORING: The main() function is very long. Move parts to separate
|
||||
functions, especially loops. Ideas from Walter Briscoe (2003 Apr 3, 2004
|
||||
Feb 9).
|
||||
@ -302,6 +306,11 @@ For version 7.0:
|
||||
Especially when using the scrollbar. Typing a cursor-movement command
|
||||
scrolls back to where the cursor is.
|
||||
8 Support four composing characters, needed for Hebrew. (Ron Aaron)
|
||||
- Add a few more things to 'diffopt': "horizontal", "vertical",
|
||||
"foldcolumn". (Benji Fisher, 2004 Jun 21)
|
||||
- FileChangedShellPost autocommand event: after (not) reloading a changed
|
||||
file. Can be used to update statusline oslt.
|
||||
- Displaying size of Visual area: use 24-33 column display.
|
||||
|
||||
|
||||
Vi incompatibility:
|
||||
@ -1111,6 +1120,8 @@ Problems that will (probably) not be solved:
|
||||
- GTK: When pasting a selection from Vim to xclipboard gvim crashes with a
|
||||
ABRT signal. Probably an error in the file gdkselection.c, the assert
|
||||
always fails when XmbTextListToTextProperty() fails. (Tom Allard)
|
||||
- GTK 2: gives an assertion error for every non-builtin icon in the toolbar.
|
||||
This is a GTK 2.4.x bug, fixed in GTK 2.4.2. (Thomas de Grenier de Latour)
|
||||
- When using an xterm that supports the termresponse feature, and the 't_Co'
|
||||
termcap option was wrong when Vim started, it will be corrected when the
|
||||
termresponse is received. Since the number of colors changes, the
|
||||
@ -2171,6 +2182,9 @@ Command line history:
|
||||
|
||||
|
||||
Insert mode:
|
||||
9 When 'autoindent' is set, hitting <CR> twice, while there is text after
|
||||
the cursor, doesn't delete the autoindent in the resulting blank line.
|
||||
(Rich Wales) This is Vi compatible, but it looks like a bug.
|
||||
8 When using CTRL-O in Insert mode, then executing an insert command
|
||||
"a" or "i", should we return to Insert mode after <Esc>? (Eggink)
|
||||
Perhaps it can be allowed a single time, to be able to do
|
||||
@ -3299,8 +3313,6 @@ Various improvements:
|
||||
- Implement 'redraw' option.
|
||||
- Add special code to 'sections' option to define something else but '{' or
|
||||
'}' as the start of a section (e.g. one shiftwidth to the right).
|
||||
- Add 'indent' option: Always use this amount of indent when starting a new
|
||||
line and when formatting text.
|
||||
- Use pipes for filtering on Unix. Requires using fork() to be able to read
|
||||
and write at the same time, or some select() mechanism.
|
||||
7 Allow using Vim in a pipe: "ls | vim -u xxx.vim - | yyy". Only needs
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*usr_05.txt* For Vim version 7.0aa. Last change: 2004 Mar 12
|
||||
*usr_05.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@ -369,8 +369,8 @@ adding. If it's OK, you can give the new one another name: >
|
||||
mv thefile ~/.vim/ftplugin/stuff_too.vim
|
||||
|
||||
The underscore is used to separate the name of the filetype from the rest,
|
||||
which can be anything. If you would use "otherstuff.vim" it wouldn't work, it
|
||||
would be loaded for the "otherstuff" filetype.
|
||||
which can be anything. If you use "otherstuff.vim" it wouldn't work, it would
|
||||
be loaded for the "otherstuff" filetype.
|
||||
|
||||
On MS-DOS you cannot use long filenames. You would run into trouble if you
|
||||
add a second plugin and the filetype has more than six characters. You can
|
||||
@ -505,7 +505,7 @@ before and after the option name. For example: >
|
||||
:help 'wrap'
|
||||
|
||||
In case you have messed up an option value, you can set it back to the
|
||||
default by putting a ampersand (&) after the option name. Example: >
|
||||
default by putting an ampersand (&) after the option name. Example: >
|
||||
|
||||
:set iskeyword&
|
||||
|
||||
@ -514,8 +514,8 @@ NOT WRAPPING LINES
|
||||
|
||||
Vim normally wraps long lines, so that you can see all of the text. Sometimes
|
||||
it's better to let the text continue right of the window. Then you need to
|
||||
scroll the text left-right to see all of a long line. Switch wrapping of with
|
||||
this command: >
|
||||
scroll the text left-right to see all of a long line. Switch wrapping off
|
||||
with this command: >
|
||||
|
||||
:set nowrap
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2004 Jun 07
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -32,6 +32,20 @@ INCOMPATIBLE CHANGES *incompatible-7*
|
||||
These changes are incompatible with previous releases. Check this list if you
|
||||
run into a problem when upgrading from Vim 6.x to 7.0
|
||||
|
||||
":helpgrep" now uses a help window to display a match.
|
||||
|
||||
|
||||
Minor incompatibilities:
|
||||
|
||||
For filetype detection: For many types, instead of ~/.dir/filename use
|
||||
*/.dir/filename, so that it also works for other user's files.
|
||||
|
||||
":0verbose" now sets 'verbose' to zero instead of one.
|
||||
|
||||
Removed the old and incomplete "VimBuddy" code.
|
||||
|
||||
Buffers without a name report "No Name" instead of "No File". It was
|
||||
confusing for buffers with a name and 'buftype' set to "nofile".
|
||||
|
||||
==============================================================================
|
||||
NEW FEATURES *new-7*
|
||||
@ -68,10 +82,21 @@ New autocommand events: ~
|
||||
|
||||
New Syntax files: ~
|
||||
|
||||
Others: ~
|
||||
|
||||
Mac: Add the selection type to the clipboard, so that Block, line and
|
||||
character selections can be used between two Vims. (Eckehard Berns)
|
||||
Also fixes the problem that setting 'clipboard' to "unnamed" breaks using
|
||||
"yyp".
|
||||
|
||||
==============================================================================
|
||||
IMPROVEMENTS *improvements-7*
|
||||
|
||||
":helpgrep" accepts a language specifier after the pattern: "pat@it".
|
||||
|
||||
":breakadd here" and ":breakdel here" can be used to set or delete a
|
||||
breakpoint at the cursor.
|
||||
|
||||
|
||||
==============================================================================
|
||||
COMPILE TIME CHANGES *compile-changes-7*
|
||||
@ -80,5 +105,51 @@ COMPILE TIME CHANGES *compile-changes-7*
|
||||
==============================================================================
|
||||
BUG FIXES *bug-fixes-7*
|
||||
|
||||
When using PostScript printing on MS-DOS the default 'printexpr' used "lpr"
|
||||
instead of "copy". When 'printdevice' was empty the copy command did not
|
||||
work. Use "LPT1" then.
|
||||
|
||||
The GTK font dialog uses a font size zero when the font name doesn't include a
|
||||
size. Use a default size of 10.
|
||||
|
||||
This example in the documentation didn't work:
|
||||
:e `=foo . ".c" `
|
||||
Skip over the expression in `=expr` when looking for comments, |, % and #.
|
||||
|
||||
When ":helpgrep" doesn't find anything there is no error message.
|
||||
|
||||
"L" and "H" did not take closed folds into account.
|
||||
|
||||
Win32: The "-P title" argument stopped at the first title that matched, even
|
||||
when it doesn't support MDI.
|
||||
|
||||
Mac GUI: CTRL-^ and CTRL-@ did not work.
|
||||
|
||||
"2daw" on "word." at the end of a line didn't include the preceding white
|
||||
space.
|
||||
|
||||
Win32: Using FindExecutable() doesn't work to find a program. Use
|
||||
SearchPath() instead. For executable() use $PATHEXT when the program searched
|
||||
for doesn't have an extension.
|
||||
|
||||
When 'virtualedit' is set, moving the cursor up after appending a character
|
||||
may move it to a different column. Was caused by auto-formatting moving the
|
||||
cursor and not putting it back where it was.
|
||||
|
||||
When indent was added automatically and then moving the cursor, the indent was
|
||||
not deleted (like when pressing ESC). The "I" flag in 'cpoptions' can be used
|
||||
to make it work the old way.
|
||||
|
||||
When <Space> is mapped to something that starts with a space, typing <Space>
|
||||
does not expand abbreviations. Only disable expanding abbreviations when a
|
||||
mapping is not remapped, not when the RHS starts with the LHS.
|
||||
|
||||
When opening a command-line window, 'textwidth' gets set to 78 by the Vim
|
||||
filetype plugin. Reset 'textwidth' to 0 to avoid lines are broken.
|
||||
|
||||
After using cursor(line, col) moving up/down doesn't keep the same column.
|
||||
|
||||
Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart
|
||||
fields. (Walter Briscoe)
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
Reference in New Issue
Block a user