On Mon, Jun 10, 2013 at 3:12 AM, [email protected]
<[email protected]> wrote:
> In any case it would be killer for me if :lcd used 'cdpath' for
> completions!

I sent a toy patch to do this about 3 years ago:

https://groups.google.com/forum/?fromgroups#!msg/vim_dev/uKsDbqUhr4w/TEXZEDMySdQJ

It shouldn't be too hard to update the patch to make it work again.

Here's a less than ideal attempt - the completion seems to work on
linux, there's no test for it, and I don't test it in windows, so it
probably won't work as well on windows.

With this patch applied setting 'cdpath' to, say, ~/src and doing ":cd
<tab>" should show you the directories found in ~/src/* as the
candidates for completion regardless of your $CWD.

There must be at least 5 bugs lurking in it as it is now :D

nazri

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Attachment: toy-cdpath-completion.patch
Description: Binary data

Raspunde prin e-mail lui