Suresh Govindachar wrote:
 
> > Actually I was trying to avoid writing all the wrapper code that this
> > code omits. :)  z= does more than this snippet, it figures out what
> > word it is, displays the list, requests user input, processes user
> > input, and changes the word.
> > 
> > The only thing I couldn't make it do is work from a function call, 
> 
>   I tried 
> 
>      :normal i<c-v><c-o>z=
>   
>   and it almost worked.  So the question for Bram is whether (from
>   in input mode) i_CTRL-O z= is supposed to work!

I suppose that <c-v> isn't there, otherwise you are inserting a CTRL-O
character in your text.  Using CTRL-O z= in Insert mode works fine.
What was the problem?

-- 
The 50-50-90 rule: Anytime you have a 50-50 chance of getting
something right, there's a 90% probability you'll get it wrong.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to