Roberto Miura Honji wrote:
> I change something on vim code and some friends tell me that I would be send > this to development group. How can I send this? > The new function is: > - Auto-complete using a tab key (like ctrl-p). > - When the word have a '/' (linux separator of directories) auto-complete > like a file (ctrl-x ctrl-f). > - When the list search is returned, the tab can be used to scroll through > the list. > - when the previous char is space, tab, the cursor position is a col = 0 or > ctrl-x ctrl-i is typed, the char tab is insert normally) > > I think that it's so cool to programmer that use the linux, actually > terminal linux. > > The patch is: I have some trouble understanding how this works. If it works like CTRL-P, then why not use CTRL-P? At least that avoids the problem that someone wants to insert a Tab and gets completion instead. Your description sounds like it's a bit unpredictable. The patch is hard-coding things that should be flexible. For example, in MS-Windows the path separator is a backslash. And one should use 'isfname' to check if a character can be part of a file name. The code is also lacking support for multi-byte characters. Still some work to do! But before you spend time on that, we need to find out if we really want it to work this way. -- Spam seems to be something useful to novices. Later you realize that it's a bunch of indigestable junk that only clogs your system. Applies to both the food and the e-mail! /// 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://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
