Linsong wrote:

>     I just read the manual of completeopt, I think if there is 'menu' in 
> the completeopt, then <Enter> should insert the selected menu item 
> instead of insert a new line; else, there is no 'menu' in the 
> completeopt, <Enter> starts a new line.
>     I think this is more reasonalbe.

For myself I'm used to the way how completion works in Vim 6.x.  I also
like using the popup menu, so that I can see if the match I want was
actually found without cycling through them.  But I don't want the
behavior of the keys to change.  I tried changing the meaning of Enter
to accept the selected entry of the menu, but I made a lot of mistakes
then.  I assume it's the same for most Vim users.

-- 
Some of the well know MS-Windows errors:
        EMEMORY         Memory error caused by..., eh...
        ELICENSE        Your license has expired, give us more money!
        EMOUSE          Mouse moved, reinstall Windows
        EILLEGAL        Illegal error, you are not allowed to see this
        EVIRUS          Undetectable virus found

 /// 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://www.ICCF.nl         ///

Reply via email to