Think looks good, but I'll let Nicolas apply it. Cheers, JP.
On Wed, Mar 25, 2009 at 1:16 AM, <[email protected]> wrote: > Tue Mar 24 21:36:19 CET 2009 [email protected] > * added ability to add/overwrite ex_commands in Vim-Mode plus loads of auto > complete helper functions > > ex-commands consists of: > - list of possible names of command (may overwrite older commands) > - function run action > - optional completion function > > > Wed Mar 25 00:35:22 CET 2009 [email protected] > * generalized some completion code and added customizable completion > function to Vim Minibuffer module > > Using these completion functions it is possible to configure Minibuffer > completion > to: > - use case insensitive or case sensitive matching > - use prefix or infix match > - define how to find completion values (buffer names, file names, > predefined...) > - enable/disable Tab-based run through possible matches > > An example replacing ex-cmd "b" (for switching buffers) with infix matching, > case insensitive, > Tab based match run auto completion in yi.hs > > ... > v_ex_cmds = exCmds [("b", > withEditor . switchToBufferWithNameE, > Just $ exHistInfixComplete' True matchingBufferNames)] > ... > > > > > --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list [email protected] http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---
