I will try to clear my words. When tab is pressed in column 0 or in a new word, a character tab is inserted. And when a Ctrl-x Ctrl-I is taped, a character tab is inserted too (I changed this too). I don't like to Ctrl-P because it's so slowed, a tab work better. I using a linux terminal and the tab complete is so cool.
About the flexible, I think about this when I was working... But I didnt know how do this. Anyway I can work more to put this. 2008/11/8 Bram Moolenaar <[EMAIL PROTECTED]> > > 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 > /// > -- ---------------------------------------------- Roberto Miura Honji LAS - Laboratório de Administração e Segurança de Sistemas Engenharia de Computação - 2006 Instituto de Computação - UNICAMP email: [EMAIL PROTECTED] (principal) email: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] ------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
