Bram Moolenaar wrote: >> Bug #2: >> >> Using the same file /tmp/foo/xxxxxx as above, file completion does >> not work if I do: >> >> :cd /tmp >> :find /tmp/fo<C-D> " does not work, no completion. >> >> For file completion to work in the current directory, I have to use: >> >> :cd /tmp >> :find ./fo<C-D> " this works. >> >> I have not fixed this second bug yet. I assume that's not the expected >> behavior, is it? > > It works OK for me. What is your 'path' set to? It should be the > default, and it works for me with the default. > > When I complete ":find /tmp/fo" it shortens to ":find foo/". A bit > strange, but it's correct.
Sorry, I did not describe well bug #2. Here is how I can reproduce it with Vim-7.3f (2562:5769dc787ec5): $ mkdir /tmp/foo $ vim -u NONE -N -c 'set wildmode=longest,list' :set path? path=.,/usr/include,, :cd " go to home dir :find /tmp/fo<Tab> " Good, completes to :find /tmp/foo/ :cd /tmp :find /tmp/fo<Tab> " Bad, does not complete anything I assume that's not the expected behavior. Regards -- Dominique -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
