mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.0195
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 7.0aa. Last change: 2006 Feb 07
|
*todo.txt* For Vim version 7.0aa. Last change: 2006 Feb 09
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -32,10 +32,13 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
|||||||
|
|
||||||
Crash with X command server (Ciaran McCreesh).
|
Crash with X command server (Ciaran McCreesh).
|
||||||
|
|
||||||
|
Add ":lcscope" to use location list instead of quickfix list.
|
||||||
|
|
||||||
ccomplete / omnicomplete:
|
ccomplete / omnicomplete:
|
||||||
When editing compl_leader <CR> should accept the current match.
|
When editing compl_leader <CR> should accept the current match.
|
||||||
Somehow select another match without changing the compl_leader, so that you
|
Somehow select another match without changing the compl_leader, so that you
|
||||||
can use CTRL-L next? Perhaps with <S-Up> and <S-Down>?
|
can use CTRL-L next? Perhaps with <S-Up> and <S-Down>?
|
||||||
|
- Flickering because of syntax highlighting redrawing further lines.
|
||||||
- Complete the longest common match instead of the first match?
|
- Complete the longest common match instead of the first match?
|
||||||
Do this when "longest" is in 'completeopt'.
|
Do this when "longest" is in 'completeopt'.
|
||||||
Pressing CTRL-N or CTRL-P will get the whole match, as before.
|
Pressing CTRL-N or CTRL-P will get the whole match, as before.
|
||||||
@@ -106,6 +109,9 @@ into account. (Mikolaj Machowski) Store line count in an extra array?
|
|||||||
Is it possible to keep the command-line window open? Would actually work like
|
Is it possible to keep the command-line window open? Would actually work like
|
||||||
closing it, executing the command and re-opening it (at the same position).
|
closing it, executing the command and re-opening it (at the same position).
|
||||||
|
|
||||||
|
":keepundo": add change to existing undo chain, so that one "u" undoes them
|
||||||
|
all. (Gautam Iyer)
|
||||||
|
|
||||||
Mac unicode patch (Da Woon Jung):
|
Mac unicode patch (Da Woon Jung):
|
||||||
- selecting proportional font breaks display
|
- selecting proportional font breaks display
|
||||||
- UTF-8 text causes display problems. Font replacement causes this.
|
- UTF-8 text causes display problems. Font replacement causes this.
|
||||||
@@ -2252,31 +2258,25 @@ Autocommands:
|
|||||||
8 Add ScriptReadCmd event: used to load remote Vim scripts, e.g.
|
8 Add ScriptReadCmd event: used to load remote Vim scripts, e.g.
|
||||||
"vim -u http://mach/path/vimrc".
|
"vim -u http://mach/path/vimrc".
|
||||||
7 Add TagJump event: do something after jumping to a tag.
|
7 Add TagJump event: do something after jumping to a tag.
|
||||||
|
8 Add "TagJumpFile" autocommand: When jumping to another file for a tag.
|
||||||
|
Can be used to open "main.c.gz" when "main.c" isn't found.
|
||||||
8 Use another option than 'updatetime' for the CursorHold event. The two
|
8 Use another option than 'updatetime' for the CursorHold event. The two
|
||||||
things are unrelated for the user (but the implementation is more
|
things are unrelated for the user (but the implementation is more
|
||||||
difficult).
|
difficult).
|
||||||
8 Add an event like CursorHold that is triggered repeatedly, not just once.
|
8 Add an event like CursorHold that is triggered repeatedly, not just once
|
||||||
8 Also trigger CursorHold in Insert mode?
|
after typing something.
|
||||||
7 Add autocommand event for when a buffer cannot be abandoned. So that user
|
7 Add autocommand event for when a buffer cannot be abandoned. So that the
|
||||||
can define the action taking (autowrite, dialog, fail) based on the kind
|
user can define the action taking (autowrite, dialog, fail) based on the
|
||||||
of file. (Yakov Lerner) Or is BufLeave sufficient?
|
kind of file. (Yakov Lerner) Or is BufLeave sufficient?
|
||||||
8 Can't use ":normal" in CursorHold autocommands. Make the CursorHold event
|
|
||||||
insert a special key code, and call the autocommand functions from a
|
|
||||||
higher level, so that vgetc() isn't used recursively.
|
|
||||||
8 Autocommands should not change registers. And marks? And the jumplist?
|
|
||||||
And anything else?
|
|
||||||
8 Autocommand for when modified files have been found, when getting input
|
8 Autocommand for when modified files have been found, when getting input
|
||||||
focus again (e.g., FileChangedFocus).
|
focus again (e.g., FileChangedFocus).
|
||||||
Check when: getting focus, jumping to another buffer, ...
|
Check when: getting focus, jumping to another buffer, ...
|
||||||
|
8 Autocommands should not change registers. And marks? And the jumplist?
|
||||||
|
And anything else? Add a command to save and restore these things.
|
||||||
8 Add autocommands, user functions and user commands to ":mkvimrc".
|
8 Add autocommands, user functions and user commands to ":mkvimrc".
|
||||||
8 Add "TagJumpFile" autocommand: When jumping to another file for a tag.
|
|
||||||
Can be used to open "main.c.gz" when "main.c" isn't found.
|
|
||||||
6 Add KeymapChanged event, so that the effects of a different keymap can be
|
6 Add KeymapChanged event, so that the effects of a different keymap can be
|
||||||
handled (e.g., other font) (Ron Aaron)
|
handled (e.g., other font) (Ron Aaron)
|
||||||
7 Add a way to skip an autocommand if going from one *.c file to another *.c
|
7 When trying to open a directory, trigger an OpenDirectory event.
|
||||||
file.
|
|
||||||
7 When trying to open a directory, don't load the file but trigger an
|
|
||||||
autocommand event OpenDirectory.
|
|
||||||
7 Add file type in front of file pattern: <d> for directory, <l> for link,
|
7 Add file type in front of file pattern: <d> for directory, <l> for link,
|
||||||
<x> for executable, etc. <&xxx> for Risc OS. With commas to separate
|
<x> for executable, etc. <&xxx> for Risc OS. With commas to separate
|
||||||
alternatives. The autocommand is only executed when both the file type
|
alternatives. The autocommand is only executed when both the file type
|
||||||
@@ -2293,7 +2293,6 @@ Autocommands:
|
|||||||
- Add events to autocommands:
|
- Add events to autocommands:
|
||||||
Error - When an error happens
|
Error - When an error happens
|
||||||
NormalEnter - Entering Normal mode
|
NormalEnter - Entering Normal mode
|
||||||
InsertEnter - Entering Insert mode
|
|
||||||
ReplaceEnter - Entering Replace mode
|
ReplaceEnter - Entering Replace mode
|
||||||
CmdEnter - Entering Cmdline mode
|
CmdEnter - Entering Cmdline mode
|
||||||
VisualEnter - Entering Visual mode
|
VisualEnter - Entering Visual mode
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
*version7.txt* For Vim version 7.0aa. Last change: 2006 Feb 05
|
*version7.txt* For Vim version 7.0aa. Last change: 2006 Feb 09
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -588,6 +588,10 @@ New autocommand events: ~
|
|||||||
|
|
||||||
|SpellFileMissing| when a spell file can't be found
|
|SpellFileMissing| when a spell file can't be found
|
||||||
|
|
||||||
|
|CursorHoldI| the user doesn't press a key for a while in Insert mode
|
||||||
|
|CursorMoved| the cursor was moved in Normal mode
|
||||||
|
|CursorMovedI| the cursor was moved in Insert mode
|
||||||
|
|
||||||
|
|
||||||
New items in search patterns: ~
|
New items in search patterns: ~
|
||||||
|/\%d| \%d123 search for character with decimal number
|
|/\%d| \%d123 search for character with decimal number
|
||||||
|
11
src/main.c
11
src/main.c
@@ -988,6 +988,17 @@ main_loop(cmdwin, noexmode)
|
|||||||
skip_redraw = FALSE;
|
skip_redraw = FALSE;
|
||||||
else if (do_redraw || stuff_empty())
|
else if (do_redraw || stuff_empty())
|
||||||
{
|
{
|
||||||
|
#ifdef FEAT_AUTOCMD
|
||||||
|
/* Trigger CursorMoved if the cursor moved. */
|
||||||
|
if (!finish_op && has_cursormoved()
|
||||||
|
&& !equalpos(last_cursormoved, curwin->w_cursor))
|
||||||
|
|
||||||
|
{
|
||||||
|
apply_autocmds(EVENT_CURSORMOVED, NULL, NULL, FALSE, curbuf);
|
||||||
|
last_cursormoved = curwin->w_cursor;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(FEAT_DIFF) && defined(FEAT_SCROLLBIND)
|
#if defined(FEAT_DIFF) && defined(FEAT_SCROLLBIND)
|
||||||
/* Scroll-binding for diff mode may have been postponed until
|
/* Scroll-binding for diff mode may have been postponed until
|
||||||
* here. Avoids doing it for every change. */
|
* here. Avoids doing it for every change. */
|
||||||
|
Reference in New Issue
Block a user