On 4/14/2013 10:56 PM, Nazri Ramliy wrote:
  > Hi Suresh!
> On Mon, Apr 15, 2013 at 10:22 AM, Suresh Govindachar <sgovindac...@yahoo.com> wrote:
  >
  >> Hitting <tab> after entering a partial argument to :find will
  >> offer suggestions for completing the command line by searching
  >> inside non-trivial components of the 'path' -- but it does not
  >> search in "." and in ",," components of the path.
  >>
  >> Here's what I see:   On vim's command line, the following finds
  >> the possible completions
  >>
  >>       :find   ./foo/blah/blee[hit the <tab> key]
  >>
  >> but the following (without the leading ./) will not:
  >>
  >>       :find   foo/blah/blee[hit the <tab> key]
  >
  > I'm trying to reproduce the problem but couldn't:
  > My setup:

    As indicated below, your setup is different from mine:

  >   d:\foo>dir /s
  >   (i leave out the . and .. entries to slim down the lines below)
  >
  >    Directory of D:\foo
  >
  >   15/04/2013  01:41 PM                 9 foo.txt
  >   15/04/2013  01:41 PM                10 food.txt
  >   15/04/2013  01:32 PM    <DIR>          opt
  >
  >    Directory of D:\foo\opt
  >
  >   15/04/2013  01:44 PM    <DIR>          vim
  >
  >    Directory of D:\foo\opt\vim
  >
  >   15/04/2013  01:32 PM                11 700_vimrc
  >   15/04/2013  01:33 PM                10 fish.txt
  >   15/04/2013  01:33 PM                12 finger.txt
  >
  >   d:\foo>gvim -u NONE -U NONE

      Start gvim from d:

  >   :set cp wildchar=<Tab> wildmode=list:longest,full
  >   :set path=.,,d:/foo/opt/vim,d:/foo/opt/vim/**

      My c:\opt is not below the pwd.  Anyway, for the test,
      leave path at the default value of ".,,".

  >   :pwd
  >   D:\foo

      When starting from d:, :pwd will show d:\

  > Now doing

    In gvim, open file d:\foo\opt\vim\fish.txt

    Then try the following

         :find foo[hit <tab>]

    and

         :find *foo*[hit <tab>]

    Thanks,

    --Suresh



--
--
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

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui