1
0
forked from aniani/vim

updated for version 7.0226

This commit is contained in:
Bram Moolenaar
2006-03-16 21:46:52 +00:00
parent 2eb25daffd
commit ea0cd36bdd
3 changed files with 51 additions and 35 deletions

View File

@@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.0aa. Last change: 2006 Mar 15 *todo.txt* For Vim version 7.0aa. Last change: 2006 Mar 16
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41,40 +41,25 @@ Mac unicode patch (Da Woon Jung, Eckehard Berns):
- With 'nopaste' pasting is wrong, with 'paste' Command-V doesn't work. - With 'nopaste' pasting is wrong, with 'paste' Command-V doesn't work.
(Alan Schmitt) (Alan Schmitt)
EMBEDDING: Make it possible to run Vim inside a window of another program.
CONSIDERED FOR VERSION 7.0: For GTK Neil Bird has a patch to use Vim like a widget.
- EMBEDDING: Make it possible to run Vim inside a window of another program.
For GTK Neil Bird has a patch to use Vim like a widget.
7 Make ":startinsert" command work directly for functions and scripts?
- When using 'incsearch" CTRL-R CTRL-W gets the word under the cursor, but
the part that already matched is doubled then. Remove the part of the
word that would be doubled. Make it work line CTRL-N in Insert mode.
- "onemore" flag in 'virtualedit': move cursor past end of line. Patch by
Mattias Flodin (2004 Jul 30)
- In a :s command multi-byte characters should also be upper/lower cased
with \u, \U, etc.
- Adjust src/main.aap for installing manpages like in Makefile.
And for generating Vim.app for the Mac.
Install spell files with src/main.aap.
- Add command to search for illegal utf-8 byte sequence.
Add strtol() to avoid the problems with leading zero causing octal conversion.
Updated Ruby interface. (Ryan Paul)
Add a 'tool' window: behaves like a preview window but there can be several.
Don't count it in only_one_window(). (Alexei Alexandrov)
Win32: Patch for Korean IME. (Yusung, 2005 March 21) Win32: Patch for Korean IME. (Yusung, 2005 March 21)
Support ":set syntax=cpp.doxygen"? Suggested patch by Michael Geddes (9 Aug Support ":set syntax=cpp.doxygen"? Suggested patch by Michael Geddes (9 Aug
2004). Should also work for 'filetype'. 2004). Should also work for 'filetype'.
Add command to search for illegal utf-8 byte sequence.
Add strtol() to avoid the problems with leading zero causing octal conversion.
Add a 'tool' window: behaves like a preview window but there can be several.
Don't count it in only_one_window(). (Alexei Alexandrov)
Adjust src/main.aap for installing manpages like in Makefile.
And for generating Vim.app for the Mac.
Install spell files with src/main.aap.
Win32: In the generated batch files, use $VIMRUNTIME if it's set. Examples by Win32: In the generated batch files, use $VIMRUNTIME if it's set. Examples by
Mathias Michaelis (2004 Sep 6) Mathias Michaelis (2004 Sep 6)
Also place vimtutor.bat in %windir%? Also place vimtutor.bat in %windir%?
@@ -105,8 +90,12 @@ quote. (Nieko Maatjes, 2005 Jan 4)
Add more tests for all new functionality in Vim 7. Especially new functions. Add more tests for all new functionality in Vim 7. Especially new functions.
Add text in user manual for using the undo tree. Example with finding the
text of a previous change.
Awaiting updated patches: Awaiting updated patches:
7 Updated Ruby interface. (Ryan Paul)
8 Add ":n" to fnamemodify(): normalize path, remove "../" when possible. 8 Add ":n" to fnamemodify(): normalize path, remove "../" when possible.
Aric Blumer has a patch for this. Aric Blumer has a patch for this.
He will update the patch for 6.3. He will update the patch for 6.3.

View File

@@ -1,4 +1,4 @@
*version7.txt* For Vim version 7.0aa. Last change: 2006 Mar 15 *version7.txt* For Vim version 7.0aa. Last change: 2006 Mar 16
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,6 +30,7 @@ More highlighting |new-more-highlighting|
Translated manual pages |new-manpage-trans| Translated manual pages |new-manpage-trans|
Internal grep |new-vimgrep| Internal grep |new-vimgrep|
Scroll back in messages |new-scroll-back| Scroll back in messages |new-scroll-back|
Cursor past end of the line |new-onemore|
POSIX compatibility |new-posix| POSIX compatibility |new-posix|
Debugger support |new-debug-support| Debugger support |new-debug-support|
Remote file explorer |new-netrw-explore| Remote file explorer |new-netrw-explore|
@@ -269,11 +270,11 @@ Undo branches *new-undo-branches*
Previously there was only one line of undo-redo. If, after undoing a number Previously there was only one line of undo-redo. If, after undoing a number
of changes, a new change was made all the undone changes were lost. This of changes, a new change was made all the undone changes were lost. This
could lead to accidentally losing text. could lead to accidentally losing work.
Vim now makes an undo branch in this situation. Thus you can go back to the Vim now makes an undo branch in this situation. Thus you can go back to the
text after any change, even if they were undone. So long as you do not run text after any change, even if they were undone. So long as you do not run
into 'undolevels', undo information is freed up to limit the memory use. into 'undolevels', undo information is freed up to limit the memory used.
To be able to navigate the undo branches each change is numbered sequentially. To be able to navigate the undo branches each change is numbered sequentially.
The commands |g-| and |:earlier| go back in time, to older changes. The The commands |g-| and |:earlier| go back in time, to older changes. The
@@ -282,6 +283,10 @@ commands |g+| and |:later| go forward in time, to newer changes.
The changes are also timestamped. Use ":earlier 10m" to go to the text as it The changes are also timestamped. Use ":earlier 10m" to go to the text as it
was about ten minutes earlier. was about ten minutes earlier.
The |:undolist| command can be used to get an idea of which undo branches
exist. The |:undo| command now takes an argument to directly jump to a
specific position in this list.
There is no graphical display of the tree with changes, navigation can be There is no graphical display of the tree with changes, navigation can be
quite confusing. quite confusing.
@@ -378,6 +383,19 @@ The |g<| command can be used to see the last page of messages after you have
hit <Enter> at the |hit-enter-prompt|. Then you can scroll further back. hit <Enter> at the |hit-enter-prompt|. Then you can scroll further back.
Cursor past end of the line *new-onemore*
---------------------------
When the 'virtualedit' option contains "onemore" the cursor can move just past
the end of the line. As if it's on top of the line break.
This makes some commands more consistent. Previously the cursor was always
past the end of the line if the line was empty. But it is far from Vi
compatible. It may also break some plugins or Vim scripts. Use with care!
The patch was provided by Mattias Flodin.
POSIX compatibility *new-posix* POSIX compatibility *new-posix*
------------------- -------------------
@@ -874,6 +892,10 @@ the user selects "quit" or "abort" then exit Vim.
Undo now also restores the '< and '> marks. "gv" selects the same area as Undo now also restores the '< and '> marks. "gv" selects the same area as
before the change and undo. before the change and undo.
When editing a search pattern for a "/" or "?" command and 'incsearch' is set
CTRL-L can be used to add a character from the current match. CTRL-R CTRL-W
will add a word, but exclude the part of the word that was already typed.
============================================================================== ==============================================================================
IMPROVEMENTS *improvements-7* IMPROVEMENTS *improvements-7*
@@ -1051,6 +1073,9 @@ When completing buffer names, match with "\(^\|[\/]\)" instead of "^", so that
To count items (pattern matches) without changing the buffer the 'n' flag has To count items (pattern matches) without changing the buffer the 'n' flag has
been added to |:substitute|. See |count-items|. been added to |:substitute|. See |count-items|.
In a |:substitute| command the \u, \U, \l and \L items now also work for
multi-byte characters.
The "screen.linux" $TERM name is recognized to set the default for The "screen.linux" $TERM name is recognized to set the default for
'background' to "dark". (Ciaran McCreesh) Also for "cygwin" and "putty". 'background' to "dark". (Ciaran McCreesh) Also for "cygwin" and "putty".
@@ -1189,8 +1214,8 @@ use these new features:
When 'statusline' is set to something that causes an error message then it is When 'statusline' is set to something that causes an error message then it is
made empty to avoid an endless redraw loop. Also for other options, such at made empty to avoid an endless redraw loop. Also for other options, such at
'tabline'. ":verbose set statusline" will mention that it was set in an error 'tabline' and 'titlestring'. ":verbose set statusline" will mention that it
handler. was set in an error handler.
When there are several matching tags, the ":tag <name>" and CTRL-] commands When there are several matching tags, the ":tag <name>" and CTRL-] commands
jump to the [count] matching tag. (Yegappan Lakshmanan) jump to the [count] matching tag. (Yegappan Lakshmanan)

View File

@@ -948,9 +948,11 @@ EX(CMD_tselect, "tselect", ex_tag,
EX(CMD_tunmenu, "tunmenu", ex_menu, EX(CMD_tunmenu, "tunmenu", ex_menu,
EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN), EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
EX(CMD_undo, "undo", ex_undo, EX(CMD_undo, "undo", ex_undo,
TRLBAR|CMDWIN), RANGE|NOTADR|COUNT|TRLBAR|CMDWIN),
EX(CMD_undojoin, "undojoin", ex_undojoin, EX(CMD_undojoin, "undojoin", ex_undojoin,
TRLBAR|CMDWIN), TRLBAR|CMDWIN),
EX(CMD_undolist, "undolist", ex_undolist,
TRLBAR|CMDWIN),
EX(CMD_unabbreviate, "unabbreviate", ex_abbreviate, EX(CMD_unabbreviate, "unabbreviate", ex_abbreviate,
EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN), EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
EX(CMD_unhide, "unhide", ex_buffer_all, EX(CMD_unhide, "unhide", ex_buffer_all,