On Tue, 06 Jan 2009 13:06:25 +0800, Sean wrote:

>
>>> The new version lacks a head " in the line 192.
>>> And IMHO you should also need to save/restore the pumheight and  
>>> completeopt.
>
> DONE. Thanks
>
>>> What about the improve for <space> behavior when in different condition
>
> <Space> mapping is for convenience. I am not sure if more
> "overloading" is good or not.  Also, to insert a normal space, one has
> to use <C-V><Space>.

I think it is needed for speeding up the inputting,
input method is not only for inputting Chinese charactor,
but also for quickly input speed, and the sum of time you
need to switch back and from between English and Chinese mode is a bit  
long.

>
> The i_<C-\> IME Insert Mode can do more now, for inputing Chinese
> comfortably.
>
>     => toggle punctuation
>     => toggle the use of <Space> to trigger popup
>     => toggle cursor color to identify the 'IME mode'
>     => toggle options 'pumheight', 'completeopt', 'lazyredraw'
>
>>> and the slow speed for searching just one charactor? :)
>
> Technically, nothing more can be done there, as the algorithm for
> searching is now doing no scanning, no loop, and no cache at all.

Maybe it can be done in this way? If search for, say, "w",
then ChineseIME will just search the list that
starting from "w" and consisting just one or two charactors long.
And if search for "ww", it searches the lists
that start with "ww" and just two or three charactors long.

>
> Perhaps we can limit the maximum item shown on the popup menu to be
> something like 30? But I expect complains if someone wants to
> <PageDown> everything available.  The best way, in my opinion, is to
> avoid one character search, because none (human & machine) knows what
> to translate except the whole list.
>
> Now, the new version is uploaded to improve the following two things:
>
> (1) i_<C-\>  IME Insert Mode has more default setting
> (2) optional comments can be added at the middle on each line of the
> data file
>
> The (2) above is to make the data file a little more controllable,
> based on my new algorithm.
>
> For example, in the data file we have:
> (The corresponding data file is also updated)
>
> -----------------------
> ma3             1   马
> ma3             2   馬
> ma3             3   码
> ma3             4   玛
> ma3             9   吗
> -----------------------
>
> By typing ma3<Space>, 5 Chinese characters will be shown in the order
> specified, and the default is the first one. The design idea is to
> make the whole data file "sortable" by vim sort function. I also made
> the middle parts optional, avoiding restrictions as much as possible.
>
> Feedback is always welcome.
>
>
> Sean
>
>
> >
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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

Reply via email to