≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Feature request #2034

Feature request #2034: Add custom ignore feature that ignores wildignore and g:CommandTCustomIgnore var

Kind feature request
Product Command-T
When Created 2012-11-30T15:52:46Z, updated 2013-09-18T03:47:49Z
Status closed
Reporter Steve McKinney
Tags no tags

Description

wildignore influences the result of expand(), globpath() and glob(). There are many situations where I would like to ignore files and dirs within CommandT but not in glob() e.g.

In Rails, I like to ignore db/migrate/**,log/**,vendor/** within CommandT, but would like to still find those files when I issue a :e {file} command.

The proposal is to add a var g:CommandTCustomIgnore that will allow for this capability that uses wildignore syntax or some other well documented structure.

Comments

  1. myitcv 2013-09-15T21:08:36Z

    +1 for this. Not only Rails but also bower and node install many lib-esque files locally which I don't want to consider with CommandT but do in :sp, :e, glob, expand etc

  2. myitcv 2013-09-17T13:02:55Z

    I've just submitted a pull request for this:

    https://github.com/wincent/Command-T/pull/55

    For now you can try the behaviour via:

    git clone git@github.com:myitcv/command-t.git

  3. myitcv 2013-09-17T13:04:06Z

    Sorry, the last post got messed up a bit. Last line should read:

    git@github.com:myitcv/command-t.git

  4. myitcv 2013-09-17T13:05:07Z

    Ok, even that didn't work!

    Go here to grab the code for this PR:

    https://github.com/myitcv/command-t

    It's on the special_wild_ignore branch

  5. Greg Hurrell 2013-09-18T03:35:10Z

    Thanks, myitcv. I'll take a look at this presently.

    I think those first links worked; it's just the highlighter makes the bits that look like an email address into an email address.

    If you ever want to suppress the highlighting you can do so with <nowiki></nowiki> tags; ie:

    <nowiki>git clone git@github.com:myitcv/command-t.git</nowiki>

    produces:

    git clone git@github.com:myitcv/command-t.git

  6. Greg Hurrell 2013-09-18T03:47:45Z

    I'm about to merge this, so marking this one as closed.

  7. Greg Hurrell 2013-09-18T03:47:49Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets