>> 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>.
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.
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
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---