On Feb 13, 11:42 pm, Dominique Pelle <[email protected]>
wrote:
>
> >>     :h i_CTRL-G_u
>
> > This is cool. I am interested in finding where those text goes. Is it
> > still part of register . (<C-R>.)?
>
> > Is it possible to find out a way, in insert mode, to get those text
> > between <C-G>u?
>
> I don't think that you can retrieve it. An undo sequence is not
> just text added, it can also be text removed, or text changed.
> What would a register store then?

Eventually I found a workaround, thanks to inspiration of discussions
here.

Now I am able to retrieve whatever choice the user made during omni
completion and build "dynamic menu". It can dynamically adjust the
order of the omni popup menu selection sequence based on the past
usage frequency.

I will add it to vimim, making the Vim to beat the Emacs which has its
own input method for years. But vimim offers more features and input
methods with less resources. :))

Sean

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to