Ben Fritz wrote:
On Jan 12, 1:47 pm, Charles Campbell<[email protected]>
wrote:
Hello,
I have "hints" files that echo prototypes when a function name is typed
in insert mode.
Example:
inorea abc abc<c-o>:echoh Unique<Bar>echo "void abc(void
*ptr)"<Bar>echoh None<CR>
so that when in insert mode and
abc(
is typed, a message is echo'd to the effect that:
void abc(void *ptr)
is displayed.
The problem I'm having involves the dot command; the<c-o> apparently
breaks the "small change":
assume one has a file with two lines:
one
two
Typing (with the above inorea... hint active):
1Gi(abc)<esc>j0.
yields
(abc) one
) two
Any suggestions on how to get around this issue?
Maybe the repeat plugin works in this situation? I'm not sure exactly
how it works, but I think this is sort of situation it is designed for.
Thanks, Ben -- but it looks like the repeat.vim plugin is intended to
allow "." to repeat plugins. However, it does have an interesting idea,
so I'll think on it some.
Regards,
Chip
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php