Skip to content

Feature - Add -g PATTERN like option to enable smart file listing #47

@Rican7

Description

@Rican7

Both Ack and The Silver Searcher have a -g PATTERN command that enables for fast file listing based on expression matching the file path itself, while still keeping in mind configuration settings (like ignoring certain file types from showing in results).

While this -g flag enables these applications to perform quite differently (matching against path/filename rather than actual contents), it allows them to be used in interesting contexts, such as the driver to CtrlP indexing. More info regarding the benefits of this use case are spelled out in @thoughtbot's blog post "Faster Grepping in Vim".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions