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. -- 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
