On Sun, 07 Jun 2009 10:42:05 +0800, Tony Mechelynck <[email protected]> wrote:
> > On 06/06/09 17:48, Wu, Yue wrote: >> >> On Fri, 05 Jun 2009 09:19:19 +0800, Wu, Yue<[email protected]> wrote: >> >>> Can I use an input("Prompt: ", "default string", "completetype", >>> "inputtype"), >>> so I can special the type of it when calling, so after that when into >>> this type >>> of input() again,<up>/<down> can navigate among the history of just >>> this type >>> of input()? >>> >>> In sum, different type of input() has its own history. >>> >> >> Any good advice? >> > > Well, maybe you can, but you'll have to engineer it all yourself, maybe > by saving successive inputs in some List variable, and intercepting > arrow keys using getchar(), to navigate that List by increasing / > decreasing an index into the list (and don't forget to know in advance > what you must do when hitting <Up> at the oldest item, or <Down> at the > latest). > Really good suggestion! Thank you! -- Hi, Wu, Yue --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
